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.2.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for anaconda_catalogs-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5206aa565db14b17b6b405e6ddc0d55b36cf8d484d60cfdcb9bfcfe83133b72d |
|
MD5 | e24567a33fe971eadebb73ce0de4931f |
|
BLAKE2b-256 | fc77a02d39c99b835cd9c2c51bbd198165c64f4deacb12371aec1e49fe6751ea |