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.

Installation

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

$ pip install idutils

Changes

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-0.2.3.tar.gz (18.5 kB view hashes)

Uploaded Source

Built Distribution

IDUtils-0.2.3-py2.py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 2 Python 3

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