bitflags

Bit flags implementation using a C Union. This library removes the need to use ctypes and helps you quickly access what bits are toggled.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install bitflags

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
1.2.0 2024-12-22    
1.1.3 2021-02-02
1.1.2 2021-02-02
1.1.1 2021-02-02
1.1.0 2020-10-28
1.0.6 2018-06-12
1.0.5 2018-06-12
1.0.4 2018-06-11
1.0.3 2018-06-11
1.0.2 2018-06-11
1.0.1 2018-06-11
1.0.0 2018-06-08
0.1.0 2018-06-08

Issues with this package?

Page last updated 2026-09-03 15:04:20 UTC