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.1.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydplace-2.1.1-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pydplace-2.1.1.tar.gz.

File metadata

  • Download URL: pydplace-2.1.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for pydplace-2.1.1.tar.gz
Algorithm Hash digest
SHA256 d5331aa0d467d7ab80341ad8da1228509cbcea10a54be67c3b88fed4623152d3
MD5 4974d9f35933ea0e90488a7f6d45b98d
BLAKE2b-256 d72d110742128256b61910cb96331863d60d6a97513d2fcac56003ac4dff49b8

See more details on using hashes here.

File details

Details for the file pydplace-2.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pydplace-2.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for pydplace-2.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f12d722cbd943092cfee0a09a99ee30652336bd5ef590f2b3761f8dcd73f7bb
MD5 288d79d961ad0d13035c4929a578b95b
BLAKE2b-256 4dfd64e7abf4ac3f782ccd798775376ff72b7dc08d7f342544dc685ef75285ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page