Skip to content

Small CLI utility to manage Jexia's data

License

Notifications You must be signed in to change notification settings

jexia/jexia-data-cli-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jexia data CLI

Jexia-data-cli allows export/import data from/to the dataset.

Installation

  1. Clone this repo;
  2. Install requirements (pip install -r requirements.txt).

How to use

Before using the utility you need:

  1. Create dataset;
  2. Create additional user in UMS;
  3. Create a policy for this user to read/write the dataset.

As a result you need to have data:

  1. Project's UUID (in the example 4d0add8d-c969-468b-befa-cb2b3e170138);
  2. Name of dataset (in the example test);
  3. Email and password for additional user.

After that you can export data by a command like: python jexia-data-cli.py -p 4d0add8d-c969-468b-befa-cb2b3e170138 -d test -t json -f ./test.json -e

or import data by a command like:

python jexia-data-cli.py -p 4d0add8d-c969-468b-befa-cb2b3e170138 -d test -t json -f ./test.json -i

For more information, see help: python jexia-data-cli.py -h

About

Small CLI utility to manage Jexia's data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages