Client library for Anaconda Catalogs
Project description
Anaconda Catalogs client
A light client library for interfacing with the Anaconda catalogs service.
Usage
Currently, the catalogs are referenced by their unique ID of the form cid/09e802da-65b3-4ea0-b60d-642c88c7a541
.
A user can load a catalog with the following:
import anaconda_catalogs
cat = anaconda_catalogs.open_catalog("cid/09e802da-65b3-4ea0-b60d-642c88c7a541")
Alternately, the native intake
plugin can be used:
import intake
cat = intake.open_anaconda_catalog("cid/09e802da-65b3-4ea0-b60d-642c88c7a541")
Or in an Intake catalog file,
## contents of catalog.yaml
sources:
anaconda:
driver: anaconda_catalog
args:
name: cid/09e802da-65b3-4ea0-b60d-642c88c7a541
which is opened in Intake as
import intake
cat = intake.open_catalog('catalog.yaml')
Development guide
A contributing guide can be found in CONTRIBUTING.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anaconda-catalogs-0.1.0.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for anaconda_catalogs-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23c418b3aec44a3536864da301f8208f0d318bf8234d64d24819b6cff89c461 |
|
MD5 | 418600c961248cad0abb0c0df1b5e4d1 |
|
BLAKE2b-256 | 3cb4d16245b72e3641274ecd5b782b84ea829728c66f5ef2655c24efd33a70ae |