Command-line tools for interacting with DHIS2 REST API
Project description
Command-line tools for DHIS2.
Mass sharing via filtering (docs)
Download indicator definitions to CSV (docs)
Download user information to CSV (docs)
Set attribute values with a CSV (docs)
Additional data integrity (docs)
Post a CSS style sheet for the login page (docs)
Import fake data for event programs and data sets (docs)
Installation
Note: Python 3.6+ is required.
The straightforward way is usually:
pip3 install dhis2-pocket-knife --user
If you are on Windows or run into issues, check the Installation instructions.
Usage
Scripts are invoked by running: dhis2-pk <script-name>, for example:
dhis2-pk share --help
Check out the docs for more details regarding each script.
Changelog
see Changelog.rst.
Under the hood it uses the DHIS2 API wrapper dhis2.py.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dhis2-pocket-knife-0.37.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7de2027553425d46a7008e605d2fc9c9bcf90ab4ad427cb187630ba124c25b0 |
|
MD5 | 605e2c9b0dad682ed990ae10c8ce2a73 |
|
BLAKE2b-256 | 41c86f21016799343b98bf3f386f1b0636a620828902cd86af369a0fa3d32f8f |
Hashes for dhis2_pocket_knife-0.37.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cfed57a6da3fba467e1a23960f4955160b84921e6cacfff7fed5c1cb36d8578 |
|
MD5 | b63c1c47f5232e3980d32ff1dfdbe189 |
|
BLAKE2b-256 | ed5db8a2fbf29844f2f404139cbf8418178ee293244b12543cce058505b7d150 |