Skip to main content

Simple library to help with bit manipulations.

Project description

Description

Bittle is a simple module to help me to things with bits.

Installation

New versions will be updated to PyPI pretty regularly so it should be as easy as:

pip install bittle

Examples

from bittle import FlagWord

status = FlagWord(["pending", "approved", "actioned"])

status.set(status.approved)
status.has(status.approved)  # True
status.has(status.actioned)  # False

Project details


Download files

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

Source Distribution

bittle-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file bittle-0.1.1.tar.gz.

File metadata

  • Download URL: bittle-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bittle-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50e5fed3599f578ad7a6a78f4339dcc9a62b853f795a68006d8355936da31003
MD5 dc4d1b5bab0772f5c232ca2b09d9a81e
BLAKE2b-256 fe6dd25759397a1b9eb043887c00dabf71eafab0cd21279619b260a573ff1991

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