programmatic access to D-PLACE/dplace-data
Project description
pydplace
A Python library to access D-PLACE data.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.