scigantic
scigantic turns a dataset name into a notebook. Give it a Hugging Face dataset
(owner/repo) or a Scigantic archive id and it opens a page on scigantic.com where
the dataset is mounted read-only inside a hosted JupyterLab with a starter notebook. The same package can list and stream the files
of a Hugging Face dataset locally over hf://, so you can look before you launch.
Install
pip install scigantic
Local streaming needs huggingface_hub:
pip install "scigantic[hf]"
Python 3.9 or newer. The base package has no dependencies.
Open a dataset in the browser
Command line:
scigantic open hf:openadmet/cyp-challenge-train-test
This prints https://scigantic.com/hf/openadmet/cyp-challenge-train-test and opens it
in your default browser. Add --no-browser to print the URL only, or --json to call the
resolve API and print its reply (the archive id, and whether this request created it).
Python:
import scigantic
url = scigantic.url_for("openadmet/cyp-challenge-train-test") # no network
scigantic.open("openadmet/cyp-challenge-train-test") # opens the browser
info = scigantic.resolve("openadmet/cyp-challenge-train-test") # {"archiveId": ..., "created": ...}
Accepted references: hf:owner/repo, owner/repo, a https://huggingface.co/datasets/...
URL, a Scigantic archive id, or a https://scigantic.com/archive/<id> URL.
The first request for a dataset creates its catalog entry. Later requests return the
existing one. If the dataset cannot be served, resolve raises SciganticError whose
reason is one of private, gated, disabled, not_found, license, too_large,
invalid_repo or rate_limited.
Stream files locally with hf://
from scigantic import hf
hf.files("openadmet/cyp-challenge-train-test")
# ['README.md', 'cyp-challenge-TRAIN_inhibition.csv', ...]
with hf.open("openadmet/cyp-challenge-train-test", "cyp-challenge-TRAIN_inhibition.csv") as f:
head = f.read(4096)
Reads go through huggingface_hub.HfFileSystem as HTTP range requests, so nothing is
downloaded in full. Hugging Face rate limits apply.
Catalog search
scigantic search "mass spectrometry"
scigantic info 15b4d4e6-d24e-5344-9789-9501cded9c3c
scigantic.catalog.search(query, limit=10) and scigantic.catalog.get(archive_id) expose
the same read-only API from Python.
What the hosted notebook requires
The landing page and the catalog API need no account. Running the notebook needs a free Scigantic account. Only public Hugging Face datasets with a permissive licence are served (for example MIT, Apache-2.0, CC BY, CC0, ODC). Private, gated and disabled repositories, and datasets whose card carries no recognised licence, are refused with the reason above and a link back to the source.
Licence
MIT. See LICENSE.
Metadata
Release files for scigantic 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 |
|---|---|---|---|---|
| scigantic-0.1.0.tar.gz | 9.4 kB | Without provenance | Details for scigantic-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scigantic-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for scigantic-0.1.0-py3-none-any.whl |
Total release size: 18.7 kB
Release files / scigantic-0.1.0.tar.gz
| Download URL | scigantic-0.1.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2084aa6d7603333a64814c685be2fe2b4060f24bf2cc2279a1599c11537c0e28
|
|
BLAKE2b-256 checksum How to use checksums |
d49b79799c0e06f3763d7438c8708f3e80d1ad5b3141a4be6139ac5460c08f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / scigantic-0.1.0-py3-none-any.whl
| Download URL | scigantic-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dd6eb465ab77660ac4bcb722b2baed51177ef22d04d70a0da8b0bc97a4e2633
|
|
BLAKE2b-256 checksum How to use checksums |
c40826ac47079ae8e1ee44540953fe2b6af3ef53ca45e4fc06264b323f35e7dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for scigantic 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.