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.20] - 2021-01-26

Changed:

  • TokenClient Bug Fix: Check encoded token type before attempting to decode.

[0.0.19] - 2021-01-26

Changed:

  • TokenClient Code Change: Separate token encode and decode steps (for debugging).

[0.0.18] - 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.20.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

hirmeos_clients-0.0.20-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hirmeos-clients-0.0.20.tar.gz
  • Upload date:
  • Size: 6.9 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.20.tar.gz
Algorithm Hash digest
SHA256 e7c9743159572e40ffd9c0faba9d5f328d5e81a34a4d98e25a7d6749f284d68d
MD5 7f570416643d531d07c97a5c61ba0e29
BLAKE2b-256 fd250394fc77a4665e68a8c0073c734ca4e0863707b9c49eed0f5600cf719e05

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: hirmeos_clients-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.20-py3-none-any.whl
Algorithm Hash digest
SHA256 76f8a309a35536cac5be8e30fba88b464d9fb841a4a406814033b675e3fbe631
MD5 220e0f10ee180d52a245f64d9fde478c
BLAKE2b-256 bedfbec4eedc4d0d1d365c7a7b8907c88197511bce98a8b6e10debbd2166321f

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