Skip to main content

A Python wrapper for the Database of Religious History API

Project description

Overview

Python wrapper for the Database of Religious History (DRH) providing programmatic access to DRH data.

Install

To install drhwrapper you need a python installation on your system, running python >= 3.8. Run

pip install drhwrapper

Python API

Using drhwrapper, DRH data can be accessesd programmatically from within python. All functionality is mediated through an instance of drhwrapper.DRHwrapper, e.g.

>>> from drhwrapper import DRHwrapper
>>> drh = DRHwrapper()

Getting started

To run the demos, you will first need to install the drhwrapper package from PyPI. It is good practice to use a virtual environment to keep depencies tidy and separate from other projects

# create virtual environment
python -m venv env 

# activate virtual environment
# Windows
env\Scripts\activate
# macOS, Linux
source env/bin/activate

# install drhwrapper
pip install drhwrapper 

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

drhwrapper-0.1.1.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

drhwrapper-0.1.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file drhwrapper-0.1.1.tar.gz.

File metadata

  • Download URL: drhwrapper-0.1.1.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for drhwrapper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ecb07303f7b24613fb32f34496006d647aad394e420fc4a9b26f74ff035bfd4a
MD5 2a326cd2ab9037cf032a16eb227c5060
BLAKE2b-256 c7cb1d06314c5594c7f09f27280c13f093b2c4c94b6cb435a85272476ae3e15d

See more details on using hashes here.

File details

Details for the file drhwrapper-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: drhwrapper-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for drhwrapper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84ae0ef468b8cb68c44d64ace14447a89cc17f610e7b11c59b15a5297e4c5cb0
MD5 a557ed7a8dae56243c2f2628a2de86dd
BLAKE2b-256 6785ba7f26f40f598287805a7fba066de9bc819c357709dd952833315462ba35

See more details on using hashes here.

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