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 — `q`, `qq`, `dir`, signatures, source.
Full Documentation · pip install scitex-introspect
Installation
pip install scitex-introspect
pip install "scitex-introspect[mcp]" # + MCP server for AI agents
Quick Start
import scitex_introspect as ix
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
2 Interfaces
Python API
import scitex_introspect as ix
# IPython-style shortcuts
ix.q(my_func) # Signature with type hints
ix.qq(my_func) # Full source code
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)
ix.call_graph(my_func)
ix.class_hierarchy(MyClass)
ix.examples(my_func)
ix.resolve("scitex.io.save")
MCP Server — for AI Agents
Install with pip install "scitex-introspect[mcp]" and the package
exposes async handlers for IPython-style introspection over MCP — agents
can ask "what's the signature of X?" or "show me the source of Y" without
running Python themselves.
Status
Standalone fork of scitex.introspect. Pure stdlib core — zero runtime
deps. The umbrella package's scitex.introspect import path is preserved
via a sys.modules-alias bridge.
Part of SciTeX
scitex-introspect is part of SciTeX.
Four Freedoms for Research
- The freedom to run your research anywhere — your machine, your terms.
- The freedom to study how every step works — from raw data to final manuscript.
- The freedom to redistribute your workflows, not just your papers.
- The freedom to modify any module and share improvements with the community.
AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.
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.5.tar.gz.
File metadata
- Download URL: scitex_introspect-0.1.5.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e04b6a301ecdcfd4c0f4e6001ebd1d60b860015fec441c1816b93fccc3853ab
|
|
| MD5 |
09c9dcc4a7aeecc2bd8551943f03cc5e
|
|
| BLAKE2b-256 |
38189295939906ef4b19a0e6fb4a846f7ea9d7214f141331c0b0fb93e8ecb897
|
Provenance
The following attestation bundles were made for scitex_introspect-0.1.5.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.5.tar.gz -
Subject digest:
7e04b6a301ecdcfd4c0f4e6001ebd1d60b860015fec441c1816b93fccc3853ab - Sigstore transparency entry: 1417354831
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-introspect@246e0fc399614b4786483722df10e19e8b297657 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@246e0fc399614b4786483722df10e19e8b297657 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file scitex_introspect-0.1.5-py3-none-any.whl.
File metadata
- Download URL: scitex_introspect-0.1.5-py3-none-any.whl
- Upload date:
- Size: 38.5 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 |
1a30edf0a55c75168b3445dfd7edf37f1815cebba0872a6cd644356063461e15
|
|
| MD5 |
bb4a3c51f6437ca34c49d5238b3829bc
|
|
| BLAKE2b-256 |
a51805cb927ddb69096210ef906837a168c62e5a5d39e22659e1e60a2f046f3c
|
Provenance
The following attestation bundles were made for scitex_introspect-0.1.5-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.5-py3-none-any.whl -
Subject digest:
1a30edf0a55c75168b3445dfd7edf37f1815cebba0872a6cd644356063461e15 - Sigstore transparency entry: 1417354836
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-introspect@246e0fc399614b4786483722df10e19e8b297657 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@246e0fc399614b4786483722df10e19e8b297657 -
Trigger Event:
workflow_dispatch
-
Statement type: