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)
Metadata
Release files for sourceinspect 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sourceinspect-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / sourceinspect-0.0.4-py3-none-any.whl
| Download URL | sourceinspect-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a33fabe25dfced4ed949ceb3312824579456a1faa0ae85b6a78887775c4bb4b9
|
|
BLAKE2b-256 checksum How to use checksums |
e86a145eb77cbe97fa1d759960aa3705b6f012197b9c31ea1d11c64b4ed32cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for sourceinspect 0.0.4
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.