pytracetable
Script debugging tool that aims to make a line-by-line debugging easier. Take a look:
from pytracetable import tracetable
@tracetable()
def some_weird_calculation(a, b):
c = 10 + a
b *= 2
c += b
del b
return a + c
Then, calling some_weird_calculation(5, 10) will give the output:
--------------------------------------------------
At some_weird_calculation, line 3
[ADDED] a (int): 5
[ADDED] b (int): 10
--------------------------------------------------
At some_weird_calculation, line 4
[ADDED] c (int): 15
--------------------------------------------------
At some_weird_calculation, line 5
[CHANGED] b: 10 (int) --> 20 (int)
--------------------------------------------------
At some_weird_calculation, line 6
[CHANGED] c: 15 (int) --> 35 (int)
--------------------------------------------------
At some_weird_calculation, line 7
[REMOVED] b
[RETURNED] 40 (int)
Development:
Run linter:
pip install -r requirements_dev.txt
isort -rc .
tox -e lint
Run tests via tox:
pip install -r requirements_dev.txt
tox
Release a new major/minor/patch version:
pip install -r requirements_dev.txt
bump2version <PART> # <PART> can be either 'patch' or 'minor' or 'major'
Upload to PyPI:
pip install -r requirements_dev.txt
python setup.py sdist bdist_wheel
python -m twine upload dist/*
Contributing:
Please open issues if you see one, or create a pull request when possible. In case of a pull request, please consider the following:
- Respect the line length (132 characters)
- Write automated tests
- Run
toxlocally so you can see if everything is green (including linter and other python versions)
Metadata
Release files for pytracetable 0.3.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 |
|---|---|---|---|---|
| pytracetable-0.3.0.tar.gz | 4.0 kB | Without provenance | Details for pytracetable-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytracetable-0.3.0-py2-none-any.whl | Python 2 | none | any | Details for pytracetable-0.3.0-py2-none-any.whl |
Total release size: 8.3 kB
Release files / pytracetable-0.3.0.tar.gz
| Download URL | pytracetable-0.3.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0935384ec810ba168ea6866268f89fb5c0e39ab840532e19bf3e4b1f98a8521
|
|
BLAKE2b-256 checksum How to use checksums |
2c45d2ee9a935470d54b60de859009b2b3eb2dce11f452c19846d878c6381468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.17
|
Release files / pytracetable-0.3.0-py2-none-any.whl
| Download URL | pytracetable-0.3.0-py2-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
105a4a786f5ce518517bca0a6ff0fae2d878fc08139ad3aeeae2ff962497c6f8
|
|
BLAKE2b-256 checksum How to use checksums |
ea87bbc51ff90f8ee3a2b9da15fdaf711cdc6ff420a56ae154ddcac625bbbb5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.17
|
Security for pytracetable 0.3.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.