A comprehensive Python library for scientific computing and data analysis
Project description
scitex.ai · pip install scitex
Modular Python toolkit for scientific research automation — with verification features to ease peer review.
Empowers both human researchers and AI agents. Each module works independently and adapts to various academic workflows, handling primary and secondary research with real or simulated data.
🎬 Demo
40 min, zero human intervention — AI agent conducts full research pipeline:
Literature search → Data analysis → Statistics → Figures → 21-page manuscript → Peer review simulation
📦 Installation
uv pip install scitex[all] # Recommended: Full installation
uv pip install scitex # Core only
Three Interfaces
| Interface | For | Description |
|---|---|---|
| 🐍 Python API | Human researchers | import scitex as stx — 70% less code |
| 🖥️ CLI Commands | Terminal users | scitex scholar fetch, scitex stats run |
| 🔧 MCP Tools | AI agents | 145 tools for Claude/GPT integration |
🐍 Python API
@stx.session — Reproducible Experiment Tracking
import scitex as stx
@stx.session
def main(filename="demo.jpg"):
fig, ax = stx.plt.subplots()
ax.plot_line(t, signal)
ax.set_xyt("Time (s)", "Amplitude", "Title")
stx.io.save(fig, filename)
return 0
Output:
script_out/FINISHED_SUCCESS/2025-01-08_12-30-00_AbC1/
├── demo.jpg # Figure with embedded metadata
├── demo.csv # Auto-exported plot data
├── CONFIGS/CONFIG.yaml # Reproducible parameters
└── logs/{stdout,stderr}.log # Execution logs
stx.io — Universal File I/O (30+ formats)
stx.io.save(df, "output.csv")
stx.io.save(fig, "output.jpg")
df = stx.io.load("output.csv")
stx.stats — Publication-Ready Statistics (23 tests)
result = stx.stats.test_ttest_ind(group1, group2, return_as="dataframe")
# Includes: p-value, effect size, CI, normality check, power
🖥️ CLI Commands
scitex --help-recursive # Show all commands
scitex scholar fetch "10.1038/..." # Download paper by DOI
scitex scholar bibtex refs.bib # Enrich BibTeX
scitex stats recommend # Suggest statistical tests
scitex audio speak "Done" # Text-to-speech
scitex capture snap # Screenshot
🔧 MCP Tools — 145 tools for AI Agents
Turn AI agents into autonomous scientific researchers.
Typical workflow: Scholar (find papers) → Stats (analyze) → Plt (visualize) → Writer (manuscript) → Capture (verify)
| Category | Tools | Description |
|---|---|---|
| scholar | 23 | PDF download, metadata enrichment |
| stats | 10 | Automated statistical testing |
| plt | 9 | Matplotlib figure creation |
| capture | 12 | Screen monitoring and capture |
| audio | 10 | Text-to-speech, audio playback |
| introspect | 11 | Python introspection |
| diagram | 7 | Mermaid and flowchart creation |
| canvas | 7 | Scientific figure canvas |
| social | 9 | Social media posting |
| template | 4 | Project scaffolding |
| ui | 5 | Notifications |
| writer | 1 | LaTeX manuscript compilation |
Claude Desktop (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"scitex": {
"command": "scitex",
"args": ["mcp", "start"]
}
}
}
🧩 Standalone Packages
SciTeX integrates several standalone packages that can be used independently:
| Package | scitex Module | Description |
|---|---|---|
| figrecipe | scitex.plt |
Publication-ready matplotlib figures |
| crossref-local | scitex.scholar.crossref_scitex |
Local CrossRef database (167M+ papers) |
| socialia | scitex.social |
Social media posting (Twitter, LinkedIn) |
| scitex-writer | scitex.writer |
LaTeX manuscript compilation |
Each package works standalone or as part of scitex:
pip install figrecipe # Use independently
pip install scitex[plt] # Or via scitex
📖 Documentation
- Read the Docs: Complete API reference
- Example Notebooks: 25+ Jupyter notebooks
🤝 Contributing
We welcome contributions! See CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
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-2.15.4.tar.gz.
File metadata
- Download URL: scitex-2.15.4.tar.gz
- Upload date:
- Size: 14.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43b6584973d007c90b94967bbde4e9bb4ccfb1fdba5f78038403dd225a8eb886
|
|
| MD5 |
bcd917c77fe299b3e8256cab129ab30f
|
|
| BLAKE2b-256 |
60bdc793de78d81b76b5edfc7d506b2f8478e1ccfb9f14b6f232965855671902
|
Provenance
The following attestation bundles were made for scitex-2.15.4.tar.gz:
Publisher:
release.yml on ywatanabe1989/scitex-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex-2.15.4.tar.gz -
Subject digest:
43b6584973d007c90b94967bbde4e9bb4ccfb1fdba5f78038403dd225a8eb886 - Sigstore transparency entry: 869012359
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-python@04cfa5b9054381e4b3630068f7094a3fac7481bb -
Branch / Tag:
refs/tags/v2.15.4 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@04cfa5b9054381e4b3630068f7094a3fac7481bb -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex-2.15.4-py3-none-any.whl.
File metadata
- Download URL: scitex-2.15.4-py3-none-any.whl
- Upload date:
- Size: 9.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9421e0128438b932c8909515dcf1cab6dd7c7e0d93f4dedb763bb2cf2d1e2d52
|
|
| MD5 |
7b1ffa2527a4726152eeb0eae037c3fd
|
|
| BLAKE2b-256 |
a070c1446d848f3e730fc07816c096488a7d67bf6bf0b6fc34d38f98d2d28da7
|
Provenance
The following attestation bundles were made for scitex-2.15.4-py3-none-any.whl:
Publisher:
release.yml on ywatanabe1989/scitex-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex-2.15.4-py3-none-any.whl -
Subject digest:
9421e0128438b932c8909515dcf1cab6dd7c7e0d93f4dedb763bb2cf2d1e2d52 - Sigstore transparency entry: 869012364
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-python@04cfa5b9054381e4b3630068f7094a3fac7481bb -
Branch / Tag:
refs/tags/v2.15.4 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@04cfa5b9054381e4b3630068f7094a3fac7481bb -
Trigger Event:
push
-
Statement type: