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)

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.35.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dhis2_pocket_knife-0.35.0-py2.py3-none-any.whl (22.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dhis2-pocket-knife-0.35.0.tar.gz.

File metadata

  • Download URL: dhis2-pocket-knife-0.35.0.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for dhis2-pocket-knife-0.35.0.tar.gz
Algorithm Hash digest
SHA256 d4a19bed4f4c815b64ac76632e50416cb696fd1219bc3625756a8084459aa7e1
MD5 47ee68fb4bea9d16ecf2ca3f880aa7a6
BLAKE2b-256 96bde9a251e2292e986fcaa569cbfab294a7a419632148209cdc102508373c32

See more details on using hashes here.

File details

Details for the file dhis2_pocket_knife-0.35.0-py2.py3-none-any.whl.

File metadata

  • Download URL: dhis2_pocket_knife-0.35.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for dhis2_pocket_knife-0.35.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 835e33a2908c04c7a0b5d374991c0b7c248e39fbc3faa35f1f2f1b2c6e4cc850
MD5 7aadd2416ac7f596bff7cff4d72b4955
BLAKE2b-256 5cd9c65ad7d512d04f7e67251ce6082c6d12bbc53899c5f4c26f32ae8e8e7e91

See more details on using hashes here.

Supported by

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