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
File details
Details for the file dhis2-pocket-knife-0.37.1.tar.gz
.
File metadata
- Download URL: dhis2-pocket-knife-0.37.1.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71dfc5d43de814a697b93f7b0c578a1635901f9dc969c46e45be0b823aaa391d |
|
MD5 | 2064ef3c18a5a11183e39562ca5319ed |
|
BLAKE2b-256 | a4bf2278b8231db8fd621b68cd73cd01ed66ddf53f220b10915bcf7d15ff281c |
File details
Details for the file dhis2_pocket_knife-0.37.1-py2.py3-none-any.whl
.
File metadata
- Download URL: dhis2_pocket_knife-0.37.1-py2.py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf912584a8bbe3ad6e50c92830d50d0c5272e77df20c6f13001fe675e0b55ff0 |
|
MD5 | 1dee6fdcd8f7aacb33e50506b200814b |
|
BLAKE2b-256 | ae2ed7ba0ced247a3e117fbbd798570d82adfdc6ea4700dd9f36c4ec1671a7b9 |