[go: up one dir, main page]

Clone this repo:
  1. 5b421ca Backfill commit SHAs for tagged Git versions am: 49c1a0d78e by Kate Ageeva · 10 weeks ago main-kernel
  2. 49c1a0d Backfill commit SHAs for tagged Git versions by Kate Ageeva · 10 weeks ago mirror-goog-main-external
  3. cdfc10b Merge 'aosp/android16-release' into 'aosp/main-kernel' by Giuliano Procida · 9 months ago
  4. 7b59b5e Snap for 12838584 from 36b3259addca1297dad9e00de002cb4a9c85766a to 25Q2-release by Android Build Coastguard Worker · 1 year, 3 months ago android16-release android16-s1-release android16-s2-release android16-security-release android-16.0.0_r1 android-16.0.0_r2 android-cts-16.0_r1 android-security-16.0.0_r1 android-security-16.0.0_r2 android-security-16.0.0_r3 android-security-16.0.0_r4 android-vts-16.0_r1
  5. 36b3259 Add janitors to the OWNERS file am: 643ae16524 am: c02f1cac54 by Sadaf Ebrahimi · 1 year, 4 months ago android16-qpr1-release android16-qpr2-release main-kernel-2025 mirror-poly-aosp-pixel-malibu mirror-poly-aosp-pixel-malibu-staging mirror-poly-aosp-pixel-mbu android-16.0.0_r3 android-16.0.0_r4

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:

python setup.py 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/...

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.