Skip to main content

programmatic access to D-PLACE/dplace-data

Project description

pydplace

A Python library to access D-PLACE data.

Build Status codecov PyPI

To install pydplace you need a python installation on your system, running python 2.7 or >3.4. Run

pip install pydplace

to install the requirements, pydplace and the command line interface dplace.

pydplace is built to access data in a local clone or export of D-PLACE's data repository https://github.com/D-PLACE/dplace-data

CLI

Command line functionality is implemented via sub-commands of dplace. The list of available sub-commands can be inspected running

$ dplace --help
usage: deplace [-h] [--verbosity VERBOSITY] [--log-level LOG_LEVEL]
                 [--repos REPOS]
                 command ...
...

Use 'dplace help <cmd>' to get help about individual commands.

Python API

D-PLACE data can also be accessed programmatically. All functionality is mediated through an instance of pydplace.api.Repos, e.g.

>>> from pydplace.api import Repos
>>> api = Repos('.')

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 pydplace, version 2.3.0
Filename, size File type Python version Upload date Hashes
Filename, size pydplace-2.3.0-py2.py3-none-any.whl (18.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pydplace-2.3.0.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page