Skip to content

BrunoNZ/dc-ore-packager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dc-ore-packager

A tool to create a SimpleArchivePackage 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 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, so that the bitstreams are shown in the graphical interface in the exactly same way as the original item.

To use it:

from dc_ore_packager import DCOREPackager
repositoryURL = 'http://demo.dspace.org'
handleList = ['10673/3','10673/4','10673/5','10673/6','10673/7']
i = DCOREPackager(repositoryURL, handleList, outDir='/tmp')
print(i.getPackage())

A sample WebApp that receives a URL and send a package file: dc-ore-packager-webapp

Releases

No releases published

Packages

No packages published