Skip to main content

logstream

A package that allows you to create simple records of the results of your application's functionality, read them, and clean the file of all obsolete records when not needed. Developed by Bohdan Terskow (c) 2024

Examples of How To Use

CLI: pip install logstream-ua

from logstream import LogStream

logfile_dir = './logs.txt'
logstream = LogStream(logfile_dir)

logstream(description='Test', level=3)
# description - record description
# level - level of record (5 - debug, 4 - info, 3 - warning, 2 - error, 1 - fatal)

# Other Code

read_logs = logstream.read()
print(read_logs) # show text into logfile

logstream.clear() # clear all file from records

Metadata

Release files for logstream-ua 0.1

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

Source distribution (sdist)

Source distribution for logstream-ua 0.1
File Size Uploaded Provenance Actions
logstream-ua-0.1.tar.gz 3.6 kB Without provenance Details for logstream-ua-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for logstream-ua 0.1
File Interpreter ABI Platform Actions
logstream_ua-0.1-py3-none-any.whl Python 3 none any Details for logstream_ua-0.1-py3-none-any.whl

Total release size: 7.6 kB

Release files / logstream-ua-0.1.tar.gz

Download URL logstream-ua-0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
10e1e4a4b159b1ad6af372b3ef534b5f1d18b7eb17e84f38cba60bc862401350
BLAKE2b-256 checksum
How to use checksums
4d7fbb149a64c19e78ae5000c97ec5087d6739a6f1b683493f3368472387d829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.6

Release files / logstream_ua-0.1-py3-none-any.whl

Download URL logstream_ua-0.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0facc0036185ff50a3cebda81911b2f0a7097be1babf4aca49eefb8af52cc254
BLAKE2b-256 checksum
How to use checksums
a3d52cf44acdde88c2b5e2a8dfb135d3ae655ba0cee935dbda897fb8d510b594
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.6

Security for logstream-ua 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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