Clone this repo:
  1. 393d0b1 Upgrade abseil-py to v1.3.0 am: 4bcded2999 by Sadaf Ebrahimi · 7 months ago main main-16k-common-android14-5.15 main-16k-with-phones master android-u-beta-1-gpl
  2. 4bcded2 Upgrade abseil-py to v1.3.0 by Sadaf Ebrahimi · 7 months ago
  3. 9ac99c1 Merge pull request #201 from yilei/push_up_to_480399279 by Yilei "Dolee" Yang · 8 months ago upstream/v1.3.0
  4. 042ca20 Merge commit for internal changes. by Yilei Yang (杨一磊) · 8 months ago
  5. c75edbb Preparing the release of absl-py 1.3.0. by Yilei Yang · 8 months ago

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.


  • Simple application startup
  • Distributed commandline flags system
  • Custom logging module with additional features
  • Testing utilities

Getting Started


To install the package, simply run:

pip install absl-py

Or install from source:

python install

Running Tests

To run Abseil tests, you can clone the git repo and run bazel:

git clone
cd abseil-py
bazel test absl/...

Example Code

Please refer to smoke_tests/ as an example to get started.


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.


The Abseil Python library is licensed under the terms of the Apache license. See LICENSE for more information.