Installation
This framework is published at the PyPI, install it with pip:
This package makes it possible to use module methods in synchronous frameworks:
pip install python-privatbank-client[http]
This package makes it possible to use module methods in asynchronous frameworks:
pip install python-privatbank-client[aio]
This package makes it possible to use ready-made views with a synchronous script based on the Django Rest framework:
pip install python-privatbank-client[drf]
To get started, add the following packages to INSTALLED_APPS:
INSTALLED_APPS = [ ... 'rest_framework', 'drf_privat', ]
Include drf_mono urls to your urls.py:
urlpatterns = [ ... path('privat/', include('drf_privat.urls', namespace='drf_privat')), ]
This package makes it possible to use ready-made routers with an asynchronous script based on the FastAPI framework:
pip install python-privatbank-client[fastapi]
To install all packages at once:
pip install python-privatbank-client[all]