Snap for 13198286 from c02f1cac5477da9d43da9effd5f04140af5e7111 to sdk-release

Change-Id: Ie85fb8f53902770fccc1292c77187335ee24b118
tree: b16a6637048bcf9d1f08e9ff470c349b92ab6279
  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.