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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file durham-directory-1.0.1.tar.gz.

File metadata

  • Download URL: durham-directory-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.14.10-arch1-1

File hashes

Hashes for durham-directory-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2597db5818d4ee727ddf445e89e8762bbd040e4105fd7d7486c3e6a0bdf02abd
MD5 0c94d099e2370db89a3ab8bdffba31f1
BLAKE2b-256 3b64c8c482a362e68440f2200e238e59e183f5f4a6a4485d182c1c960fb61b61

See more details on using hashes here.

File details

Details for the file durham_directory-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: durham_directory-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.9.7 Linux/5.14.10-arch1-1

File hashes

Hashes for durham_directory-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01703aaef4b9fbda7335ff0af3c9ebc4b70fb441f4dc1364edfc3f9aa360a8fe
MD5 719fc7209f8e6d7373069953870e9f3f
BLAKE2b-256 edbc688695b4032ecdaaaae7d5560372e1aa94712a15314b739f1631d0047e15

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