=========
AB-Testing framework with a difference.
An easily pluggable utility for doing control group testing of components
in django web applications.
The application focuses importance of testing the product on actual users
before going for the final release.
Usage
=====
- Install the package
`pip install django-ab`
- Add feature flag to distinguish a particular feature. Note that the flag
should start with `F`. The feature flag control the behaviour to turn on/off
the feature for the users.
For example, if you have a feature flag `F_SHOW_ADS` set to `True` it would
turn on the ads for the set of users and `False` would turn off that feature.
- Using it as a decorator?
`@quick(<feature_flag>, <callable_name>, only_authenticated=[True|False])`
Here `callable name` is the name of the experiment that you want to conduct on
the set of users.
- Using it as a django templatetag?
`{% ifexperiment feature_flag callable_name only_authenticated=[True|False] %}
<!-- Logic goes here -->
{% elifexperiment ... %}
...
{% endif %}
`
Future Scope
============
- Add support for multiple experimets on the same view in the view layer itself.
- Build analytics tool to give the developers a better idea on which strategies
turns out to be better
- PEP8 fixes and rolling out django-ab.readthedocs.org
Metadata
Release files for django-ab 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-ab-0.1.1.tar.gz | 17.0 kB | Without provenance | Details for django-ab-0.1.1.tar.gz |
Release files / django-ab-0.1.1.tar.gz
| Download URL | django-ab-0.1.1.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0362e07dac481e4d8535e93f808b7867a63bf161db976c44373c8fe1ca96477
|
|
BLAKE2b-256 checksum How to use checksums |
ac64cb77b52fe859fe716a0184e16a99fdb7e766a62eb134916c34b7b186fd82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-ab 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.