Jexia-data-cli allows export/import data from/to the dataset.
- Clone this repo;
- Install requirements (
pip install -r requirements.txt
).
Before using the utility you need:
- Create dataset;
- Create additional user in UMS;
- Create a policy for this user to read/write the dataset.
As a result you need to have data:
- Project's UUID (in the example
4d0add8d-c969-468b-befa-cb2b3e170138
); - Name of dataset (in the example
test
); - 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