view README @ 2:c72d6b5d58bc

Added version v0.1
author Marco Fabiani <marco.fabiani@eecs.qmul.ac.uk>
date Wed, 28 Mar 2012 13:47:58 +0100
parents 2ceacc9bb602
children c1918aa337c4
line wrap: on
line source
SWORD2 DSpace bulk uploader
--------------------

A python script to submit large numbers of files to a SWORD2-compatible repository, specifically DSpace 1.8x.
Built on the SWORD2 python client library: https://bitbucket.org/beno/python-sword2/overview

Dependencies:

- python 2.X

- sword2 library: https://bitbucket.org/beno/python-sword2/src

Installation:

- no installation required, simply copy the script sworduploader.py to a suitable location. The first time you run the script, it will create the sword2_logging.conf file.

Usage:

sworduploader.py [-h] [--username USER_NAME] [--title TITLE]
                        [--author AUTHOR [AUTHOR ...]] [--date DATE]
                        [--servicedoc DSPACEURL]
                        data

Bulk upload to DSpace using SWORDv2.

positional arguments:
  data                  Accepts: METSDSpaceSIP packages, zip files,
                        directories, single files. NOTE: METSDSpaceSIP packages are
			only accepted by Collections with a workflow!

optional arguments:
  -h, --help            show this help message and exit
  --username USER_NAME  DSpace username.
  --title TITLE         Title (ignored for METS packages).
  --author AUTHOR [AUTHOR ...]
                        Author(s) (ignored for METS packages). Accepts
                        multiple entries in the format "Surname, Name"
  --date DATE           Date of creation (string) (ignored for METS packages).
  --servicedoc DSPACEURL
                        Url of the SWORDv2 service document (default:
                        http://c4dm.eecs.qmul.ac.uk/smdmrd-
                        test/swordv2/servicedocument

If the submission is created successfully, it will remain open to be completed
with the necessary metadata and licenses, using the DSpace web interface. The
submission can be found in the "My Account -> Submissions" section of the
user's area.

Source:

https://code.soundsoftware.ac.uk/projects/sworduploader/repository

-----------------------------------------------
Copyright 2012 Marco Fabiani
Copyright 2012 Queen Mary, University of London
------------------------------------------------