Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Manage objects in a CDSTAR instance through a catalog

Project description


Build Status codecov Requirements Status PyPI

Manage objects in a CDSTAR instance using a local catalog.



pip install cdstarcat

will install the cdstarcat package as well as a commandline interface cdstarcat.

For developing cdstarcat, clone the repository clld/cdstarcat and run

cd cdstarcat
pip install -r requirements.txt



cdstarcat --help

to get a list of available subcommands, and

cdstarcat help SUBCOMMAND

to get usage information for a particular subcommand.

cdstarcat API

Typically, cdstarcat will be used programmatically, to implement recurring media file maintenance tasks within projects - such as uploading media files for a new submission to Dictionaria.

In the simplest case this could look as follows:

import os
from cdstarcat import Catalog

def upload(directory):
    with Catalog(
    ) as cat:
        md = {
            'collection': 'PROJECT NAME',
            'path': '%s' % directory,
        for fname, created, obj in cat.create(directory, md):
            print('{0} -> {1}'.format(fname,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cdstarcat, version 1.3.0
Filename, size File type Python version Upload date Hashes
Filename, size cdstarcat-1.3.0-py3-none-any.whl (11.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cdstarcat-1.3.0.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page