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
Release history Release notifications | RSS feed
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)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e5fed3599f578ad7a6a78f4339dcc9a62b853f795a68006d8355936da31003 |
|
MD5 | dc4d1b5bab0772f5c232ca2b09d9a81e |
|
BLAKE2b-256 | fe6dd25759397a1b9eb043887c00dabf71eafab0cd21279619b260a573ff1991 |