Skip to content

davidhuser/dhis2-pk

Repository files navigation

Pocket Knife dhis2-pk

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)

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.