Skip to main content

Study Registry client — register, search, and manage reproducible computational studies

Project description

studyreg

Study Registry client — register, search, and manage reproducible computational studies.

Install

pip install studyreg

Quick Start

from studyreg import register, search, validate

# Register a new study
study = register(
    title="Oncology survival analysis with XGBoost",
    repo="https://github.com/example/oncology-study",
    tags=["oncology", "survival", "xgboost"],
    sphere="S",
)
# → {"id": "STU-0042", "status": "registered", ...}

# Search existing studies
results = search(domain="agriculture", status="completed")
# → [Study(...), Study(...)]

# Validate a study registration
validate(study)
# → {"valid": true, "warnings": []}

API

register(title, repo, tags, sphere) -> dict

Register a new computational study.

Returns dict with id, status, and registration metadata.

search(domain=None, status=None, tags=None, sphere=None) -> list[dict]

Search registered studies by domain, status, tags, or sphere.

Returns list of matching study dicts.

validate(study: dict) -> dict

Validate a study registration for completeness.

Returns {"valid": bool, "warnings": list[str]}.

License

MIT © K-RnD-Lab

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

studyreg-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

studyreg-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file studyreg-0.1.0.tar.gz.

File metadata

  • Download URL: studyreg-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for studyreg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d789fb1c59e0279f3ed0d4df7c2cb966d8988fbd5ca74dff1cad57e82d706197
MD5 d6f54acae4e204eaca055d3145867130
BLAKE2b-256 b757f8c0dfb6a57e940f797e69811d450f97656726531bd4b8b235ba9419793d

See more details on using hashes here.

File details

Details for the file studyreg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: studyreg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for studyreg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd449c67fca484ed72b1f7f85dd8873c7e25b015c7c520caa1a34b5d37935b51
MD5 4be966e336dd83ba4a5e7cf261691043
BLAKE2b-256 674e42d5391830e3ecee21dadce43082659d26e1ccf274eeeddd29239b7ec1b3

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