Skip to main content

HIRMEOS Clients

Python clients for interacting with APIs that were developed as part of the OPERAS Metrics services - originally developed during the HIRMEOS project.

Release Notes:

[0.2.4] - 2025-10-31

Changed:
  • Bug Fix: Update logic for determining whether a work exists to consider when all results are non-canonical.

[0.2.3] - 2025-10-28

Changed:
  • Bug Fix: Update logic for determining whether a work exists to take “canonical uri” info into consideration.

[0.2.2] - 2025-10-16

Changed:
  • Added logs for monitoring purposes.

[0.2.1] - 2025-09-02

Changed:
  • Upgraded to support the latest versions of Python.

[0.2.0] - 2025-03-13

Breaking Change:
  • Change processing of API response data introduced in version 2.0.34 of the identifier_translation_service - where “UUID” in the response was changed to “work_id”

[0.1.9] - 2024-06-10

Added:
  • Updated respose

Changed:
  • Added 403 to the authentication_request method.

[0.1.8] - 2023-11-16

Added:
  • Updated tests

Changed:
  • AltmetricsClient.get_token function split between two methods, get_token and set_token

  • Added token_has_expired optional parameter to AltmetricsClient.set_header()

[0.1.7] - 2023-11-15

Added:
  • Updated tests

  • added an authenticated post request method to the Altmetrics client

[0.1.6] - 2022-11-04

Added:
  • Update tests (minor)

Changed:
  • Update PyJWT requirement, as lower versions had security vulnerabilities.

[0.1.5] - 2022-05-20

Added:
  • Add tag uri schemes to variables list.

[0.1.4] - 2021-12-02

Changed:
  • Update processing canonical identifiers in the translator client logic to allow multiple works to be returned when uri_strict=True is used.

[0.1.3] - 2021-10-20

Changed:
  • Update requirements to be more flexible

[0.1.2] - 2021-10-15

Added:
  • Allow canonical URIs to be set when creating works in the translator service

  • Main identifier will be registered as a canonical identifier when creating a work

[0.1.1] - 2021-10-15

Added:
  • Add method to delete URIs from a work

  • Add method to update/set the canonical flag for a URI

[0.1.0] - 2021-02-02

Added:
  • Unit Tests for Translator Client

  • Translator Client attributes: remove_uri_trailing_slash & use_lower_case_uris. These automatically format URIs for consistency.

[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.

Release files for hirmeos-clients 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hirmeos-clients 0.2.4
File Size Uploaded
hirmeos_clients-0.2.4.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hirmeos-clients 0.2.4
File Interpreter ABI Platform
hirmeos_clients-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 24.8 kB

Release files / hirmeos_clients-0.2.4.tar.gz

Download URL hirmeos_clients-0.2.4.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
43bcd4bef4bf9170a49a08e480ab169c26d5d3d22bc5e514a1fe7d3fd73184b8
BLAKE2b-256 checksum
How to use checksums
9d939357b043876669eb5ff5bdc148b7248a1151e55898713ae40bfd408c68ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Release files / hirmeos_clients-0.2.4-py3-none-any.whl

Download URL hirmeos_clients-0.2.4-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87fcea8f22135ac66cd45e5bfbaa9bd0645cb9c3b10f41430305eea5b2f88d44
BLAKE2b-256 checksum
How to use checksums
9b882a0e09d8fc4384c08943fced9357376498772466bd1b4056f512d53cc7b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

1 release file

0.1.5

2 release files

0.1.3

3 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

3 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

3 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

3 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page