Python SDK for ReplicateScience — programmable protocol library for reproducible science
Project description
ReplicateScience Python SDK
Programmable protocol library for reproducible science. Search, compare, and export experimental protocols extracted from published papers.
Installation
pip install replicatescience
Quick Start
import replicatescience as rs
# Configure your API key (or set RS_API_KEY env var)
rs.configure(api_key="rs_live_YOUR_KEY")
# Search protocols by keyword + species
results = rs.search("fear conditioning", species="mouse")
for p in results.protocols:
print(f"{p.slug}: {p.name} ({p.step_count} steps)")
# Get full protocol detail
protocol = rs.get("smith-fear-conditioning-2024")
# Compare two protocols
diff = rs.diff(
rs.get("smith-fear-conditioning-2024"),
rs.get("jones-fear-conditioning-2023"),
)
print(diff.summary)
print(diff.to_markdown())
# Export to YAML
rs.save(protocol, "protocols/fear-conditioning.yaml")
CLI
# Search from terminal
rs search "pcr" --species mouse --limit 5
# Get a protocol
rs get smith-fear-conditioning-2024 --format yaml > protocol.yaml
# Diff two protocols
rs diff smith-2024 jones-2023
API Key
Get your free API key at replicatescience.com/developers.
| Plan | Requests/Day | Exports/Day |
|---|---|---|
| Free | 100 | 10 |
| Pro | 5,000 | Unlimited |
| Institutional | 50,000 | Unlimited |
Links
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 replicatescience-0.1.0.tar.gz.
File metadata
- Download URL: replicatescience-0.1.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4402807e4332c09bdc098e8f96afa3df0932b1e7d4ed76f6601ad2b4412a6807
|
|
| MD5 |
0075463fd80a77e879bf0430f9b6cee2
|
|
| BLAKE2b-256 |
2b585edc42a067b25ef22c91e3255884b45b95869230563494d97cc81e21645d
|
File details
Details for the file replicatescience-0.1.0-py3-none-any.whl.
File metadata
- Download URL: replicatescience-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb84f99c913b4b7342cdf8a3907e453bfef8e36e42178cf97211d451ec46eb30
|
|
| MD5 |
e3d3d2aa5a0f75e68dda2b1659808fdc
|
|
| BLAKE2b-256 |
bcb5f956dbd93113ca837975ad92b132ec04470ab17f560fe7abbcc974cbadb5
|