Metadata-Version: 2.1
Name: pesapal_client
Version: 0.1.0
Summary: A Typed Python client for the Pesapal API with sync/async support, order submission, IPN management, and optional CLI tools.
Home-page: https://github.com/kiraboibrahim/pesapal-client
Author: Ibrahim Kirabo
Author-email: kiraboibra268@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: httpx (>=0.28.1,<0.29.0)
Requires-Dist: pycountry (>=24.6.1,<25.0.0)
Requires-Dist: pydantic-extra-types (>=2.10.5,<3.0.0)
Requires-Dist: pydantic[email] (>=2.11.7,<3.0.0)
Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
Project-URL: Documentation, https://kiraboibrahim.github.io/pesapal-client/
Project-URL: Repository, https://github.com/kiraboibrahim/pesapal-client
Description-Content-Type: text/markdown

# pesapal-client

[![Release](https://img.shields.io/github/v/release/kiraboibrahim/pesapal-client)](https://img.shields.io/github/v/release/kiraboibrahim/pesapal-client)
[![Build status](https://img.shields.io/github/actions/workflow/status/kiraboibrahim/pesapal-client/main.yml?branch=main)](https://github.com/kiraboibrahim/pesapal-client/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/kiraboibrahim/pesapal-client/branch/main/graph/badge.svg)](https://codecov.io/gh/kiraboibrahim/pesapal-client)
[![Commit activity](https://img.shields.io/github/commit-activity/m/kiraboibrahim/pesapal-client)](https://img.shields.io/github/commit-activity/m/kiraboibrahim/pesapal-client)
[![License](https://img.shields.io/github/license/kiraboibrahim/pesapal-client)](https://img.shields.io/github/license/kiraboibrahim/pesapal-client)

A Typed Python client for the Pesapal API with sync/async support, order submission, IPN management, and optional CLI tools.

- **Github repository**: <https://github.com/kiraboibrahim/pesapal-client/>
- **Documentation** <https://kiraboibrahim.github.io/pesapal-client/>

## Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

```bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:kiraboibrahim/pesapal-client.git
git push -u origin main
```

Finally, install the environment and the pre-commit hooks with

```bash
make install
```

You are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPI or Artifactory, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/codecov/).

## Releasing a new version

- Create an API Token on [PyPI](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting [this page](https://github.com/kiraboibrahim/pesapal-client/settings/secrets/actions/new).
- Create a [new release](https://github.com/kiraboibrahim/pesapal-client/releases/new) on Github.
- Create a new tag in the form `*.*.*`.
- For more details, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/cicd/#how-to-trigger-a-release).

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).

