Skip to main content

A comprehensive Python library for scientific computing and data analysis

Project description

SciTeX

PyPI version Python Versions License uv recommended

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

SciTeX Demo

📦 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 108 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

Full module status

🖥️ 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

Full CLI reference

🔧 MCP Tools — 108 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"]
    }
  }
}

Full MCP tool reference

📖 Documentation

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md.


SciTeX
AGPL-3.0 · ywatanabe@scitex.ai

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

scitex-2.15.1.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

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

scitex-2.15.1-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file scitex-2.15.1.tar.gz.

File metadata

  • Download URL: scitex-2.15.1.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for scitex-2.15.1.tar.gz
Algorithm Hash digest
SHA256 b1d51177ffd0abfc57788f01fba80a54bb1bf9e4a7ef0ff4e9534dac08bc3f6c
MD5 f49d10918e0a38cd3bca948c4302fb04
BLAKE2b-256 7371b4e9b77c884eac4ee8bcef19cca0b024cce4cb13a67673f5fd522e41d90f

See more details on using hashes here.

File details

Details for the file scitex-2.15.1-py3-none-any.whl.

File metadata

  • Download URL: scitex-2.15.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for scitex-2.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5312796003c3ef04b6ff7f64af2a4020e445a5a7aca6fdb2a057b2e4c61d86da
MD5 02a1ead643bcfadcddbe261343428fb0
BLAKE2b-256 54e22bafaffbf768bf1baa82117651a2c4d7ba0a94010bb27f4baa5e5e85f4f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page