Skip to main content

Command-line tools for interacting with DHIS2 REST API

Project description

pip version Downloads Travis CI build status Windows EXE build status PyPI - Python Version

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)


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.


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.


see Changelog.rst.

Under the hood it uses the DHIS2 API wrapper

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

dhis2-pocket-knife-0.37.1.tar.gz (28.5 kB view hashes)

Uploaded source

Built Distribution

dhis2_pocket_knife-0.37.1-py2.py3-none-any.whl (27.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page