Merge tag 'v1.1.0' into master am: 41ad18dfef am: b34751929e am: e5a8a27b1b am: 5cba050b09

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

Change-Id: I6ea42207cb18e43d7e968a25d5240ca1a612fcf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: faf738843747b43d4bc5f9b46ec8ea33436a62ad
  1. absl/
  2. smoke_tests/
  3. AUTHORS
  4. BUILD.bazel
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. MANIFEST.in
  9. README.md
  10. setup.py
  11. 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.