Thanks for your interest in contributing! Here's how to get started.
git clone https://github.com/0xAfterSnow/payaza-python
cd payaza-python
pip install -e ".[dev]"pytest --cov=payaza- Fork the repo and create a branch:
git checkout -b feat/my-feature - Make your changes and add tests
- Ensure all tests pass:
pytest - Open a pull request with a clear description of what you changed and why
- Create
payaza/resources/my_resource.pyextendingResource - Register it in
payaza/resources/__init__.py - Add it to the
Payazaclient inpayaza/client.py - Write tests in
tests/test_my_resource.py - Add usage examples in
examples/
Open an issue at https://github.com/0xAfterSnow/payaza-python/issues with:
- Python version
- SDK version
- Minimal code to reproduce
- Expected vs actual behaviour
- Follow PEP 8
- Use type hints everywhere
- Write docstrings for all public methods