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
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.
Source Distribution
Built Distribution
File details
Details for the file drhwrapper-0.1.1a1.tar.gz
.
File metadata
- Download URL: drhwrapper-0.1.1a1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7ae462927601a11d45f3dc5a2f5aa8cd4dce13db31691c33f3b1313079a972 |
|
MD5 | 0f94d9d3f34842fbd5f6ad37006a3485 |
|
BLAKE2b-256 | 4322a6a91c5b164c4597587f685f7134528c04b42d6756e28900ca057135c228 |
File details
Details for the file drhwrapper-0.1.1a1-py3-none-any.whl
.
File metadata
- Download URL: drhwrapper-0.1.1a1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b39413fa06ab74210b339fc62202ab033f22ada531d1d52a66df20ba48e62c75 |
|
MD5 | c4dcb5cd3e23b71abebf089a930f4cba |
|
BLAKE2b-256 | 8e6af59c1fec31c80fc99d3b1ac39e2e608acf7997650cd0c0eb62f2d591be45 |