Skip to main content

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


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)

Uploaded Source

Built Distribution

anaconda_catalogs-0.2.0-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page