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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71dfc5d43de814a697b93f7b0c578a1635901f9dc969c46e45be0b823aaa391d |
|
MD5 | 2064ef3c18a5a11183e39562ca5319ed |
|
BLAKE2b-256 | a4bf2278b8231db8fd621b68cd73cd01ed66ddf53f220b10915bcf7d15ff281c |
Hashes for dhis2_pocket_knife-0.37.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf912584a8bbe3ad6e50c92830d50d0c5272e77df20c6f13001fe675e0b55ff0 |
|
MD5 | 1dee6fdcd8f7aacb33e50506b200814b |
|
BLAKE2b-256 | ae2ed7ba0ced247a3e117fbbd798570d82adfdc6ea4700dd9f36c4ec1671a7b9 |