Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_enhanced_subscriptions-1.0.2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django_enhanced_subscriptions-1.0.2.tar.gz.

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ac1d7fdf77a2b6d78703983db32f86614cd97958295144961f351c61ca9e6a00
MD5 99b20de9bcd16f039a2ddd3412cfd7c8
BLAKE2b-256 dcb9e0a25afc1284ce13af1b97197d72a8bd8400c69fd7f635890744387f2097

See more details on using hashes here.

File details

Details for the file django_enhanced_subscriptions-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 897039233f1323b02a0a95742b3b03250d3351368d3212b6390e769ef4eb851f
MD5 72373bae8018b51c152d7fa2d5bea822
BLAKE2b-256 5d2e717384f5ee2abb4f90b46d57a2bc6251fa99f5db89171bf16a9d97eab622

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page