Skip to main content

Small library for persistent identifiers used in scholarly communication.

Project description

https://img.shields.io/travis/inveniosoftware/idutils.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.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.1.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

IDUtils-1.1.1-py2.py3-none-any.whl (12.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: IDUtils-1.1.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for IDUtils-1.1.1.tar.gz
Algorithm Hash digest
SHA256 eb99c02f1f9f86b587f4da18a48ce62a309259ce008c78af3aa6654f8e86e98a
MD5 8d60e43554b77390ef327727b44ff2a7
BLAKE2b-256 685500be28a98449f90619de542a8088128961e9b4c6614f705824a7d7112ddb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: IDUtils-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for IDUtils-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f6fcfe8c28adbe00eaec84a73d82b1e76740381204c70d0ad2b29707c51077b
MD5 e02db490d366e2adf5aa10c5cd510d64
BLAKE2b-256 b7912a81db03e4ee8977c881f624129d07e298b5defdfd25afe3ed9c01d4ef69

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