# Installation ## From PyPI ```bash pip install django-subscription-midtrans ``` ## From Source (Development) ```bash 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 | |---------|---------|---------| | `Django` | >=4.2,<6.0 | Web framework | | `djangorestframework` | >=3.14 | REST API | | `django-filter` | >=23.0 | API filtering | | `django-unfold` | >=0.40.0 | Admin UI | | `celery` | >=5.3 | Async tasks | | `django-celery-beat` | >=2.5 | Periodic scheduling | | `redis` | >=5.0 | Celery broker | | `requests` | >=2.31 | HTTP client | | `httpx` | >=0.25 | Async HTTP client | | `python-decouple` | >=3.8 | Environment config | | `uuid7` | >=0.1.0 | UUID generation | ## Verify Installation ```python >>> import subscriptions >>> subscriptions.default_app_config 'subscriptions.apps.SubscriptionsConfig' ```