Skip to main content

Python Bindings for the Durham University (UK) Directory

Project description

Python bindings for the Durham University (UK) Directory

This package provides basic python bindings for the Durham University Directory, where Durham University students and staff can look up fellow students and staff.

It is nothing more than a wrapper around requests and bs4, and absolutely nothing clever is being done (although I do think the code is pleasantly simple), and absolutely nothing clever is being done (although I do think the code is pleasantly simple).

Installation

python -m pip install durham-directory

CLI Usage

durham-directory --help
durham-directory --oname John --surname Morris

API Usage

from durham_directory import Query
query = Query(username="me") # will prompt for password when evaluated
query(oname="John", surname="Morris", type_="any")

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

durham-directory-1.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

durham_directory-1.0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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