Installation
============

Requirements
------------

* Python ≥ 3.9
* pip or conda

From PyPI
---------

The easiest way to install pydhis2 is from PyPI:

.. code-block:: bash

   pip install pydhis2

From Source
-----------

To install from source (for development or latest features):

.. code-block:: bash

   git clone https://github.com/HzaCode/pyDHIS2.git
   cd pyDHIS2
   pip install -e .

Development Installation
------------------------

For development with testing and documentation tools:

.. code-block:: bash

   git clone https://github.com/HzaCode/pyDHIS2.git
   cd pyDHIS2
   pip install -e ".[dev]"

Verify Installation
-------------------

Check that pydhis2 is installed correctly:

.. code-block:: bash

   pydhis2 version

Run the quick demo to test connectivity:

.. code-block:: bash

   pydhis2 demo quick

