Metadata-Version: 2.1
Name: dc-ore-packager
Version: 0.0.1
Summary: A simple DublinCore/ORE SimpleArchive Packager
Home-page: https://github.com/BrunoNZ/dc-ore-packager
Author: Bruno Nocera Zanette
Author-email: brunonzanette@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# dc-ore-packager

A tool to create a [SimpleArchivePackage](https://wiki.duraspace.org/display/DSDOC6x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DSpaceSimpleArchiveFormat) package from a BaseURL and a Handle of an item of any repository that supports OAI protocol, which can be imported by [DSpace's Batch Import](https://wiki.duraspace.org/display/DSDOC6x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-UIBatchImport(XMLUI)) tool.

The objective is to create a clone of the given item using a link to its bitstreams and a copy of its bitstreams. The link is made using [ORE format](https://wiki.duraspace.org/display/DSDOC6x/OAI+2.0+Server#OAI2.0Server-MetadataFormats), so that the bitstreams are shown in the graphical interface in the exactly same way as the original item.

To use it:
```python
from dc_ore_packager import DCOREPackager
i = DCOREPackager('http://demo.dspace.org', '10673/7')
pkg = i.getPackage()
```

A sample WebApp that receives a URL and send a package file: [dc-ore-packager-webapp](https://github.com/BrunoNZ/dc-ore-packager-webapp)


