Open source Python libraries for the payment gateways used in Uzbekistan.
Documentation · PyPI · Telegram
One library, five gateways, the same interface for each — plus webhook handlers for Django and FastAPI that you subclass instead of writing.
pip install "paytechuz[django]"from paytechuz.gateways.payme import PaymeGateway
payme = PaymeGateway(payme_id="...", payme_key="...", is_test_mode=True)
link = payme.create_payment(id=order.id, amount=150_000, return_url="https://example.com/done")Webhooks are a subclass and a URL:
from paytechuz.integrations.django.views import BasePaymeWebhookView
class PaymeWebhookView(BasePaymeWebhookView):
def successfully_payment(self, params, transaction):
Order.objects.filter(id=transaction.account_id).update(status="paid")Signature checks, transaction state and the provider's response format are handled for you.
| Gateways | ||
|---|---|---|
| paytechuz | Payme · Click · Uzum · Paynet · Octo | Django and FastAPI |
| payme-pkg | Payme | Merchant and Subscribe API |
| click-pkg | Click | |
| paynet-pkg | Paynet |
Start with paytechuz — it covers every gateway. The single-provider packages predate it and remain for projects already using them.
| Shop | Django store, payment per order |
| Taxi | Django wallet top-up |
| fastapi_paytechuz | FastAPI integration |
| Course_Bot | Telegram bot with subscriptions |
Issues and pull requests are welcome. Each repository has its own
CONTRIBUTING.md with the setup and what CI checks.
Found a security issue? Report it privately — never in a public issue.
MIT licensed · t.me/paytechuz