Skip to main content

Like `set -x` in bash

Project description

pyset_x

This is set -x in Bash, but for Python. Before a line of code is executed, it will be printed. The idea is for quick debugging of actual code flow, instead of having to put print calls in all your if/elif/else blocks etc.

Example

from pyset_x import annotate_function
@annotate_function
def func():
    a = 1 + 1
    return a
func()

Will print

a = 1 + 1                                                                                                              
return a 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyset_x-0.0.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyset_x-0.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pyset_x-0.0.2.tar.gz.

File metadata

  • Download URL: pyset_x-0.0.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

File hashes

Hashes for pyset_x-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ee79dc30a5eabaa826d340e6679b168674ba7feca6fe293ef93c9c28d1f83b92
MD5 44c03a8a674cab35cd3e54387aa78648
BLAKE2b-256 3d47c82af9ccf89574f1502e814f70307bc12bb5ecfb584b9a6ff606c1741319

See more details on using hashes here.

File details

Details for the file pyset_x-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyset_x-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

File hashes

Hashes for pyset_x-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3225282735947051c598cbdcce42d0159283ff691242a364ea00b849074a856
MD5 80f6b2f3d2f9ec46ed85cc899f5641eb
BLAKE2b-256 3eb7a672085338fc2882926d677eb70f206eb119f6d5c8ae7a55b756318ca332

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page