commit | e976efe15c1cbafe07b9ba7af3118041efbf721b | [log] [tgz] |
---|---|---|
author | Yilei Yang <yileiyang@google.com> | Mon Jul 18 10:33:18 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Jul 18 10:33:56 2022 -0700 |
tree | b434df7315dd0ea2e64edec3fd3ca2e43539fcb4 | |
parent | f2a901edd64b8e863d3e1dfb3df4b7c91cf5507f [diff] |
Work around a Pytype issue in `DEFINE_multi_enum_class`'s return value where an iterable of concrete enum values are used as the default. PiperOrigin-RevId: 461656002 Change-Id: Ic6d0699ad4f507d9f6ae24ab4aad0d7b8b19bd63
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.
To install the package, simply run:
pip install absl-py
Or install from source:
python setup.py install
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/...
Please refer to smoke_tests/sample_app.py as an example to get started.
See the Abseil Python Developer Guide.
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.
The Abseil Python library is licensed under the terms of the Apache license. See LICENSE for more information.