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.

Source Distribution

pydplace-2.4.0.tar.gz (18.2 kB view hashes)

Uploaded source

Built Distribution

pydplace-2.4.0-py2.py3-none-any.whl (22.3 kB view hashes)

Uploaded py2 py3

Supported by

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