Abseil Python Common Libraries
This repository is a collection of Python library code for building Python applications. The code is collected from Google's own Python code base, and has been extensively tested and used in production.
Features
- Simple application startup
- Distributed commandline flags system
- Custom logging module with additional features
- Testing utilities
Getting Started
Installation
To install the package, simply run:
pip install absl-py
Or install from source:
pip install .
Running Tests
To run Abseil tests, you can clone the git repo and run bazel:
git clone https://github.com/abseil/abseil-py.git
cd abseil-py
bazel test absl/...
Please also validate the type annotations against the latest mypy:
pip install mypy
mypy absl
Example Code
Please refer to smoke_tests/sample_app.py as an example to get started.
Documentation
See the Abseil Python Developer Guide.
Future Releases
The current repository includes an initial set of libraries for early adoption. More components and interoperability with Abseil C++ Common Libraries will come in future releases.
License
The Abseil Python library is licensed under the terms of the Apache license. See LICENSE for more information.
Release files for absl-py 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| absl_py-2.5.0.tar.gz | 118.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| absl_py-2.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 255.5 kB
Release files / absl_py-2.5.0.tar.gz
| Download URL | absl_py-2.5.0.tar.gz |
|---|---|
| Size | 118.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c996f25c0490700fadabe6351630f6111534fa0ae252cc6d2014ea3b141135f
|
|
BLAKE2b-256 checksum How to use checksums |
d04fd79676ab82f2e42fc3611618139f13a9c4c31d0cff4b486982047679a802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logRelease files / absl_py-2.5.0-py3-none-any.whl
| Download URL | absl_py-2.5.0-py3-none-any.whl |
|---|---|
| Size | 137.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f17b89f2a4eaaedc4f28c622998aa690564b3012a396a4ffad0821007fe03ba
|
|
BLAKE2b-256 checksum How to use checksums |
580aa10b45aab35b175aded078a462dc8d0c698f5b13946e7cb0869097b78bb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency log