Snap for 12128313 from a3768cdf7f429fd7647edda74d0ce1f677e0860d to 25D4-release

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