Skip to main content

histy is released under the MIT license. PRs welcome! PyPI version Python

Histy

Histy is a command line tool for generating histogram plots from timestamped logs. Timestamps must be in ISO format. Histy is useful for quick visual analysis of log frequencies from the command line

Installation (Requires Python 3.6+ and pip)

pip install histy

Parameters:

--bucket_time_s or -b : the duration of each histogram bucket in seconds

Sample usage:

cat server.log | histy -b 60
docker logs my-app --since "2020-01-06 12:37:30" --until "2020-01-06 12:38:30" | histy -b 10

Output:

Histogram:
2020-01-15T03:13:01  :  ######### 63
2020-01-15T03:13:11  :  ###### 41
2020-01-15T03:13:21  :  #### 28
2020-01-15T03:13:31  :  ##### 34
2020-01-15T03:13:41  :  ############# 88
2020-01-15T03:13:51  :  ######### 61
2020-01-15T03:14:01  :  ########################## 181
2020-01-15T03:14:11  :  ###################################################################### 470
2020-01-15T03:14:21  :  #### 31
2020-01-15T03:14:31  :  ######## 54
2020-01-15T03:14:41  :  ####### 48
2020-01-15T03:14:51  :   5



Metadata

Release files for histy 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for histy 1.0.3
File Size Uploaded Provenance Actions
histy-1.0.3.tar.gz 4.3 kB Without provenance Details for histy-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for histy 1.0.3
File Interpreter ABI Platform Actions
histy-1.0.3-py3-none-any.whl Python 3 none any Details for histy-1.0.3-py3-none-any.whl

Total release size: 8.4 kB

Release files / histy-1.0.3.tar.gz

Download URL histy-1.0.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b6b4a1ece0495fe93aaf62cce6db460125ff2504d9b8be4d056f310778aaef9d
BLAKE2b-256 checksum
How to use checksums
c4ea47a15534d2a943580a8b7c307e9bba24b77db2fbb1642300e6bac1ab986a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release files / histy-1.0.3-py3-none-any.whl

Download URL histy-1.0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13e815d81d87f0a9f0a4c122826f5ffbef29fcd9b9067ee5e61fe6b9a0f73743
BLAKE2b-256 checksum
How to use checksums
5e1e6ce254b44d93c4d0d7aafc138180c78b8c8d6f9f0ba230d83c1d3aeb1cc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Security for histy 1.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page