Transaction-based quotas for Django
Project description
dj-happy-quotas
Transaction-based quotas for Django.
Introduction
Believe it or not, but some users really don't enjoy signing up for monthly or annual subscription plans. And for some applications such subscriptions also don't really make much sense, like when they are best used ocassionally by means of single-fire transactions.
This package provides handling of transaction-like quotas that a user can fill up on demand.
Handling of pricing plans and payments are not subject of this package.
Use
Install:
poetry add dj-happy-quotas
(A mere pip install dj-happy-quotas
might work as well.)
Add to INSTALLED_APPS
in settings.py
:
INSTALLED_APPS = [
...
'dj-happy-quotas',
...
]
Run database migrations:
python manage.py migrate dj-happy-quotas
Publishing a new release
# Update version number in pyproject.toml and happy_quotas/__init__.py
# Check that everything looks ok
poetry config --list
poetry check
# Publish
poetry build
poetry publish
Related projects
- django-billing for a very similar approach to this one here but being more generic in targetting recurring billing on top.
- django-flexible-subscriptions for handling of subscriptions where authentication is plugged via Django's standard groups.
- django-plans for subscription pricing plans including quotas and account expiration.
- django-subscriptions A django package for managing the status and terms of a subscription.
- django-paddle Django models and helpers for integrating paddle subscriptions.
- dj-paddle for subscriptions-related paddle integration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj-happy-quotas-0.1.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for dj_happy_quotas-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c56b70d59f7f0dd4ece86d32dd09302b4502583338258de48ad3ddf46f6f485b |
|
MD5 | 353a4fe21ae6bd3cb5ed991bc252df5e |
|
BLAKE2b-256 | 8ca6c8d6121444cbbef030f0734f8d8a09d0a2f009567054c1a9d48ccf71959a |