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)

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

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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page