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 details)

Uploaded Python 3

File details

Details for the file pennant-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pennant-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for pennant-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 827145324ae9a231272ac724504ba7e6a5b618611f4f813b19fb2f3479d964eb
MD5 445d2acd98973f3745f5db75f63100c9
BLAKE2b-256 84f50dda855f27ca304e84d274a40bebe53c244e7f1b98b9bba63fddc227920e

See more details on using hashes here.

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