sunpy-cloudcatalog
A SunPy-affiliated package providing a sunpy.net.Fido client for
querying file manifests from the
CloudCatalog service.
This package integrates CloudCatalog datasets directly into the SunPy data discovery ecosystem.
Overview
sunpy_cloudcatalog implements a SunPy BaseClient that allows:
- Searching CloudCatalog datasets via
Fido.search() - Returning results as
QueryResponseTable - Generating CSV manifest files via
Fido.fetch() - Using custom query attributes (
Bucket,DataID)
The package follows the official SunPy Fido extension mechanism: https://docs.sunpy.org/en/stable/topic_guide/extending_fido.html
Installation
From PyPI
pip install sunpy_cloudcatalog
Development Installation
git clone https://github.com/<org>/sunpy-cloudcatalog.git
cd sunpy-cloudcatalog
pip install -e .
Usage
Importing the package registers the client with SunPy automatically.
import sunpy_cloudcatalog
from sunpy.net import Fido, attrs as a
from sunpy_cloudcatalog import Bucket, DataID
Example Search
res = Fido.search(
a.Time("2012-01-01", "2012-01-02"),
Bucket("s3://gov-nasa-hdrl-data1/"),
DataID("aia_0094"),
)
print(res[0][:2])
Fetch a Manifest
manifest = Fido.fetch(res)
print(list(manifest))
This writes a CSV manifest file describing the matching CloudCatalog entries.
Query Attributes
Bucket
CloudCatalog bucket URI:
Bucket("s3://gov-nasa-hdrl-data1/")
DataID
Dataset identifier within the CloudCatalog bucket:
DataID("aia_0094")
Returned Columns
Search results contain:
Start TimeEnd TimeBucketDataIDURLKeySize
Testing
Run unit tests:
pytest
Run integration tests (network required):
pytest -m integration
Project Structure
sunpy-cloudcatalog/
├── pyproject.toml
├── pytest.ini
├── src/
│ └── sunpy_cloudcatalog/
│ ├── __init__.py
│ ├── main.py
└── tests/
SunPy Affiliated Package Status
This project follows the SunPy affiliated package guidelines:
- Uses the official Fido extension interface
- Provides documentation and tests
- Is versioned and distributed via PyPI
- Maintains compatibility with supported SunPy releases
Affiliation information: https://sunpy.org/affiliated/
Contributing
Contributions are welcome. Please:
- Open an issue to discuss changes.
- Submit pull requests with tests.
- Ensure
pytestpasses locally.
License
The MIT License (MIT)
Metadata
Release files for sunpy-cloudcatalog 1.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 |
|---|---|---|---|---|
| sunpy_cloudcatalog-1.0.1.tar.gz | 14.4 kB | Without provenance | Details for sunpy_cloudcatalog-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sunpy_cloudcatalog-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for sunpy_cloudcatalog-1.0.1-py3-none-any.whl |
Total release size: 22.5 kB
Release files / sunpy_cloudcatalog-1.0.1.tar.gz
| Download URL | sunpy_cloudcatalog-1.0.1.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
159c9e7ce7d2641496d5a0714fed48dc3b77398836fd7a74c9fde46ae9eaf8fb
|
|
BLAKE2b-256 checksum How to use checksums |
ef8dcc3c92895a32c794b75c8028cb04e754f7f2f02fd8e2502039323d864b67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / sunpy_cloudcatalog-1.0.1-py3-none-any.whl
| Download URL | sunpy_cloudcatalog-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2517cee8fd5e41b3c7f2449e15413ed9b4fe076a18ef838a53456dd11b399ba
|
|
BLAKE2b-256 checksum How to use checksums |
4fd853ebf36deef5969b225bb176e4c3ebae1a40020191b6e0e573fbd264cb5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for sunpy-cloudcatalog 1.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.