IPython-style introspection (signatures, docstrings, members, source, call graphs, class hierarchy) for any Python package — standalone module from the SciTeX ecosystem
Project description
scitex-introspect
IPython-style introspection for any Python package, extracted from the SciTeX ecosystem as a standalone, zero-dep package.
Install
pip install scitex-introspect
pip install "scitex-introspect[mcp]" # + MCP server for AI agents
API
import scitex_introspect as ix
# IPython-style shortcuts
ix.q(my_func) # Signature with type hints (like `my_func?`)
ix.qq(my_func) # Full source code (like `my_func??`)
ix.dir(my_pkg) # List attributes/methods
ix.list_api(my_pkg) # Recursive module API tree
# Detailed inspection
ix.signature(my_func)
ix.docstring(my_func)
ix.source(my_func)
ix.members(my_pkg)
# Static analysis
ix.imports(file_path) # Imports of a Python file
ix.call_graph(my_func) # What functions does this call?
ix.class_hierarchy(MyClass) # MRO + base classes
ix.examples(my_func) # Doctest / docstring examples
ix.resolve("scitex.io.save") # Walk dotted path → object
Status
Standalone fork of scitex.introspect. Pure stdlib — zero deps. The umbrella
package's scitex.introspect import path is preserved via a sys.modules-alias
bridge. 76/77 tests pass (1 skipped).
License
AGPL-3.0-only (see LICENSE).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scitex_introspect-0.1.3.tar.gz.
File metadata
- Download URL: scitex_introspect-0.1.3.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84c1927c276c49b72981dcb1f1165c7e08db72cd0ac8e0dbed17ac2b9c9986ff
|
|
| MD5 |
456fd173dd6c89f5b6314af4b9c5386d
|
|
| BLAKE2b-256 |
fab1bf7753ae04a4eb870bcefdc1d612572e4247b6f17fc9f6da664c8dfb92a3
|
Provenance
The following attestation bundles were made for scitex_introspect-0.1.3.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-introspect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_introspect-0.1.3.tar.gz -
Subject digest:
84c1927c276c49b72981dcb1f1165c7e08db72cd0ac8e0dbed17ac2b9c9986ff - Sigstore transparency entry: 1396534339
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-introspect@83e8b9d296ac1f4ead50346f4aecd31b1a93b58b -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@83e8b9d296ac1f4ead50346f4aecd31b1a93b58b -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_introspect-0.1.3-py3-none-any.whl.
File metadata
- Download URL: scitex_introspect-0.1.3-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39fe1b2d99104b55187bc9311fa13f856a8e68253ff346d6208d3008c79180c
|
|
| MD5 |
f4306c1e715f4e94159e8d5582e94908
|
|
| BLAKE2b-256 |
6820b3263bebd19c513865e92329cc3d1e95d2db9abdcc451193249b61401db9
|
Provenance
The following attestation bundles were made for scitex_introspect-0.1.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-introspect
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_introspect-0.1.3-py3-none-any.whl -
Subject digest:
f39fe1b2d99104b55187bc9311fa13f856a8e68253ff346d6208d3008c79180c - Sigstore transparency entry: 1396534359
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-introspect@83e8b9d296ac1f4ead50346f4aecd31b1a93b58b -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@83e8b9d296ac1f4ead50346f4aecd31b1a93b58b -
Trigger Event:
push
-
Statement type: