Abseil Python Common Libraries, see https://github.com/abseil/abseil-py.
Project description
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:
pip 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/...
Please also validate the type annotations against the latest mypy:
pip install mypy
mypy 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file absl_py-2.3.1.tar.gz
.
File metadata
- Download URL: absl_py-2.3.1.tar.gz
- Upload date:
- Size: 116.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a97820526f7fbfd2ec1bce83f3f25e3a14840dac0d8e02a0b71cd75db3f77fc9
|
|
MD5 |
8c8be050e69fa4779f32627368f36f23
|
|
BLAKE2b-256 |
102ac93173ffa1b39c1d0395b7e842bbdc62e556ca9d8d3b5572926f3e4ca752
|
Provenance
The following attestation bundles were made for absl_py-2.3.1.tar.gz
:
Publisher:
pypi_upload.yml
on abseil/abseil-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
absl_py-2.3.1.tar.gz
-
Subject digest:
a97820526f7fbfd2ec1bce83f3f25e3a14840dac0d8e02a0b71cd75db3f77fc9
- Sigstore transparency entry: 261407058
- Sigstore integration time:
-
Permalink:
abseil/abseil-py@bdad52d90492be48ed535f7d6369c406860d547a
-
Branch / Tag:
refs/tags/v2.3.1
- Owner: https://github.com/abseil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi_upload.yml@bdad52d90492be48ed535f7d6369c406860d547a
-
Trigger Event:
release
-
Statement type:
File details
Details for the file absl_py-2.3.1-py3-none-any.whl
.
File metadata
- Download URL: absl_py-2.3.1-py3-none-any.whl
- Upload date:
- Size: 135.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
eeecf07f0c2a93ace0772c92e596ace6d3d3996c042b2128459aaae2a76de11d
|
|
MD5 |
16b5962643a38d8c985c30a6ae88cf4c
|
|
BLAKE2b-256 |
8faaba0014cc4659328dc818a28827be78e6d97312ab0cb98105a770924dc11e
|
Provenance
The following attestation bundles were made for absl_py-2.3.1-py3-none-any.whl
:
Publisher:
pypi_upload.yml
on abseil/abseil-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
absl_py-2.3.1-py3-none-any.whl
-
Subject digest:
eeecf07f0c2a93ace0772c92e596ace6d3d3996c042b2128459aaae2a76de11d
- Sigstore transparency entry: 261407063
- Sigstore integration time:
-
Permalink:
abseil/abseil-py@bdad52d90492be48ed535f7d6369c406860d547a
-
Branch / Tag:
refs/tags/v2.3.1
- Owner: https://github.com/abseil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
pypi_upload.yml@bdad52d90492be48ed535f7d6369c406860d547a
-
Trigger Event:
release
-
Statement type: