absl-py
Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
Decision gist · record as of 2026-08-14
Yes. Abseil-py is actively maintained, has no dependencies, installs with low friction, carries a permissive license, and brings production-tested utilities from Google. It's particularly valuable if you need distributed flags or structured application startup. No known vulnerabilities. Suitable for both small scripts and large applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure-wheel distribution.
- Actively maintained with recent releases and no runtime dependencies to manage.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required.
last release 2026-07-03 (42 days) · last repo commit 2026-08-06 · 2,448 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 57,702,145 downloads/mo, #518 on PyPI
Alternatives
Verify before relying
pip install absl-py
from absl import app
from absl import flags
FLAGS = flags.FLAGS
flags.DEFINE_string('name', 'World', 'Name to greet.')
def main(argv):
print(f'Hello {FLAGS.name}')
if __name__ == '__main__':
app.run(main)- Whether the distributed flags system supports cross-process coordination or is limited to single-process applications.
- Performance characteristics and overhead of the custom logging module compared to standard library logging.
- Scope and coverage of included testing utilities relative to pytest or unittest.
What it is and what it does
Abseil Python is a collection of utility libraries extracted from Google's internal Python codebase and battle-tested in production. It provides foundational tools for building Python applications: a simple application startup framework, a distributed command-line flags system for managing configuration across processes, a custom logging module with enhanced features, and testing utilities. The package has no runtime dependencies and installs as a pure wheel, making it lightweight and straightforward to integrate.
Developers typically use absl-py when building command-line tools, services, or applications that need structured configuration management and logging beyond what the standard library offers. The distributed flags system is particularly useful for applications that need to coordinate settings across multiple processes or services. It's designed for modern Python (3.10+) and is actively maintained by Google with regular updates.
Use it for
- Build command-line tools with structured flag parsing and validation across distributed processes.
- Set up application startup and initialization with Google's tested patterns from production systems.
- Implement custom logging with additional features beyond Python's standard logging module.
- Write tests using Abseil's testing utilities within a larger application framework.
- Coordinate configuration and flags in microservices or multi-process Python applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Abseil-py is actively maintained, has no dependencies, installs with low friction, carries a permissive license, and brings production-tested utilities from Google. It's particularly valuable if you need distributed flags or structured application startup. No known vulnerabilities. Suitable for both small scripts and large applications.
Install
absl-py on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent releases and no runtime dependencies to manage.
Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required.
Quickstart
pip install absl-py
from absl import app
from absl import flags
FLAGS = flags.FLAGS
flags.DEFINE_string('name', 'World', 'Name to greet.')
def main(argv):
print(f'Hello {FLAGS.name}')
if __name__ == '__main__':
app.run(main)
Verify before relying
- Whether the distributed flags system supports cross-process coordination or is limited to single-process applications.
- Performance characteristics and overhead of the custom logging module compared to standard library logging.
- Scope and coverage of included testing utilities relative to pytest or unittest.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 42 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 57,702,145 / month, #518 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: absl_py-2.5.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 › “python application startup framework”
- absl-pyProvides Google's production-tested Python utility libraries for…
- mozrunnerMozrunner manages the lifecycle of Mozilla applications (Firefox,…
- oslo.serviceoslo.service provides a framework for building and running…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules 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.
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.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also bazel-runfiles · python-gflags · etils · bpyutils · tfx-bsl · schematichq · cel-python · peakrdl-python · growthbook · python-snappy