Skip to main content

gena-datasets

Python client for browsing public datasets and submitting a dataset to Gena for review.

Install

python -m pip install gena-datasets

Read public datasets

from gena_datasets import GenaDatasetsClient

gena = GenaDatasetsClient()
for item in gena.list_datasets():
    print(item["id"], item["title"], item["license"])

dataset = gena.get_dataset("tulueng100-reference")
print(dataset["content"])

Public catalog access does not require sign-in. download_dataset(id) returns the original dataset file contents as text.

Submit a dataset

id_token = current_firebase_user.get_id_token()
submission = gena.submit_dataset(
    {
        "title": "Example collection",
        "description": "A short description of the data and how it was collected.",
        "language": "English",
        "license": "CC BY 4.0",
        "fileName": "examples.jsonl",
        "content": '{"text":"Example"}\n',
        "rightsConfirmed": True,
    },
    id_token=id_token,
)

print(submission["datasetId"], submission["status"])

Submissions are private while pending review. A designated Gena moderator must approve a submission before it becomes public. The contributor must have permission to share the data and choose a license that allows publication. Current uploads are limited to 900,000 bytes and .csv, .json, .jsonl, or .txt files.

API endpoints

  • GET /api/gena/datasets
  • GET /api/gena/datasets/{id}
  • POST /api/gena/datasets with a signed-in account token

License

MIT

Metadata

Release files for gena-datasets 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gena-datasets 0.1.0
File Size Uploaded Provenance
gena_datasets-0.1.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gena-datasets 0.1.0
File Interpreter ABI Platform
gena_datasets-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / gena_datasets-0.1.0.tar.gz

Download URL gena_datasets-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b2a7d10a88c90b44e2953b696fcf8dd6e3cd8081b0af116caf832f06d8ba0fad
BLAKE2b-256 checksum
How to use checksums
ffa5898dcb02e9b654534e87f5af722e837bcd70e79138ea47c4f25027e0c59a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / gena_datasets-0.1.0-py3-none-any.whl

Download URL gena_datasets-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f9971abd752781c5ee1f7180eb3589ad8c413d0b7c612798eeb26ea9bc0bc59
BLAKE2b-256 checksum
How to use checksums
7543ff25692d136c47a4894a69aa7965ee0be4e67d4b50ff6f7c12d08ddee08e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for gena-datasets 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page