dcxml 0.1.1__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dcxml-0.1.3/.gitignore +60 -0
- dcxml-0.1.3/AUTHORS.rst +10 -0
- {dcxml-0.1.1 → dcxml-0.1.3}/LICENSE +0 -4
- dcxml-0.1.3/PKG-INFO +50 -0
- {dcxml-0.1.1 → dcxml-0.1.3}/README.rst +5 -5
- {dcxml-0.1.1 → dcxml-0.1.3}/dcxml/__init__.py +4 -8
- {dcxml-0.1.1 → dcxml-0.1.3}/dcxml/simpledc.py +2 -7
- dcxml-0.1.3/dcxml/version.py +13 -0
- {dcxml-0.1.1 → dcxml-0.1.3}/dcxml/xmlutils.py +2 -7
- dcxml-0.1.3/pyproject.toml +66 -0
- dcxml-0.1.1/.dockerignore +0 -15
- dcxml-0.1.1/.editorconfig +0 -41
- dcxml-0.1.1/AUTHORS.rst +0 -13
- dcxml-0.1.1/CHANGES.rst +0 -13
- dcxml-0.1.1/CONTRIBUTING.rst +0 -120
- dcxml-0.1.1/INSTALL.rst +0 -15
- dcxml-0.1.1/MANIFEST.in +0 -24
- dcxml-0.1.1/PKG-INFO +0 -66
- dcxml-0.1.1/RELEASE-NOTES.rst +0 -41
- dcxml-0.1.1/dcxml/version.py +0 -17
- dcxml-0.1.1/dcxml.egg-info/PKG-INFO +0 -66
- dcxml-0.1.1/dcxml.egg-info/SOURCES.txt +0 -38
- dcxml-0.1.1/dcxml.egg-info/dependency_links.txt +0 -1
- dcxml-0.1.1/dcxml.egg-info/not-zip-safe +0 -1
- dcxml-0.1.1/dcxml.egg-info/requires.txt +0 -31
- dcxml-0.1.1/dcxml.egg-info/top_level.txt +0 -1
- dcxml-0.1.1/docs/Makefile +0 -192
- dcxml-0.1.1/docs/api.rst +0 -13
- dcxml-0.1.1/docs/authors.rst +0 -8
- dcxml-0.1.1/docs/changes.rst +0 -8
- dcxml-0.1.1/docs/conf.py +0 -316
- dcxml-0.1.1/docs/contributing.rst +0 -8
- dcxml-0.1.1/docs/index.rst +0 -46
- dcxml-0.1.1/docs/installation.rst +0 -8
- dcxml-0.1.1/docs/license.rst +0 -4
- dcxml-0.1.1/docs/make.bat +0 -263
- dcxml-0.1.1/docs/requirements.txt +0 -1
- dcxml-0.1.1/docs/usage.rst +0 -11
- dcxml-0.1.1/pytest.ini +0 -10
- dcxml-0.1.1/requirements-devel.txt +0 -7
- dcxml-0.1.1/run-tests.sh +0 -15
- dcxml-0.1.1/setup.cfg +0 -18
- dcxml-0.1.1/setup.py +0 -88
- dcxml-0.1.1/tests/test_simpledc.py +0 -68
dcxml-0.1.3/.gitignore
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
|
|
5
|
+
# Idea software family
|
|
6
|
+
.idea/
|
|
7
|
+
|
|
8
|
+
# C extensions
|
|
9
|
+
*.so
|
|
10
|
+
|
|
11
|
+
# Distribution / packaging
|
|
12
|
+
.Python
|
|
13
|
+
env/
|
|
14
|
+
build/
|
|
15
|
+
develop-eggs/
|
|
16
|
+
dist/
|
|
17
|
+
downloads/
|
|
18
|
+
eggs/
|
|
19
|
+
.eggs/
|
|
20
|
+
lib/
|
|
21
|
+
lib64/
|
|
22
|
+
parts/
|
|
23
|
+
sdist/
|
|
24
|
+
var/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.coverage
|
|
43
|
+
.coverage.*
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
*,cover
|
|
48
|
+
|
|
49
|
+
# Translations
|
|
50
|
+
*.mo
|
|
51
|
+
|
|
52
|
+
# Django stuff:
|
|
53
|
+
*.log
|
|
54
|
+
|
|
55
|
+
# Sphinx documentation
|
|
56
|
+
docs/_build/
|
|
57
|
+
|
|
58
|
+
# PyBuilder
|
|
59
|
+
target/
|
|
60
|
+
uv.lock
|
dcxml-0.1.3/AUTHORS.rst
ADDED
|
@@ -18,7 +18,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
18
18
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
19
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
20
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
-
|
|
22
|
-
In applying this license, CERN does not waive the privileges and immunities
|
|
23
|
-
granted to it by virtue of its status as an Intergovernmental Organization or
|
|
24
|
-
submit itself to any jurisdiction.
|
dcxml-0.1.3/PKG-INFO
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dcxml
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Dublin Core XML generation from Python dictionaries.
|
|
5
|
+
Project-URL: Repository, https://github.com/inveniosoftware/dcxml
|
|
6
|
+
Author-email: CERN <info@inveniosoftware.org>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: AUTHORS.rst
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: core,dublin,json,xml
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Web Environment
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Requires-Dist: lxml>=4.1.1
|
|
20
|
+
Provides-Extra: docs
|
|
21
|
+
Requires-Dist: sphinx>=3; extra == 'docs'
|
|
22
|
+
Provides-Extra: tests
|
|
23
|
+
Requires-Dist: pytest-invenio>=1.4.0; extra == 'tests'
|
|
24
|
+
Description-Content-Type: text/x-rst
|
|
25
|
+
|
|
26
|
+
..
|
|
27
|
+
SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
28
|
+
SPDX-License-Identifier: MIT
|
|
29
|
+
|
|
30
|
+
=================
|
|
31
|
+
Dublin Core XML
|
|
32
|
+
=================
|
|
33
|
+
|
|
34
|
+
.. image:: https://img.shields.io/github/license/inveniosoftware/dcxml.svg
|
|
35
|
+
:target: https://github.com/inveniosoftware/dcxml/blob/master/LICENSE
|
|
36
|
+
|
|
37
|
+
.. image:: https://img.shields.io/travis/inveniosoftware/dcxml.svg
|
|
38
|
+
:target: https://travis-ci.org/inveniosoftware/dcxml
|
|
39
|
+
|
|
40
|
+
.. image:: https://img.shields.io/coveralls/inveniosoftware/dcxml.svg
|
|
41
|
+
:target: https://coveralls.io/r/inveniosoftware/dcxml
|
|
42
|
+
|
|
43
|
+
.. image:: https://img.shields.io/pypi/v/dcxml.svg
|
|
44
|
+
:target: https://pypi.org/pypi/dcxml
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
Dublin Core XML generation from Python dictionaries.
|
|
48
|
+
|
|
49
|
+
* Free software: MIT license
|
|
50
|
+
* Documentation: https://dcxml.readthedocs.io/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
..
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
2
|
+
SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
3
|
+
SPDX-License-Identifier: MIT
|
|
7
4
|
|
|
8
5
|
=================
|
|
9
6
|
Dublin Core XML
|
|
10
7
|
=================
|
|
11
8
|
|
|
9
|
+
.. image:: https://img.shields.io/github/license/inveniosoftware/dcxml.svg
|
|
10
|
+
:target: https://github.com/inveniosoftware/dcxml/blob/master/LICENSE
|
|
11
|
+
|
|
12
12
|
.. image:: https://img.shields.io/travis/inveniosoftware/dcxml.svg
|
|
13
13
|
:target: https://travis-ci.org/inveniosoftware/dcxml
|
|
14
14
|
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
1
|
+
# SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
8
3
|
|
|
9
4
|
"""Dublin Core XML generation from Python dictionaries.
|
|
10
5
|
|
|
@@ -30,7 +25,7 @@ First let's create a Python dictionary with all 15 elements:
|
|
|
30
25
|
... relations = ['Invenio Software'],
|
|
31
26
|
... rights = ['MIT'],
|
|
32
27
|
... sources = ['Python'],
|
|
33
|
-
...
|
|
28
|
+
... subjects = ['XML'],
|
|
34
29
|
... titles = ['Dublin Core XML'],
|
|
35
30
|
... types = ['Software'],
|
|
36
31
|
... )
|
|
@@ -62,6 +57,7 @@ and print the 15 elements (without the container element)
|
|
|
62
57
|
<dc:relation>Invenio Software</dc:relation>
|
|
63
58
|
<dc:rights>MIT</dc:rights>
|
|
64
59
|
<dc:source>Python</dc:source>
|
|
60
|
+
<dc:subject>XML</dc:subject>
|
|
65
61
|
<dc:title>Dublin Core XML</dc:title>
|
|
66
62
|
<dc:type>Software</dc:type>
|
|
67
63
|
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
1
|
+
# SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
8
3
|
|
|
9
4
|
"""Generation of Simple Dublin Core XML v1.1.
|
|
10
5
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
2
|
+
# SPDX-FileCopyrightText: 2026 TU Wien.
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
|
|
5
|
+
"""Version information for Dublin Core.
|
|
6
|
+
|
|
7
|
+
This file is imported by ``dc.__init__``,
|
|
8
|
+
and parsed by ``setup.py``.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import absolute_import, print_function
|
|
12
|
+
|
|
13
|
+
__version__ = "0.1.3"
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
1
|
+
# SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
8
3
|
|
|
9
4
|
"""XML utilities."""
|
|
10
5
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2016-2018 CERN.
|
|
2
|
+
# SPDX-FileCopyrightText: 2026 TU Wien.
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "dcxml"
|
|
7
|
+
description = "Dublin Core XML generation from Python dictionaries."
|
|
8
|
+
readme = "README.rst"
|
|
9
|
+
license = "MIT"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "CERN", email = "info@inveniosoftware.org" },
|
|
12
|
+
]
|
|
13
|
+
keywords = [
|
|
14
|
+
"core",
|
|
15
|
+
"dublin",
|
|
16
|
+
"json",
|
|
17
|
+
"xml",
|
|
18
|
+
]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 5 - Production/Stable",
|
|
21
|
+
"Environment :: Web Environment",
|
|
22
|
+
"Intended Audience :: Developers",
|
|
23
|
+
"License :: OSI Approved :: MIT License",
|
|
24
|
+
"Operating System :: OS Independent",
|
|
25
|
+
"Programming Language :: Python",
|
|
26
|
+
"Programming Language :: Python :: 3",
|
|
27
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
|
+
]
|
|
29
|
+
dependencies = [
|
|
30
|
+
"lxml>=4.1.1",
|
|
31
|
+
]
|
|
32
|
+
dynamic = ["version"]
|
|
33
|
+
|
|
34
|
+
[project.urls]
|
|
35
|
+
Repository = "https://github.com/inveniosoftware/dcxml"
|
|
36
|
+
|
|
37
|
+
[project.optional-dependencies]
|
|
38
|
+
docs = [
|
|
39
|
+
"sphinx>=3",
|
|
40
|
+
]
|
|
41
|
+
tests = [
|
|
42
|
+
"pytest-invenio>=1.4.0",
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
[build-system]
|
|
46
|
+
requires = ["hatchling"]
|
|
47
|
+
build-backend = "hatchling.build"
|
|
48
|
+
|
|
49
|
+
[tool.hatch.version]
|
|
50
|
+
path = "dcxml/version.py"
|
|
51
|
+
|
|
52
|
+
[tool.hatch.build.targets.sdist]
|
|
53
|
+
include = [
|
|
54
|
+
"/dcxml",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
[tool.isort]
|
|
58
|
+
profile = "black"
|
|
59
|
+
|
|
60
|
+
[tool.pydocstyle]
|
|
61
|
+
add_ignore = "D401"
|
|
62
|
+
|
|
63
|
+
[tool.pytest.ini_options]
|
|
64
|
+
addopts = '--isort --pydocstyle --pycodestyle --doctest-glob="*.rst" --doctest-modules --cov=dcxml --cov-report=term-missing'
|
|
65
|
+
testpaths = "tests dcxml"
|
|
66
|
+
live_server_scope = "module"
|
dcxml-0.1.1/.dockerignore
DELETED
dcxml-0.1.1/.editorconfig
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
root = true
|
|
11
|
-
|
|
12
|
-
[*]
|
|
13
|
-
indent_style = space
|
|
14
|
-
end_of_line = lf
|
|
15
|
-
insert_final_newline = true
|
|
16
|
-
trim_trailing_whitespace = true
|
|
17
|
-
charset = utf-8
|
|
18
|
-
|
|
19
|
-
# Python files
|
|
20
|
-
[*.py]
|
|
21
|
-
indent_size = 4
|
|
22
|
-
# isort plugin configuration
|
|
23
|
-
known_first_party = dcxml
|
|
24
|
-
multi_line_output = 2
|
|
25
|
-
default_section = THIRDPARTY
|
|
26
|
-
|
|
27
|
-
# RST files (used by sphinx)
|
|
28
|
-
[*.rst]
|
|
29
|
-
indent_size = 4
|
|
30
|
-
|
|
31
|
-
# CSS, HTML, JS, JSON, YML
|
|
32
|
-
[*.{css,html,js,json,yml}]
|
|
33
|
-
indent_size = 2
|
|
34
|
-
|
|
35
|
-
# Matches the exact files either package.json or .travis.yml
|
|
36
|
-
[{package.json,.travis.yml}]
|
|
37
|
-
indent_size = 2
|
|
38
|
-
|
|
39
|
-
# Dockerfile
|
|
40
|
-
[Dockerfile]
|
|
41
|
-
indent_size = 4
|
dcxml-0.1.1/AUTHORS.rst
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
..
|
|
2
|
-
This file is part of dcxml.
|
|
3
|
-
Copyright (C) 2016-2018 CERN.
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
Contributors
|
|
9
|
-
============
|
|
10
|
-
|
|
11
|
-
- Jiri Kuncar
|
|
12
|
-
- Lars Holm Nielsen
|
|
13
|
-
- Tibor Simko
|
dcxml-0.1.1/CHANGES.rst
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
..
|
|
2
|
-
This file is part of dcxml.
|
|
3
|
-
Copyright (C) 2016-2018 CERN.
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
Changes
|
|
9
|
-
=======
|
|
10
|
-
|
|
11
|
-
Version 0.1.0 (released 2016-03-21)
|
|
12
|
-
|
|
13
|
-
- Initial public release.
|
dcxml-0.1.1/CONTRIBUTING.rst
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
..
|
|
2
|
-
This file is part of dcxml.
|
|
3
|
-
Copyright (C) 2016-2018 CERN.
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
Contributing
|
|
9
|
-
============
|
|
10
|
-
|
|
11
|
-
Contributions are welcome, and they are greatly appreciated! Every
|
|
12
|
-
little bit helps, and credit will always be given.
|
|
13
|
-
|
|
14
|
-
Types of Contributions
|
|
15
|
-
----------------------
|
|
16
|
-
|
|
17
|
-
Report Bugs
|
|
18
|
-
~~~~~~~~~~~
|
|
19
|
-
|
|
20
|
-
Report bugs at https://github.com/inveniosoftware/dublincore/issues.
|
|
21
|
-
|
|
22
|
-
If you are reporting a bug, please include:
|
|
23
|
-
|
|
24
|
-
* Your operating system name and version.
|
|
25
|
-
* Any details about your local setup that might be helpful in troubleshooting.
|
|
26
|
-
* Detailed steps to reproduce the bug.
|
|
27
|
-
|
|
28
|
-
Fix Bugs
|
|
29
|
-
~~~~~~~~
|
|
30
|
-
|
|
31
|
-
Look through the GitHub issues for bugs. Anything tagged with "bug"
|
|
32
|
-
is open to whoever wants to implement it.
|
|
33
|
-
|
|
34
|
-
Implement Features
|
|
35
|
-
~~~~~~~~~~~~~~~~~~
|
|
36
|
-
|
|
37
|
-
Look through the GitHub issues for features. Anything tagged with "feature"
|
|
38
|
-
is open to whoever wants to implement it.
|
|
39
|
-
|
|
40
|
-
Write Documentation
|
|
41
|
-
~~~~~~~~~~~~~~~~~~~
|
|
42
|
-
|
|
43
|
-
Dublin Core could always use more documentation, whether as part of the
|
|
44
|
-
official Dublin Core docs, in docstrings, or even on the web in blog posts,
|
|
45
|
-
articles, and such.
|
|
46
|
-
|
|
47
|
-
Submit Feedback
|
|
48
|
-
~~~~~~~~~~~~~~~
|
|
49
|
-
|
|
50
|
-
The best way to send feedback is to file an issue at
|
|
51
|
-
https://github.com/inveniosoftware/dcxml/issues.
|
|
52
|
-
|
|
53
|
-
If you are proposing a feature:
|
|
54
|
-
|
|
55
|
-
* Explain in detail how it would work.
|
|
56
|
-
* Keep the scope as narrow as possible, to make it easier to implement.
|
|
57
|
-
* Remember that this is a volunteer-driven project, and that contributions
|
|
58
|
-
are welcome :)
|
|
59
|
-
|
|
60
|
-
Get Started!
|
|
61
|
-
------------
|
|
62
|
-
|
|
63
|
-
Ready to contribute? Here's how to set up `invenio` for local development.
|
|
64
|
-
|
|
65
|
-
1. Fork the `invenio` repo on GitHub.
|
|
66
|
-
2. Clone your fork locally:
|
|
67
|
-
|
|
68
|
-
.. code-block:: console
|
|
69
|
-
|
|
70
|
-
$ git clone git@github.com:your_name_here/dcxml.git
|
|
71
|
-
|
|
72
|
-
3. Install your local copy into a virtualenv. Assuming you have
|
|
73
|
-
virtualenvwrapper installed, this is how you set up your fork for local
|
|
74
|
-
development:
|
|
75
|
-
|
|
76
|
-
.. code-block:: console
|
|
77
|
-
|
|
78
|
-
$ mkvirtualenv dcxml
|
|
79
|
-
$ cd dcxml/
|
|
80
|
-
$ pip install -e .[all]
|
|
81
|
-
|
|
82
|
-
4. Create a branch for local development:
|
|
83
|
-
|
|
84
|
-
.. code-block:: console
|
|
85
|
-
|
|
86
|
-
$ git checkout -b name-of-your-bugfix-or-feature
|
|
87
|
-
|
|
88
|
-
Now you can make your changes locally.
|
|
89
|
-
|
|
90
|
-
5. When you're done making changes, check that your changes pass tests:
|
|
91
|
-
|
|
92
|
-
.. code-block:: console
|
|
93
|
-
|
|
94
|
-
$ ./run-tests.sh
|
|
95
|
-
|
|
96
|
-
The tests will provide you with test coverage and also check PEP8
|
|
97
|
-
(code style), PEP257 (documentation), flake8 as well as build the Sphinx
|
|
98
|
-
documentation and run doctests.
|
|
99
|
-
|
|
100
|
-
6. Commit your changes and push your branch to GitHub:
|
|
101
|
-
|
|
102
|
-
.. code-block:: console
|
|
103
|
-
|
|
104
|
-
$ git add .
|
|
105
|
-
$ git commit -s -m "Your detailed description of your changes."
|
|
106
|
-
$ git push origin name-of-your-bugfix-or-feature
|
|
107
|
-
|
|
108
|
-
7. Submit a pull request through the GitHub website.
|
|
109
|
-
|
|
110
|
-
Pull Request Guidelines
|
|
111
|
-
-----------------------
|
|
112
|
-
|
|
113
|
-
Before you submit a pull request, check that it meets these guidelines:
|
|
114
|
-
|
|
115
|
-
1. The pull request should include tests and must not decrease test coverage.
|
|
116
|
-
2. If the pull request adds functionality, the docs should be updated. Put
|
|
117
|
-
your new functionality into a function with a docstring.
|
|
118
|
-
3. The pull request should work for Python 2.7, 3.3, 3.4 and 3.5. Check
|
|
119
|
-
https://travis-ci.org/inveniosoftware/dcxml/pull_requests
|
|
120
|
-
and make sure that the tests pass for all supported Python versions.
|
dcxml-0.1.1/INSTALL.rst
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
..
|
|
2
|
-
This file is part of dcxml.
|
|
3
|
-
Copyright (C) 2016-2018 CERN.
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
Installation
|
|
9
|
-
============
|
|
10
|
-
|
|
11
|
-
Dublin Core package is on PyPI so all you need is:
|
|
12
|
-
|
|
13
|
-
.. code-block:: console
|
|
14
|
-
|
|
15
|
-
$ pip install dcxml
|
dcxml-0.1.1/MANIFEST.in
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
8
|
-
|
|
9
|
-
include *.rst
|
|
10
|
-
include *.sh
|
|
11
|
-
include *.txt
|
|
12
|
-
include .dockerignore
|
|
13
|
-
include .editorconfig
|
|
14
|
-
include .tx/config
|
|
15
|
-
include babel.ini
|
|
16
|
-
include docs/requirements.txt
|
|
17
|
-
include LICENSE
|
|
18
|
-
include pytest.ini
|
|
19
|
-
recursive-include docs *.bat
|
|
20
|
-
recursive-include docs *.py
|
|
21
|
-
recursive-include docs *.rst
|
|
22
|
-
recursive-include docs Makefile
|
|
23
|
-
recursive-include examples *.py
|
|
24
|
-
recursive-include tests *.py
|
dcxml-0.1.1/PKG-INFO
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: dcxml
|
|
3
|
-
Version: 0.1.1
|
|
4
|
-
Summary: Dublin Core XML generation from Python dictionaries.
|
|
5
|
-
Home-page: https://github.com/inveniosoftware/dcxml
|
|
6
|
-
Author: CERN
|
|
7
|
-
Author-email: info@inveniosoftware.org
|
|
8
|
-
License: MIT
|
|
9
|
-
Description: ..
|
|
10
|
-
This file is part of dcxml.
|
|
11
|
-
Copyright (C) 2016-2018 CERN.
|
|
12
|
-
|
|
13
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
14
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
15
|
-
|
|
16
|
-
=================
|
|
17
|
-
Dublin Core XML
|
|
18
|
-
=================
|
|
19
|
-
|
|
20
|
-
.. image:: https://img.shields.io/travis/inveniosoftware/dcxml.svg
|
|
21
|
-
:target: https://travis-ci.org/inveniosoftware/dcxml
|
|
22
|
-
|
|
23
|
-
.. image:: https://img.shields.io/coveralls/inveniosoftware/dcxml.svg
|
|
24
|
-
:target: https://coveralls.io/r/inveniosoftware/dcxml
|
|
25
|
-
|
|
26
|
-
.. image:: https://img.shields.io/pypi/v/dcxml.svg
|
|
27
|
-
:target: https://pypi.org/pypi/dcxml
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Dublin Core XML generation from Python dictionaries.
|
|
31
|
-
|
|
32
|
-
* Free software: MIT license
|
|
33
|
-
* Documentation: https://dcxml.readthedocs.io/
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
..
|
|
37
|
-
This file is part of dcxml.
|
|
38
|
-
Copyright (C) 2016-2018 CERN.
|
|
39
|
-
|
|
40
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
41
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
42
|
-
|
|
43
|
-
Changes
|
|
44
|
-
=======
|
|
45
|
-
|
|
46
|
-
Version 0.1.0 (released 2016-03-21)
|
|
47
|
-
|
|
48
|
-
- Initial public release.
|
|
49
|
-
|
|
50
|
-
Keywords: dublin core xml json
|
|
51
|
-
Platform: any
|
|
52
|
-
Classifier: Environment :: Web Environment
|
|
53
|
-
Classifier: Intended Audience :: Developers
|
|
54
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
55
|
-
Classifier: Operating System :: OS Independent
|
|
56
|
-
Classifier: Programming Language :: Python
|
|
57
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
58
|
-
Classifier: Programming Language :: Python :: 2
|
|
59
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
60
|
-
Classifier: Programming Language :: Python :: 3
|
|
61
|
-
Classifier: Programming Language :: Python :: 3.4
|
|
62
|
-
Classifier: Programming Language :: Python :: 3.5
|
|
63
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
64
|
-
Provides-Extra: docs
|
|
65
|
-
Provides-Extra: tests
|
|
66
|
-
Provides-Extra: all
|
dcxml-0.1.1/RELEASE-NOTES.rst
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
..
|
|
2
|
-
This file is part of dcxml.
|
|
3
|
-
Copyright (C) 2016-2018 CERN.
|
|
4
|
-
|
|
5
|
-
dcxml is free software; you can redistribute it and/or modify it
|
|
6
|
-
under the terms of the MIT License; see LICENSE file for more details.
|
|
7
|
-
|
|
8
|
-
========================
|
|
9
|
-
Dublin Core XML v0.1.0
|
|
10
|
-
========================
|
|
11
|
-
|
|
12
|
-
Dublin Core v0.1.0 was released on March 21, 2016.
|
|
13
|
-
|
|
14
|
-
About
|
|
15
|
-
-----
|
|
16
|
-
|
|
17
|
-
Dublin Core XML generation from Python dictionaries.
|
|
18
|
-
|
|
19
|
-
What's new
|
|
20
|
-
----------
|
|
21
|
-
|
|
22
|
-
- Initial public release.
|
|
23
|
-
|
|
24
|
-
Installation
|
|
25
|
-
------------
|
|
26
|
-
|
|
27
|
-
$ pip install dublin-core==0.1.0
|
|
28
|
-
|
|
29
|
-
Documentation
|
|
30
|
-
-------------
|
|
31
|
-
|
|
32
|
-
http://dcxml.readthedocs.io/
|
|
33
|
-
|
|
34
|
-
Happy hacking and thanks for flying Dublin Core XML.
|
|
35
|
-
|
|
36
|
-
| Invenio Development Team
|
|
37
|
-
| Email: info@inveniosoftware.org
|
|
38
|
-
| IRC: #invenio on irc.freenode.net
|
|
39
|
-
| Twitter: http://twitter.com/inveniosoftware
|
|
40
|
-
| GitHub: https://github.com/inveniosoftware/dcxml
|
|
41
|
-
| URL: http://inveniosoftware.org
|
dcxml-0.1.1/dcxml/version.py
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
#
|
|
3
|
-
# This file is part of dcxml.
|
|
4
|
-
# Copyright (C) 2016-2018 CERN.
|
|
5
|
-
#
|
|
6
|
-
# dcxml is free software; you can redistribute it and/or modify it
|
|
7
|
-
# under the terms of the MIT License; see LICENSE file for more details.
|
|
8
|
-
|
|
9
|
-
"""Version information for Dublin Core.
|
|
10
|
-
|
|
11
|
-
This file is imported by ``dc.__init__``,
|
|
12
|
-
and parsed by ``setup.py``.
|
|
13
|
-
"""
|
|
14
|
-
|
|
15
|
-
from __future__ import absolute_import, print_function
|
|
16
|
-
|
|
17
|
-
__version__ = "0.1.1"
|