Use:
from calltrack import jsonlog
@jsonlog
def f(x: int) -> int:
return x
if __name__ == '__main__':
for i in range(10):
f(i)
This will save a single JSON file containing all the calls to f with some details, in a calltrack_jsonlogs directory.
A custom directory can be specified as follow:
from calltrack import json_calltrack
json_calltrack.save_dir = "path/to/custom/logs/directory"
The logs can be consulted through a streamlit UI. Several files can also be compared one to the other in the UI. To display it in a browser, run the following command in CLI:
$ calltrack-view
By default, this will point to the default logs directory. If a directory was specified by the user, its path should be given as an argument to the command:
$ calltrack-view /path/to/custom/logs/directory
Metadata
Release files for calltrack 0.0.5
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 | |
|---|---|---|---|---|
| calltrack-0.0.5.tar.gz | 4.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| calltrack-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / calltrack-0.0.5.tar.gz
| Download URL | calltrack-0.0.5.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0d5174af2b213c385c6c82a0bbcb18490878eab5fe65be9cc14b23ca73f074d
|
|
BLAKE2b-256 checksum How to use checksums |
90b4b4ea53f66371f09f3b6640a33d5e42cc0ee48608b5969966574bc6a4200d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.1 Linux/6.5.0-28-generic
|
Release files / calltrack-0.0.5-py3-none-any.whl
| Download URL | calltrack-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1007e0017f669752d6a345542f0ac092706176353580645e1d1182d42eae0ae9
|
|
BLAKE2b-256 checksum How to use checksums |
8ba9bd7dd78e743a7222809952a17588f1f4467165e9c37d9d55b1ac57fc5191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.1 Linux/6.5.0-28-generic
|
Security for calltrack 0.0.5
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.