Skip to main content

Debug output named values

warning:
  • not work in python console

  • not work in IDLE

  • only one entry point of dbg function for one source line

script:

from namedout import dbg
dbg(dict(a=9))

out:

dict(a=9) == {'a': 9}

script:

dbg(list(xrange(9)))

out:

list(xrange(9)) == [0, 1, 2, 3, 4, 5, 6, 7, 8]

script:

import os
import sys
a = 1
dbg(a, os.__name__, dir(os.path)[0], sys.modules.keys()[0])

out:

a == 1
os.__name__ == os
dir(os.path)[0] == __all__
sys.modules.keys()[0] == tokenize

Metadata

Release files for namedout 1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for namedout 1.1
File Interpreter ABI Platform
namedout-1.1-py2-none-any.whl Python 2 none any Details

Release files / namedout-1.1-py2-none-any.whl

Download URL namedout-1.1-py2-none-any.whl
Size 3.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
cf7407556cf3e0b7faea8c98445eaf85dd11e47c0a87e07d5df751330b701c14
BLAKE2b-256 checksum
How to use checksums
df6afaf17354a4f77e696c47db159d5ab4fe4e0c845780461b4f829f36bc4a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

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