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

Uploaded Source

Built Distribution

durham_directory-1.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: durham-directory-1.1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 fa1629c83eda15a26c29c4bad25df461cb66435233bb4a6c20997ecc1c953e2b
MD5 2be6b89a9b325476f29aedd6c1b02bc8
BLAKE2b-256 8460d1e99c9f8900d3b74a58d89c145fa1d7e2f771b187cf82f94edc3a7a314e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: durham_directory-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f727f6060b39e2102894eebe453d42491f077c13dc73ffcc692cd4295b4590aa
MD5 5b67f489cbdb692f1aae2991b51e3890
BLAKE2b-256 433deeec6de26a3ad084d653c924611f270698a710cdbe1b72569fb82fb34f4c

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