Copernica Python SDK
Official Python client for the Copernica synthetic dataset marketplace.
Status: 0.0.0 alpha. This release reserves the
copernicanamespace on PyPI. The public API may change in subsequent releases.
Installation
pip install copernica
For DataFrame integration, install with the appropriate extra:
pip install copernica[pandas] # adds pandas + pyarrow
pip install copernica[polars] # adds polars
pip install copernica[all] # both
Requires Python 3.11+.
Quickstart
from copernica import Copernica
client = Copernica(api_key="cp_live_...") # or set COPERNICA_API_KEY in env
# List published datasets
results = client.list_datasets(limit=20)
for d in results.data:
print(d.id, d.name, d.size_bytes)
# Search by query
hits = client.search("electronic health records")
# Get one dataset's full metadata
dataset = client.get_dataset("a1b2c3d4-...")
# Download to disk and load into pandas
result = client.download("a1b2c3d4-...", format="parquet", output_path="./ehr.parquet")
df = result.to_pandas() # requires copernica[pandas]
Authentication
Generate an API key from your dashboard at Settings → Developers. Keys use the cp_live_ prefix.
The client reads COPERNICA_API_KEY from the environment if no key is passed explicitly:
export COPERNICA_API_KEY="cp_live_..."
client = Copernica() # picks up env var
Documentation
- API reference: https://copernica.com/docs/api
- SDK guide: https://copernica.com/docs/python-sdk
License
MIT
Metadata
Release files for copernica 0.0.1
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 |
|---|---|---|---|---|
| copernica-0.0.1.tar.gz | 12.4 kB | Without provenance | Details for copernica-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| copernica-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for copernica-0.0.1-py3-none-any.whl |
Total release size: 22.3 kB
Release files / copernica-0.0.1.tar.gz
| Download URL | copernica-0.0.1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7ea39e9c8c7b6054136fb6822e714cf0b1e981a08ce18439cc0edd79c2516fe
|
|
BLAKE2b-256 checksum How to use checksums |
d7e5ace14fc759342f12946fce672c0be39e281efa6e3f43ba6cd5b9d27c032a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / copernica-0.0.1-py3-none-any.whl
| Download URL | copernica-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f798922e6cd6723d11e5c64f6fd04c56014b95d934b3958d01cb3376705121f
|
|
BLAKE2b-256 checksum How to use checksums |
5a4ceb98442cbac35b0844aecc09a34d0d5a8ae522e438c2177599863fcd61bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for copernica 0.0.1
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.