Snap for 12277954 from 999e2a1b26183f83d18d21aa2511816e0b0a2b49 to 25D4-release

Change-Id: I4a7924cda31ea729e2c320bfb198e172c7b20593
tree: a9767cb931d7780845daf72f8007760cbf279aa4
  1. .github/
  2. absl/
  3. ci/
  4. docs/
  5. smoke_tests/
  6. .readthedocs.yaml
  7. Android.bp
  8. AUTHORS
  9. BUILD.bazel
  10. CHANGELOG.md
  11. CONTRIBUTING.md
  12. LICENSE
  13. MANIFEST.in
  14. METADATA
  15. MODULE.bazel
  16. MODULE_LICENSE_APACHE2
  17. OWNERS
  18. README.md
  19. setup.py
  20. 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.