Skip to main content

filelog 1.0.2

Hello.

I am an easy debugger which prints into files. I can also read. In case you need me ever.

Simplicity within a certain complexity.

Install

pip install filelog

Documentation

param: filename

Name of the file. The extension .log will be added. Default: debug ENV name: READABLE_GLOBAL_VARIABLE_NAME

param: debug

If set True, prints what's going on. Default: True

param: json

If set True, it will enable json conversion Default: True

param: callback

If set (a function), the function gets executed with the path of created file. Default: None

Example

from filelog import Writer, Reader

Writer() >> {'allah': 'birdir'}
# creates a file called debug.log and saves into
>>> {"allah": "birdir"}

test = Reader() # reads from debug.log
print test
>>> {'allah': 'birdir'}

# delete callback
import os
Writer(callback: lambda x: os.remove(x)) >> {'test': 'callback'} # deletes the file

Metadata

Release files for filelog 1.0.2

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

Source distribution (sdist)

Source distribution for filelog 1.0.2
File Size Uploaded Provenance Actions
filelog-1.0.2.tar.gz 2.8 kB Without provenance Details for filelog-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.8 kB

Release files / filelog-1.0.2.tar.gz

Download URL filelog-1.0.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2082863252d4773b9c88d980504f05522f23767c67301340302aa9bc980a193e
BLAKE2b-256 checksum
How to use checksums
8a912527331b40c905ba0f8f0b3443ef9eb61c29c2fdc0d0f697d4b2408bea24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Release files / filelog-1.0.2-py3-none-any.whl

Download URL filelog-1.0.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ff670241548c523b8f920d3813adf6c5413aac4e0c99c2dee5de09f320b01cc
BLAKE2b-256 checksum
How to use checksums
78f06f14867a80218cf9c73fdce22037a00cd545ad1143d382bfcc5b67231eb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6

Security for filelog 1.0.2

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