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
Metadata
Release files for replicatescience 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| replicatescience-0.1.0.tar.gz | 9.6 kB | Without provenance | Details for replicatescience-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| replicatescience-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for replicatescience-0.1.0-py3-none-any.whl |
Total release size: 20.9 kB
Release files / replicatescience-0.1.0.tar.gz
| Download URL | replicatescience-0.1.0.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4402807e4332c09bdc098e8f96afa3df0932b1e7d4ed76f6601ad2b4412a6807
|
|
BLAKE2b-256 checksum How to use checksums |
2b585edc42a067b25ef22c91e3255884b45b95869230563494d97cc81e21645d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / replicatescience-0.1.0-py3-none-any.whl
| Download URL | replicatescience-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb84f99c913b4b7342cdf8a3907e453bfef8e36e42178cf97211d451ec46eb30
|
|
BLAKE2b-256 checksum How to use checksums |
bcb5f956dbd93113ca837975ad92b132ec04470ab17f560fe7abbcc974cbadb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for replicatescience 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.