Skip to main content

Xpublish-Intake-Provider

Xpublish-Intake-Provider allows serving datasets with Xpublish specified by Intake catalogs.

Installation

For conda users you can

conda install --channel conda-forge xpublish_intake_provider

or, if you are a pip users

pip install xpublish_intake_provider

Example

Currently this package includes one plugin which can load an Intake catalog and serve it's datasets via /datasets/{dataset_id}.

You can register the plugin multiple times in order to serve multiple catalogs as long as each gets its own name.

from xpublish_intake_provider import IntakeDatasetProviderPlugin

rest = xpublish.Rest({})

rest.register_plugin(
    IntakeDatasetProviderPlugin(
        name="gfs-datasets",
        uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gfs-1-4deg.yaml"
    )
)
rest.register_plugin(
    IntakeDatasetProviderPlugin(
        name="gomofs-datasets",
        uri="https://raw.githubusercontent.com/axiom-data-science/mc-goods/main/mc_goods/gomofs.yaml"
    )
)

Get in touch

Report bugs, suggest features or view the source code on GitHub.

License and copyright

xpublish_intake_provider is licensed under BSD 3-Clause "New" or "Revised" License (BSD-3-Clause).

Development occurs on GitHub at https://github.com/ioos/xpublish_intake_provider.

Metadata

Release files for xpublish-intake-provider 0.1.1

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

Source distribution (sdist)

Source distribution for xpublish-intake-provider 0.1.1
File Size Uploaded
xpublish-intake-provider-0.1.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xpublish-intake-provider 0.1.1
File Interpreter ABI Platform
xpublish_intake_provider-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / xpublish-intake-provider-0.1.1.tar.gz

Download URL xpublish-intake-provider-0.1.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
821d89f339c26f2e386579482b2ff5f89879ccc29933d24a333f577b28b784e2
BLAKE2b-256 checksum
How to use checksums
26e49ffca5b87f9ab5394f7a47d56a4482ebe49dcc7543779471a2dd76b7f732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / xpublish_intake_provider-0.1.1-py3-none-any.whl

Download URL xpublish_intake_provider-0.1.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfc2fd468b8ca18ae9fa60a7aee32574cbbbce58a60100c9f020d841fd875ad9
BLAKE2b-256 checksum
How to use checksums
1ba2c8d5553284049b1ea5f7d4989c763c605225f21a0d05aada999eaa3513c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

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