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

Uploaded Source

Built Distribution

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

pydplace-0.5.0-py2.py3-none-any.whl (15.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pydplace-0.5.0.tar.gz
  • Upload date:
  • Size: 13.5 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-0.5.0.tar.gz
Algorithm Hash digest
SHA256 58964ae43d043bae8ec5da3a5e6480a1081a954a85bac9989039245ab79e8e72
MD5 cc2a59599bfd3f1e46d0607e3d7182bd
BLAKE2b-256 3061942e7ab2f06818c532a73556329be09f08cf2128081ac231429fc154321b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydplace-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.3 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-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1a614b81ba059091835355e22723f239c48f6e85ed9f915d28790fc31834f399
MD5 51ef9a76519ada50c17269d098c8bdb7
BLAKE2b-256 22cc804e7b31f60cb9f94300f749e987a76b1751264d4b04ca22da9b9dba76ee

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