Skip to main content

Small library for persistent identifiers used in scholarly communication.

Project description

https://github.com/inveniosoftware/idutils/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/idutils.svg https://img.shields.io/github/tag/inveniosoftware/idutils.svg https://img.shields.io/pypi/dm/idutils.svg https://img.shields.io/github/license/inveniosoftware/idutils.svg

Small library for validating and normalising persistent identifiers used in scholarly communication.

Features

  • Validation and normalization of persistent identifiers.

  • Detection of persistent identifier scheme.

  • Generation of resolving links for persistent identifiers.

  • Supported schemes: ISBN10, ISBN13, ISSN, ISTC, DOI, Handle, EAN8, EAN13, ISNI ORCID, ARK, PURL, LSID, URN, Bibcode, arXiv, PubMed ID, PubMed Central ID, GND, SRA, BioProject, BioSample, Ensembl, UniProt, RefSeq, GenBank/RefSeq.

Installation

The IDUtils package is on PyPI so all you need is:

$ pip install idutils

Changes

Version 1.1.12 (2022-02-28)

  • Replaces isbnid_fork with isbnlib

Version 1.1.11 (2022-01-28)

  • Normalize pmid + their URL identifiers

Version 1.1.10 (2022-01-11)

  • Add purl.fdlp.gov as a valid PURL netloc

  • Normalize ror identifiers

Version 1.1.9 (2021-08-30)

Version 1.1.8 (2020-08-13)

  • Adds support for GEO and ArrayExpress identifiers.

Version 1.1.7 (2020-06-22)

  • Updates Software Heritage identifiers

  • Adds Research Organization Registry identifiers

  • Fixes DeprctationWarnings by using raw strings for regular expressions

Version 1.1.6 (2020-05-07)

  • Deprecates Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0.

Version 1.1.5 (2020-02-26)

  • Adds support for Software Heritage identifiers.

  • Fixes handling of non-digit characters in DOI detection.

Version 1.1.4 (2019-09-27)

  • Adds support for ASCL identifiers.

  • Fixes the ADS identifier regex to also detect lower-case author initials.

Version 1.1.3 (2019-09-17)

  • Adds support for HTTPS ORCiD identifiers.

Version 1.1.2 (2019-02-12)

  • Adds support for HAL identifiers.

Version 1.1.1 (2018-11-18)

Version 1.1.0 (2018-08-17)

  • Adds support for genomic identifiers: SRA, BioProject, BioSample, Ensembl, UniProt, RefSeq, GenBank/RefSeq.

  • Fixes bug in bibcode detection for non-capitalized journals.

Version 1.0.1 (2018-05-02)

  • Fixes bug causing invalid DOIs to be accepted.

Version 1.0.0 (2017-12-07)

  • Fixes handling of unicode characters in DOIs.

  • Adds support for APS style arXiv identifiers.

Version 0.2.4 (2017-01-30)

  • Removes Python 3.3 from a list of supported Python versions and adds Python 3.6

  • Moves from isbnid (v0.3.4) to isbnid_fork (v0.4.4) library.

Version 0.2.3 (2016-09-21)

  • Adds an optional parameter in idutils.to_url to use HTTPS scheme for PID providers that support it.

  • Detects and parses Handles and DOIs without the “http(s)://”, and ignores whitespace after scheme tags (eg. “doi: 10.123/456”).

Version 0.2.2 (2016-09-16)

  • Fixes issue where a valid ISBN with dashes and spaces could not be normalized.

Version 0.2.1 (2016-06-17)

  • Changes ISBN normalization to use isbnid instead of isbnlib. Now, importing this library will not change the default socket timeout, resulting in unwanted side effects.

Version 0.2.0 (2016-04-07)

Version 0.1.1 (2015-07-22)

  • Fixes GND validation and normalization.

  • Replaces invalid package name in run-tests.sh and makes run-tests.sh file executable. One can now use docker-compose run –rm web /code/run-tests.sh to run all the CI tests (pep257, sphinx, test suite).

  • Initial release of Docker configuration suitable for local developments. docker-compose build rebuilds the image, docker-compose run –rm web /code/run-tests.sh runs the test suite.

Version 0.1.0 (2015-07-02)

  • First public release.

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

IDUtils-1.1.12.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

IDUtils-1.1.12-py2.py3-none-any.whl (14.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file IDUtils-1.1.12.tar.gz.

File metadata

  • Download URL: IDUtils-1.1.12.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for IDUtils-1.1.12.tar.gz
Algorithm Hash digest
SHA256 6246205d35d07466c9ce807a2bdf616eaacb3b8fc2934ccdf1bf51ea41785de7
MD5 3bd58f8f14c2b5d94c6ba57e0f6c4711
BLAKE2b-256 4bd52335ba1d9c51f13e73813816022345104b3c10c730ed3474ef46143113d0

See more details on using hashes here.

Provenance

File details

Details for the file IDUtils-1.1.12-py2.py3-none-any.whl.

File metadata

  • Download URL: IDUtils-1.1.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for IDUtils-1.1.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c625193d7991f5c396aaf4c6af83865fb032ce51e1f60e7271d129d8df2bd2b1
MD5 8938a62e285e396b0c85acdf5358a7ac
BLAKE2b-256 8e616210080a822669e4c057a2f702023624e29c59be5d6875ba7fdf7f5f211d

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