bendlog
Utilities for analyzing Databend logs.
Installation
# From the bendlog directory
pip install .
# Editable install (for development, changes take effect immediately)
pip install -e .
# With dev dependencies (pytest)
pip install -e ".[dev]"
Usage
from bendlog import read_lines
# Plain text file
for line in read_lines("file.log"):
print(line)
# Zstd compressed
for line in read_lines("file.log.zst"):
print(line)
# Tar.gz archive (reads all files inside)
for line in read_lines("logs.tar.gz"):
print(line)
# Stdin
for line in read_lines("-"):
print(line)
Run Tests
pytest tests/ -v
Publish to PyPI
# Install publish dependencies
pip install -e ".[publish]"
# Get API token from https://pypi.org/manage/account/token/
# or https://test.pypi.org/manage/account/token/ for TestPyPI
# Publish to TestPyPI first (recommended)
TWINE_PASSWORD=pypi-xxx ./publish.sh test
# Publish to PyPI
TWINE_PASSWORD=pypi-xxx ./publish.sh
Metadata
Release files for bendlog 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bendlog-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for bendlog-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bendlog-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bendlog-0.1.0-py3-none-any.whl |
Total release size: 6.5 kB
Release files / bendlog-0.1.0.tar.gz
| Download URL | bendlog-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86ae93ff8b84e52e18613111acff832dc0f3e841a00a6bff0e945d42ff6c051e
|
|
BLAKE2b-256 checksum How to use checksums |
deaf43a5a742725d151a8183619521ec2b7d9ad6f58f59f96d091eae7cc5b43b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / bendlog-0.1.0-py3-none-any.whl
| Download URL | bendlog-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fe4bb4e27109af78784329ee2950a7e51a1d9047a8db44be3b960dc7ec8888e
|
|
BLAKE2b-256 checksum How to use checksums |
b554994ed35e4f391881d66fe09073740f581dba076ecd04f92d53a482f5823f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for bendlog 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.