Skip to main content

About

This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality

Features

  • Associates features with subscription plans and define limits

  • Manage a user wallet for managing subscription payments, refunds and credits

  • Records all wallet transactions including subscription payments, cancellation and refunds

  • Capture details for a subscription plan

  • Define cost and frequency of billing for a plan

  • Associates user’s to specific subscriptions

  • Define feature that can be included in subscription plans

  • Define pricing tiers for features with tiered pricing

  • Tracks usage of features by subscribed users

Installation

  1. Install package

pip install django-enhanced-subscriptions
  1. Add “django-enhanced-subscriptions” to your INSTALLED_APPS setting:

    INSTALLED_APPS = [
        ...
        'subcription',
    ]
  2. Run migrations:

    python manage.py migrate
  3. Override the below config in settings.py

    SUBSCRIPTION = {
      "CACHE_TIMEOUT_SECONDS":  60,
      "BASE_RETRY_DELAY_SECONDS": 300,
      "FIXED_INTERVAL_DELAY": 3600,
      "MAX_RETRY_ATTEMPTS": 3,
      "CACHE_TIMEOUT_MINUTES": 5,
      "GRACE_PERIOD_DAYS": 1,
      "ENABLE_ADMIN": True,
    }

Documentation

https://django-enhanced-subscriptions.readthedocs.io/en/latest/index.html

Metadata

Release files for django-enhanced-subscriptions 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-enhanced-subscriptions 1.0.2
File Size Uploaded
django_enhanced_subscriptions-1.0.2.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-enhanced-subscriptions 1.0.2
File Interpreter ABI Platform
django_enhanced_subscriptions-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.1 kB

Release files / django_enhanced_subscriptions-1.0.2.tar.gz

Download URL django_enhanced_subscriptions-1.0.2.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ac1d7fdf77a2b6d78703983db32f86614cd97958295144961f351c61ca9e6a00
BLAKE2b-256 checksum
How to use checksums
dcb9e0a25afc1284ce13af1b97197d72a8bd8400c69fd7f635890744387f2097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / django_enhanced_subscriptions-1.0.2-py3-none-any.whl

Download URL django_enhanced_subscriptions-1.0.2-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
897039233f1323b02a0a95742b3b03250d3351368d3212b6390e769ef4eb851f
BLAKE2b-256 checksum
How to use checksums
5d2e717384f5ee2abb4f90b46d57a2bc6251fa99f5db89171bf16a9d97eab622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page