Skip to main content

Python libraries for University of Helsinki internal services

Project description

Python interface to Helsingin yliopisto

Collection of tools to collect information from various University of Helsinki data sources via their public (unofficial) APIs.

People search

This pulls data from the People Finder.

from pyhy import people
matti = people.search('Matti Nelimarkka')
print( "Call Matti", matti['mobileNumber'] )
print( "Matti works at", matti['researchOrganization'][-1]['name'])

csds_org_id = matti['researchOrganization'][-1]['id']
csds = people.by_organisation( csds_org_id  )

for member in csds:
  print('Also working at CSCS:', member['firstnames'] + ' ' + member['lastname'])

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

py4hy-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

py4hy-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file py4hy-0.0.1.tar.gz.

File metadata

  • Download URL: py4hy-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for py4hy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8beb0209bbec7eff278c20a276b75f8a5da1ed3add3ffdf62f34bed83d86f691
MD5 119e9bb3c99189d17703d375df7757da
BLAKE2b-256 8f81d85fd02ba889e67b11ee1b50be25e01f038d0a9264bedadbd62bb7dd4af2

See more details on using hashes here.

File details

Details for the file py4hy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py4hy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for py4hy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3df81891cb2f96921ed1a64e0f9b27f2bc5a89d3e0a926bd28ed8f4047fe1661
MD5 431a71ba15f6f75450ace5fa78324050
BLAKE2b-256 aee589aa21368058aecc46e8db8e0df803f8ff6b2760c098a557e7e6feea3dd3

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