Skip to main content

Command Line Interface and Python classes for interacting with MyTardis's REST API.

Project description

travis codecov Documentation Status Updates Python 3

Command Line Interface and Python classes for interacting with MyTardis’s REST API.


pip install mytardisclient

Install latest development version:

pip install git+


Determine the location of the configuration file where the MyTardis URL is specified:

>>> from mtclient.conf import config
>>> config.path
>>> config.url

Use mytardisclient’s Dataset model class to look up a public dataset (with ID 125) from the MyTardis server, using its RESTful API:

>>> from mtclient.models.dataset import Dataset
>>> Dataset.objects.get(id=125)
<Dataset: Test Public Dataset1>

The syntax is intended to be similar to Django ORM syntax, however it is not nearly as powerful yet.


Tests can be run with:

pytest --cov=mtclient


pytest --cov=mtclient --cov-report=html

Building Documentation

Documentation can be built with:

cd docs/
make html

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 mytardisclient, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size mytardisclient-0.3.3.tar.gz (60.9 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