firebird-base
Firebird base modules for Python
What it is and what it does
firebird-base is a collection of utility modules designed for Python 3 applications, originally developed for the Firebird Project but with general applicability. It provides foundational building blocks including custom exception and singleton classes, enhanced collection types that support expression-based filtering and querying, symmetric string-to-type conversion, a structured configuration framework with validation and protobuf message exchange, memory buffer management, hook and callback systems, context-aware logging, and trace/audit decorators for method calls.
The package is organized into focused modules—types, collections, strconv, config, buffer, hooks, logging, trace, protobuf, and signal—each addressing a specific cross-cutting concern. Developers typically use it as a dependency in larger applications or libraries that need unified configuration handling, structured logging, or expression-based data manipulation without reaching for heavier frameworks. It depends only on protobuf at runtime.
Use it for:
- Build a configuration framework for a complex application with validation, file persistence, and inter-process protobuf serialization.
- Implement expression-based filtering and reporting on in-memory data structures without writing custom query logic.
- Add context-aware logging and method-level tracing to an existing application for debugging and audit trails.
- Create a callback or signal/slot system for decoupled event handling between application components.
- Register and manage Google Protocol Buffer message definitions centrally across multiple modules.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a collection of utility modules for Python applications, including data types, collections with expression-based filtering, configuration management, logging, protobuf support, and callback systems.
Yes. firebird-base is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low install friction. It is worth installing if your application needs one or more of its utility modules (configuration, logging, collections, callbacks, or protobuf support). If you only need a single feature, evaluate whether the dependency is justified for your use case.
Install
firebird-base on PyPI
pip
pip install firebird-baseuv
uv add firebird-basepoetry
poetry add firebird-baseInstalling firebird-base
Before you install
Low install friction with a single runtime dependency (protobuf). Actively maintained with recent release; supports Python 3.11, 3.12, and 3.13.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install firebird-base
from firebird.base.types import Error, Singleton
from firebird.base.collections import DataList
# Use Error as base for application exceptions
class MyError(Error):
pass
# Use DataList for expression-based filtering
items = DataList([{'name': 'a', 'value': 1}, {'name': 'b', 'value': 2}])
result = items.find("item.value > 1")
Requires Python 3.11 or later.
Verify before relying
- Whether the protobuf registry supports all common protobuf versions and message types without additional configuration.
- Performance characteristics of expression-based filtering on large collections compared to standard Python operations.
- Compatibility of the configuration framework with non-standard config file formats beyond configparser.
Package facts
| License | MIT License =========== Copyright (c) 2019 The Firebird Project (www.firebirdsql.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (<4,>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — protobuf |
| Maintenance | actively maintained — 119 days since the last release |
| First released | |
| Downloads | 235,354/month — #9,003 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: firebird_base-2.0.3-py3-none-any.whl
Keywords: Collections, Configuration, Firebird, Hooks, Logging, Protobuf, Signals, Trace
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
firebird-driverA Python Database API 2.0-compliant driver for…
permissive · top 15,000 on PyPI
fdbFDB is a Python Database API 2.0-compliant…
permissive · top 15,000 on PyPI
sqlalchemy-firebirdProvides a SQLAlchemy 2.0+ dialect for…
permissive · top 15,000 on PyPI
foxglove-schemas-protobufProvides precompiled Protobuf message classes…
permissive · top 15,000 on PyPI
dbt-protosProvides Python Protocol Buffer bindings for…
permissive · top 1,000 on PyPI
ExpressionExpression provides functional programming…
permissive · top 5,000 on PyPI
robotcode-coreProvides core type definitions and utility…
permissive · top 15,000 on PyPI
cel-expr-pythonA Python wrapper for the CEL C++ implementation…
permissive · top 15,000 on PyPI
hatch-protobufA Hatch build plugin that generates Python…
copyleft · top 15,000 on PyPI
types-protobufProvides type stubs for the protobuf package,…
permissive · top 1,000 on PyPI