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.1.tar.gz (2.1 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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyset_x-0.0.1.tar.gz
  • Upload date:
  • Size: 2.1 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.1.tar.gz
Algorithm Hash digest
SHA256 9bda6704128bd5952f211fa1008701fa6a33e4e91500ccbe0555c67ab150462f
MD5 98afedc61e283fb33bae7c20d984dff2
BLAKE2b-256 75eee325324608f7f3c86ec13e1923beca579ffbaf9499ebf156feb2c6baba0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyset_x-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aaff1e7b7d067d716523e93b52b46cd864121a5d4878c10a1f1b073239feb6bc
MD5 ac657312c4cd37f665c49b68b22473c0
BLAKE2b-256 ac5cf95417a75c79c52a40d89a865b6dfb483797b258f224d303c13e1926890c

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