Skip to main content

The functionality is mainly same as inspect, but fixing the OSError when used in some non-standard shells.

API reference

  • sourceinspect.getsource(object)

  • sourceinspect.getsourcelines(object)

  • sourceinspect.getsourcefile(object)

Supported shells

  • Python script (wrap dill.source)

  • Python interactive shell (wrap dill.source)

  • IPython advanced shell (wrap IPython.core.oinspect)

  • Jupyter notebook (wrap IPython.core.oinspect)

  • Blender scripting module (add hooks to inspect)

  • Blender interactive mode (add hooks to code.py)

  • Python IDLE file mode (wraps dill.source)

  • Python IDLE interactive mode (need manually add hooks to code.py)

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sourceinspect-0.0.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file sourceinspect-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sourceinspect-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for sourceinspect-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a33fabe25dfced4ed949ceb3312824579456a1faa0ae85b6a78887775c4bb4b9
MD5 29f80ec98a068c78e503de513636336a
BLAKE2b-256 e86a145eb77cbe97fa1d759960aa3705b6f012197b9c31ea1d11c64b4ed32cd8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 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