Installation¶
From PyPI¶
pip install django-subscription-midtrans
From Source (Development)¶
git clone https://github.com/rissets/django-subscription-midtrans.git
cd django-subscription-midtrans
pip install -e ".[dev]"
Requirements¶
Python 3.10+
Django 4.2+
Redis server (for Celery)
Python Dependencies¶
The package automatically installs these dependencies:
Package |
Version |
Purpose |
|---|---|---|
|
>=4.2,<6.0 |
Web framework |
|
>=3.14 |
REST API |
|
>=23.0 |
API filtering |
|
>=0.40.0 |
Admin UI |
|
>=5.3 |
Async tasks |
|
>=2.5 |
Periodic scheduling |
|
>=5.0 |
Celery broker |
|
>=2.31 |
HTTP client |
|
>=0.25 |
Async HTTP client |
|
>=3.8 |
Environment config |
|
>=0.1.0 |
UUID generation |
Verify Installation¶
>>> import subscriptions
>>> subscriptions.default_app_config
'subscriptions.apps.SubscriptionsConfig'