| commit | 669077da6e479986b2903d55d25f5cd1eedde45a | [log] [tgz] |
|---|---|---|
| author | Richard Levasseur <rlevasseur@google.com> | Tue Mar 12 11:03:01 2019 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 12 11:03:19 2019 -0700 |
| tree | c3424b7e70840af366ee7c523519b5446aef025a | |
| parent | 46d7779b27731b47ad2aee2654ab64c4a5fdb174 [diff] |
Bump absl-py to version 0.7.1
Added:
* (flags) `flags.mark_bool_flags_as_mutual_exclusive`: convenience function to
check that only one, or at most one, flag among a set of boolean flags are
True.
Changed:
* (bazel) Bazel 0.23+ or 0.22+ is now required for building/testing.
Specifically, a Bazel version that supports
`@bazel_tools//tools/python:python_version` for selecting the Python
version.
Fixed:
* #94: LICENSE files are now included in sdist.
* #93: Change log added.
PiperOrigin-RevId: 238053201
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.
Full documentation is forthcoming on https://abseil.io. For now, please refer to the in-code Python docstrings.
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.