Skip to main content

A high-spirited feature-flagging library for Python.

Project description

A feature flagging library that uses decorators and context management to “feature flag” certain functions or blocks of code. I feel like it’s better than a bunch of conditionals, but I’m often wrong.

Notes

Contrary to how some folks might do it, this library takes and “opt-out” approach where setting the flag to False prevents the given function or code block from running. As long as the argument provided to the decorator or content manager evaluates to False, anything’s game.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pennant-0.1.5-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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