fable-library
Fable library for Python
What it is and what it does
Fable Library for Python is the runtime foundation for F# code compiled to Python via the Fable compiler. It bridges the gap between F# semantics and Python execution by providing type definitions, runtime utilities, and Rust-based extensions for features like unsigned integers that Python doesn't natively support. The library uses a two-tier architecture combining Python components for core functionality with Rust extensions for performance and proper type representation.
The package is distributed as pre-built wheels across multiple platforms and architectures, making it straightforward to install as a dependency. Library authors can choose between bundling it with their compiled code or declaring it as a PyPI dependency; the PyPI approach is required for libraries intended for distribution beyond a single machine.
Use it for:
- Running F# libraries compiled to Python that depend on unsigned integer types
- Distributing cross-platform F# code as Python packages with proper type support
- Integrating F# and Python codebases where F# components are compiled to Python
- Accessing performance-critical Rust implementations for operations not efficiently done in pure Python
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Fable Library for Python provides runtime support and type definitions for F# code compiled to Python, including Rust-based extensions for unsigned integer types and performance-critical operations.
Yes, if you are using F# code compiled to Python via Fable. It is a required runtime dependency for such projects and is actively maintained with no known vulnerabilities. The MIT license and broad platform support make it a straightforward addition. If you are not using Fable-compiled F# code, there is no reason to install it.
Install
fable-library on PyPI
pip
pip install fable-libraryuv
uv add fable-librarypoetry
poetry add fable-libraryInstalling fable-library
Before you install
Medium install friction due to compiled Rust extensions across multiple platforms, but wheels are pre-built for all major architectures. Actively maintained with a release 21 days ago.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install fable-library==5.13.0
import fable_library
# Use Fable-compiled F# code in Python
Requires Python 3.10 or later; Python 4.0 and above are not supported.
Verify before relying
- What specific Rust extensions are included and what performance gains they provide
- How to integrate Fable-compiled F# modules with this library
- Whether the bundled vs. PyPI distribution choice affects runtime behavior
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 21 days since the last release |
| First released | |
| Downloads | 139,584/month — #11,297 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fable_library-5.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; fable_library-5.13.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; fable_library-5.13.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; fable_library-5.13.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl; fable_library-5.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fable_library-5.13.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl; fable_library-5.13.0-cp310-cp310-musllinux_1_2_aarch64.whl; fable_library-5.13.0-cp310-cp310-musllinux_1_2_armv7l.whl; fable_library-5.13.0-cp310-cp310-musllinux_1_2_i686.whl; fable_library-5.13.0-cp310-cp310-musllinux_1_2_x86_64.whl; fable_library-5.13.0-cp310-cp310-win_amd64.whl; fable_library-5.13.0-cp311-cp311-macosx_10_12_x86_64.whl; fable_library-5.13.0-cp311-cp311-macosx_11_0_arm64.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fable_library-5.13.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; fable_library-5.13.0-cp311-cp311-musllinux_1_2_aarch64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
ruff-formatProvides Python bindings to Ruff's code…
permissive · top 15,000 on PyPI
neo4j-rust-extRust-compiled extensions that accelerate the…
permissive · top 15,000 on PyPI
anchorpy-coreProvides Python bindings to Anchor Rust code,…
permissive · top 15,000 on PyPI
betterproto-rust-codecProvides fast Rust-based conversion between…
permissive · top 15,000 on PyPI
fixedintProvides fixed-width integer classes that…
permissive · top 5,000 on PyPI
ormar-utilsProvides Rust-accelerated implementations of…
permissive · top 15,000 on PyPI
cintWraps ctypes integer types to perform…
permissive · top 5,000 on PyPI
flpcflpc wraps the Rust regex crate to provide…
permissive · top 5,000 on PyPI
angr-dataProvides bundled data files—function and type…
permissive · top 15,000 on PyPI
dotnetcore2Bundles the .NET Core 3.1 runtime as a Python…
permissive · top 15,000 on PyPI