Metadata-Version: 2.1
Name: techlib-nr-common-metadata
Version: 3.0.0a48
Summary: NR common data types
License: MIT
Keywords: National,Repository,common,model,Invenio
Author: Daniel Kopecký
Author-email: Daniel.Kopecky@techlib.cz
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: docs
Requires-Dist: IDUtils (>=1.1.8,<2.0.0)
Requires-Dist: isbnlib (>=3.10.8,<4.0.0)
Requires-Dist: python-stdnum (>=1.16,<2.0)
Requires-Dist: sphinx (>=1.5.1,<2.0.0); extra == "docs"
Description-Content-Type: text/markdown

# nr-common-metadata

[![Build Status](https://travis-ci.org/Narodni-repozitar/nr-common.svg?branch=master)](https://travis-ci.org/Narodni-repozitar/nr-common)
[![Coverage Status](https://coveralls.io/repos/github/Narodni-repozitar/nr-common/badge.svg)](https://coveralls.io/github/Narodni-repozitar/nr-common)

Disclaimer: The library is part of the Czech National Repository, and therefore the README is written in Czech.
General libraries extending [Invenio](https://github.com/inveniosoftware) are concentrated under the [Oarepo
 namespace](https://github.com/oarepo).
 
 ## Instalace
 
 Nejedná se o samostatně funkční knihovnu, proto potřebuje běžící Invenio a závislosti Oarepo.
 Knihovna se instaluje klasicky přes pip
 
```bash
pip install techlib-nr-common-metadata
```

Pro testování a/nebo samostané fungování knihovny je nutné instalovat tests z extras.

```bash
pip install -e .[tests]
```

## Účel

Knihovna obsahuje obecný metadatový model Národního repozitáře (Marshmallow, JSON schema a Elastisearch mapping).
Všechny tyto části lze 
"podědit" v dalších metadatových modelech.

Knihovna není samostatný model pro "generic" věci - ten je v nr-generic.

