Platform Tools Release 33.0.3 (8952118)
Add metadata files am: 63f98de5b1

Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321

Change-Id: Id3e2f92ae1ff1a640d8344b6fb32655ec37055ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 28993223f5ce8f5de74253697551afe4db6127db
  1. absl/
  2. smoke_tests/
  3. AUTHORS
  4. BUILD.bazel
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. MANIFEST.in
  9. METADATA
  10. MODULE_LICENSE_APACHE2
  11. OWNERS
  12. README.md
  13. setup.py
  14. WORKSPACE
README.md

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.