-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit be292ca
Showing
24 changed files
with
1,898 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
source = idutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.git | ||
*.gitignore | ||
|
||
*.mo | ||
*.pyc | ||
*.swp | ||
*.swo | ||
*.~ | ||
|
||
.dockerignore | ||
Dockerfile | ||
docker-compose.yml | ||
docker-compose-dev.yml | ||
|
||
Procfile* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# Python files | ||
[*.py] | ||
indent_size = 4 | ||
# isort plugin configuration | ||
known_first_party = invenio | ||
multi_line_output = 2 | ||
default_section = THIRDPARTY | ||
|
||
# RST files (used by sphinx) | ||
[*.rst] | ||
indent_size = 4 | ||
|
||
# CSS, HTML, JS, JSON, YML | ||
[*.{css,html,js,json,yml}] | ||
indent_size = 2 | ||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[{package.json,.travis.yml}] | ||
indent_size = 2 | ||
|
||
# Dockerfile | ||
[Dockerfile] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of IDUtils | ||
# Copyright (C) 2015 CERN. | ||
# | ||
# IDUtils is free software; you can redistribute it and/or modify | ||
# it under the terms of the Revised BSD License; see LICENSE file for | ||
# more details. | ||
# | ||
# In applying this license, CERN does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an Intergovernmental Organization | ||
# or submit itself to any jurisdiction. | ||
|
||
notifications: | ||
email: false | ||
|
||
language: python | ||
|
||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
|
||
install: | ||
- pip install coveralls pep257 Sphinx | ||
- pip install "coverage>=3.7.1,<4.0a1" "py>=1.4.29" pytest pytest-pep8 pytest-cov pytest-cache | ||
- pip install -e . | ||
|
||
script: | ||
- pep257 idutils | ||
- "sphinx-build -qnNW docs docs/_build/html" | ||
- python setup.py test | ||
|
||
after_success: | ||
- coveralls | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. | ||
This file is part of IDUtils | ||
Copyright (C) 2015 CERN. | ||
IDUtils is free software; you can redistribute it and/or modify | ||
it under the terms of the Revised BSD License; see LICENSE file for | ||
more details. | ||
|
||
In applying this license, CERN does not waive the privileges and immunities | ||
granted to it by virtue of its status as an Intergovernmental Organization | ||
or submit itself to any jurisdiction. | ||
|
||
|
||
Authors | ||
======= | ||
|
||
- Lars Holm Nielsen <lars.holm.nielsen@cern.ch> | ||
- Pedro Gaudencio <pmgaudencio@gmail.com> | ||
- Adrian Pawel Baran <adrian.pawel.baran@cern.ch> | ||
- Jiri Kuncar <jiri.kuncar@cern.ch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. | ||
This file is part of IDUtils | ||
Copyright (C) 2015 CERN. | ||
IDUtils is free software; you can redistribute it and/or modify | ||
it under the terms of the Revised BSD License; see LICENSE file for | ||
more details. | ||
|
||
In applying this license, CERN does not waive the privileges and immunities | ||
granted to it by virtue of its status as an Intergovernmental Organization | ||
or submit itself to any jurisdiction. | ||
|
||
|
||
Changes | ||
======= | ||
|
||
Version 0.1.0 (2015-07-01) | ||
|
||
- First public release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Contributing | ||
============ | ||
|
||
Bug reports, feature requests, and other contributions are welcome. | ||
If you find a demonstrable problem that is caused by the code of this | ||
library, please: | ||
|
||
1. Search for `already reported problems | ||
<https://github.com/inveniosoftware/idutils/issues>`_. | ||
2. Check if the issue has been fixed or is still reproducible on the | ||
latest `master` branch. | ||
3. Create an issue with **a test case**. | ||
|
||
If you create a feature branch, you can run the tests to ensure everything is | ||
operating correctly: | ||
|
||
.. code-block:: console | ||
$ ./run-tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
IDUtils is free software; you can redistribute it and/or modify it | ||
under the terms of the Revised BSD License quoted below. | ||
|
||
Copyright (C) 2015 CERN. | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
* Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS | ||
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | ||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
DAMAGE. | ||
|
||
In applying this license, CERN does not waive the privileges and immunities | ||
granted to it by virtue of its status as an Intergovernmental Organization | ||
or submit itself to any jurisdiction. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of IDUtils | ||
# Copyright (C) 2015 CERN. | ||
# | ||
# IDUtils is free software; you can redistribute it and/or modify | ||
# it under the terms of the Revised BSD License; see LICENSE file for | ||
# more details. | ||
# | ||
# In applying this license, CERN does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an Intergovernmental Organization | ||
# or submit itself to any jurisdiction. | ||
|
||
|
||
include LICENSE *.rst | ||
include .coveragerc run-tests.sh pytest.ini tox.ini | ||
include docs/*.rst docs/*.py docs/Makefile | ||
recursive-include *.py *.css *.css_t *.conf *.html | ||
recursive-include tests *.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. | ||
This file is part of IDUtils | ||
Copyright (C) 2015 CERN. | ||
IDUtils is free software; you can redistribute it and/or modify | ||
it under the terms of the Revised BSD License; see LICENSE file for | ||
more details. | ||
|
||
In applying this license, CERN does not waive the privileges and immunities | ||
granted to it by virtue of its status as an Intergovernmental Organization | ||
or submit itself to any jurisdiction. | ||
|
||
|
||
======= | ||
IDUtils | ||
======= | ||
|
||
.. image:: https://img.shields.io/travis/inveniosoftware/idutils.svg | ||
:target: https://travis-ci.org/inveniosoftware/idutils | ||
|
||
.. image:: https://img.shields.io/coveralls/inveniosoftware/idutils.svg | ||
:target: https://coveralls.io/r/inveniosoftware/idutils | ||
|
||
.. image:: https://img.shields.io/github/tag/inveniosoftware/idutils.svg | ||
:target: https://github.com/inveniosoftware/idutils/releases | ||
|
||
.. image:: https://img.shields.io/pypi/dm/idutils.svg | ||
:target: https://pypi.python.org/pypi/idutils | ||
|
||
.. image:: https://img.shields.io/github/license/inveniosoftware/idutils.svg | ||
:target: https://github.com/inveniosoftware/idutils/blob/master/LICENSE | ||
|
||
|
||
Small library for validating and normalising persistent identifiers used in | ||
scholarly communication. | ||
|
||
* Free software: Revised BSD license | ||
* Documentation: https://idutils.readthedocs.org. | ||
|
||
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: | ||
|
||
.. code-block:: console | ||
$ pip install idutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
=================================== | ||
IDUtils v0.1.0 is released | ||
=================================== | ||
|
||
IDUtils v0.1.0 was released on 2015-07-01 | ||
|
||
About | ||
----- | ||
|
||
Small library for persistent identifiers used in scholarly communication. | ||
|
||
Installation | ||
------------ | ||
|
||
$ pip install idutils | ||
|
||
Documentation | ||
------------- | ||
|
||
http://idutils.readthedocs.org/en/v0.1.0 | ||
|
||
Homepage | ||
-------- | ||
|
||
https://github.com/inveniosoftware/idutils | ||
|
||
Good luck and thanks for choosing IDUtils. | ||
|
||
| Invenio Development Team | ||
| Email: info@invenio-software.org | ||
| Twitter: http://twitter.com/inveniosoftware | ||
| GitHub: http://github.com/inveniosoftware | ||
| URL: http://invenio-software.org |
Oops, something went wrong.