django-flipt
Flipt Integration for Django and Django REST Framework
Installation
pip install django-flipt
Usage
- Add
fliptintoINSTALLED_APPS
INSTALLED_APPS = [
...
'flipt',
]
- Define Flipt gRPC endpoint in
settings.py
FLIPT_GRPC_HOST = 'flipt:9000'
- Ready to go!
Overriding Flags
You can override any flag by defining your flag key and overriding value
FLIPT_FLAG_OVERRIDDEN = {
'some-flag-key': True
}
Available Classes/Functions
flag_enabledflag_disabledFlaggedRouter@flag_check@override_flags{% featureflag %} ... {% endfeatureflag %}FeatureFlagListViewflagged_pathflagged_re_path
Development
Requirements
- Docker
Run Project
$ make
Linting/Test Project
$ make lint
$ make test
Credits
- Flipt
- Inspired by django-flags
Metadata
Release files for django-flipt 0.2.4
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-flipt-0.2.4.tar.gz | 5.7 kB | Without provenance | Details for django-flipt-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_flipt-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for django_flipt-0.2.4-py3-none-any.whl |
Total release size: 13.0 kB
Release files / django-flipt-0.2.4.tar.gz
| Download URL | django-flipt-0.2.4.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2a421c57014da3b9ccb6a6f6fe47c239d2e67e786c7ac5fee10c3e6d0570c0c
|
|
BLAKE2b-256 checksum How to use checksums |
711fe750414bcb3dfde0464eec6679fd0ded935265a57c4d10c258e957b11b25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1041-azure
|
Release files / django_flipt-0.2.4-py3-none-any.whl
| Download URL | django_flipt-0.2.4-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7f7479576c5756dbeba9c0196b7a4e948db405335ca772e44985a7befbe4053
|
|
BLAKE2b-256 checksum How to use checksums |
9cbaabebb265c86ed2400808bba944a8a3cc60b3f0f29147e3b3decddc000467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.6.13 Linux/5.4.0-1041-azure
|
Security for django-flipt 0.2.4
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.