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 details)
Built Distribution
File details
Details for the file anaconda-catalogs-0.2.0.tar.gz
.
File metadata
- Download URL: anaconda-catalogs-0.2.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f9396ced850ec377fd6ef0d9be43bb6f62dd0a61da69582d077458e3bb12e7d |
|
MD5 | aadb2a295026c4f6e2f8d4b4c5e53cd4 |
|
BLAKE2b-256 | e86864c282188bba5be224625eb232e41d906e8d420bfffb693241365ea70cb8 |
File details
Details for the file anaconda_catalogs-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: anaconda_catalogs-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5206aa565db14b17b6b405e6ddc0d55b36cf8d484d60cfdcb9bfcfe83133b72d |
|
MD5 | e24567a33fe971eadebb73ce0de4931f |
|
BLAKE2b-256 | fc77a02d39c99b835cd9c2c51bbd198165c64f4deacb12371aec1e49fe6751ea |