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.
Metadata
Release files for absl-py 2.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| absl_py-2.5.1.tar.gz | 118.4 kB | With provenance | Details for absl_py-2.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| absl_py-2.5.1-py3-none-any.whl | Python 3 | none | any | Details for absl_py-2.5.1-py3-none-any.whl |
Total release size: 256.1 kB
Release files / absl_py-2.5.1.tar.gz
| Download URL | absl_py-2.5.1.tar.gz |
|---|---|
| Size | 118.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
286e71c82c1a38e75bbcf185f9b37d0305ad7786535107cb49bf4df9ff2e1f95
|
|
BLAKE2b-256 checksum How to use checksums |
1f1d58e2b5a6e4d703ccb2a029943d665974cb3d5a4fb2b3e3675dd03a9df10e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 9, 2026.
Transparency logRelease files / absl_py-2.5.1-py3-none-any.whl
| Download URL | absl_py-2.5.1-py3-none-any.whl |
|---|---|
| Size | 137.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
721200f2f0e9960f2ca9dc3a2a706b201f5f75d812c158f059cbbe29eeafbdb8
|
|
BLAKE2b-256 checksum How to use checksums |
b37d01e62f59e4166af1be6238d9f2b7f3453630c51b8044b412d05b5606532a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 9, 2026.
Transparency logSecurity for absl-py 2.5.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for absl_py-2.5.1.tar.gz
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 Oct 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.