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 = Status()
status.set(status.approved)
status.has(Status.approved) # True
status.has("actioned") # False
Release files for bittle 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bittle-0.2.1.tar.gz | 2.7 kB | Details |
Release files / bittle-0.2.1.tar.gz
| Download URL | bittle-0.2.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef0bf04083ba17fed90457b08b880d51afba88ffa49c9eb25c23ff964898c612
|
|
BLAKE2b-256 checksum How to use checksums |
16f5215b3bf953f93aac603d19e5045dc647678a8719a6c04a7d8d32f5f5ab0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |