fixedint
simple fixed-width integers
Decision gist · record as of 2026-08-14
Yes, if you need fixed-width integer semantics for hardware emulation, low-level algorithms, or bitfield manipulation and can tolerate dormant maintenance. The package has no dependencies, installs easily, and carries no security vulnerabilities. However, do not use it if you require active bug fixes or Python version support beyond what was tested at the last release in 2022.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2022-09-16 and last commit 2024-04-08, so expect no active bug fixes or feature updates.
License · maintenance · safety
PSF (permissive) — Licensed under PSF (Python Software Foundation License), a permissive license with no significant restrictions on use or distribution.
last release 2022-09-16 (1428 days) · last repo commit 2024-04-08 · 29 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,369,384 downloads/mo, #2,317 on PyPI
Alternatives
Verify before relying
from fixedint import UInt32, MutableUInt32
x = UInt32(0)
print(hex(~x)) # prints 0xffffffff
y = MutableUInt32(0)
y[:] = -1
print(hex(y)) # prints 0xffffffff- Whether the package works reliably with Python 3.10+ given dormant maintenance status.
- Performance characteristics for large-scale bitfield operations compared to alternatives.
What it is and what it does
fixedint provides Python classes that represent integers with a fixed number of bits, mimicking the behavior of machine integers in C or assembly. It includes predefined classes for common widths (8, 16, 32, 64 bits) in both signed and unsigned variants, plus mutable and immutable versions of each. Arithmetic operations on these integers automatically wrap and truncate to preserve the fixed width, so operations like bitwise NOT on a 32-bit unsigned integer produce the expected 0xffffffff rather than Python's arbitrary-precision result.
The package supports slicing to extract and manipulate individual bits or bit ranges, making it useful for register emulation and bitfield manipulation. Mutable instances can be modified in-place while retaining their type, and both variants provide byte conversion methods compatible with Python 3.4+. It is designed as a drop-in replacement for int in contexts where fixed-width semantics are required.
Use it for
- Emulate CPU registers or memory-mapped hardware with fixed bit widths and wraparound arithmetic.
- Extract and manipulate individual bits or bit ranges from flag registers without manual bitwise operations.
- Implement low-level algorithms that depend on C-style integer overflow and truncation behavior.
- Convert between fixed-width binary representations and Python integers for protocol or file format handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need fixed-width integer semantics for hardware emulation, low-level algorithms, or bitfield manipulation and can tolerate dormant maintenance.
The package has no dependencies, installs easily, and carries no security vulnerabilities. However, do not use it if you require active bug fixes or Python version support beyond what was tested at the last release in 2022.
Install
fixedint on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2022-09-16 and last commit 2024-04-08, so expect no active bug fixes or feature updates.
License in practice
Licensed under PSF (Python Software Foundation License), a permissive license with no significant restrictions on use or distribution.
Quickstart
from fixedint import UInt32, MutableUInt32
x = UInt32(0)
print(hex(~x)) # prints 0xffffffff
y = MutableUInt32(0)
y[:] = -1
print(hex(y)) # prints 0xffffffff
Verify before relying
- Whether the package works reliably with Python 3.10+ given dormant maintenance status.
- Performance characteristics for large-scale bitfield operations compared to alternatives.
Package facts
| License | PSF permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,428 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,369,384 / month, #2,317 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities |
Evidence: fixedint-0.2.0-py2-none-any.whl; fixedint-0.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fixed-width integers”
- fixedintProvides fixed-width integer classes that preserve their bit width…
- FixedWidthConverts between Python dictionaries and fixed-width text files in…
- copybookCopybook parses VSAM copybook definitions and extracts field…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also cint · fxpmath · intbitset · leb128 · overpunch · graycode · tibs · copybook · pyroaring · bitarray-hardbyte