Skip to main content

Python API clients for the HIRMEOS project.

Project description

HIRMEOS Clients

Python clients for interacting with APIs that were developed as part of the HIRMEOS project.

Once this has been shown to be working properly, and able to integrate with the HIRMEOS drivers it can be moved to a HIRMEOS/OPERAS PyPI Repo.

Until CI is ready

.. code-block:: bash

$ python3 setup.py sdist bdist_wheel
$ twine upload dist/*

Note: We are still in the early stages of this project so there will be many breaking changes as we go along.

Release Notes:

[0.0.17] - 2020-07-30

Changed:

  • TokenClient Bug Fix: Correctly update request header after refreshing token.

[0.0.17] - 2020-07-29

Changed:

  • TokenClient: update request header after refreshing token, and before retrying request.

[0.0.16] - 2020-07-29

Changed:

  • TokenClient: When creating token, convert from bytes to a string.

[0.0.15] - 2020-07-29

Changed:

  • TranslatorClient.work_exists: Report all content from the translation API response when this method fails (investigation).

[0.0.14] - 2020-07-29

Changed:

  • TranslatorClient.work_exists: Report 'data' content from the translation API when this method fails (investigation).

[0.0.13] - 2020-07-27

Added

  • Token creation option: The TokenClient can now also be used to create a token, based on the logic used by the Tokens API.

[0.0.12] - 2020-05-20

Added

  • New client: AltmetricsClient

[0.0.11] - 2020-04-15

Changed

  • TranslatorClient.prepare_uri: Now returns the URI as a string in the format expected by TranslatorClient.get_work_uris.

[0.0.10] - 2020-04-15

Changed

  • TranslatorClient.post_new_work: 'uris' parameter now assumes the same format as the output from TranslatorClient.get_work_uris, which was causing errors. (bug fix)

[0.0.9] - 2020-04-06

Added

  • translator: Reference variables for work types and URI schemes.
  • translator: Check if a work exists.
  • translator: Fetch all URIs associated with a work.
  • translator: Post new work.

[0.0.8] - 2020-03-06

Changed

  • Make requirements for flexible to avoid conflicts with other packages.

[0.0.7] - 2020-03-06

Added

  • Release notes

Changed

  • Strip trailing slash from TranslatorClient API base.

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

hirmeos-clients-0.0.18.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

hirmeos_clients-0.0.18-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file hirmeos-clients-0.0.18.tar.gz.

File metadata

  • Download URL: hirmeos-clients-0.0.18.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for hirmeos-clients-0.0.18.tar.gz
Algorithm Hash digest
SHA256 490d5ba8a0c58bd2db30e61231797532d48ed878f1993257fd9a82cfd412158b
MD5 a870ba82ca845f889eb7a57023888e20
BLAKE2b-256 45837550a93a93c2779dae319277f1d0d16b1f9aa2d8a5778ee75fabf663b8ab

See more details on using hashes here.

Provenance

File details

Details for the file hirmeos_clients-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: hirmeos_clients-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for hirmeos_clients-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea40e8ca5fd35bd2a444eb1e78f1a8964289c38db0f26f792f2ae4a278bf683
MD5 3d8468423f380240c3e8dbd54d67d283
BLAKE2b-256 e8ec73ff2266e348af8d81aaf19ce849c79b7ef2d1bbe8bdb1f3613233fe88ef

See more details on using hashes here.

Provenance

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