pyfoggl
python developer client for foggl
Foggl Python Client
The Foggl Python Client is a lightweight package that interacts with the Foggl feature toggling tool's API, allowing users to retrieve feature states and values dynamically.
Installation
You can install the Foggl Python Client using pip:
pip install pyfoggl
Usage
Fetching Feature State and Value
The Foggl Python Client provides convenience functions to fetch feature states and values directly without explicit object instantiation.
-
Fetching Feature State:
from pyfoggl import foggl_state auth_token = 'your-auth-token' foggl_name = 'your-feature-name' your_feature_state = foggl_state(auth_token, foggl_name) if your_feature_state: do_something() else: do_something_else()
-
Fetching Feature Value:
from pyfoggl import foggl_value auth_token = 'your-auth-token' foggl_name = 'your-feature-name' your_feature_value = foggl_value(auth_token, foggl_name) do_something(foggl_value)
Metadata
Release files for pyfoggl 0.1.2
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 |
|---|---|---|---|---|
| pyfoggl-0.1.2.tar.gz | 2.3 kB | Without provenance | Details for pyfoggl-0.1.2.tar.gz |
Release files / pyfoggl-0.1.2.tar.gz
| Download URL | pyfoggl-0.1.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1126ea51321d9c5bbc028d7f025720bfaf205f73676320da20f30f095c94fd87
|
|
BLAKE2b-256 checksum How to use checksums |
b560c654e4e970b901a2317761c4bc29edb3ff668c656a276e7fc786691d29bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for pyfoggl 0.1.2
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.