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.3.0.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

pydplace-2.3.0-py2.py3-none-any.whl (18.7 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