annotate README @ 14:273fc80d9623

v0.5 -> New default service document, uses the GIT sword2 client code
author Marco Fabiani <marco.fabiani@eecs.qmul.ac.uk>
date Fri, 25 May 2012 13:14:05 +0100
parents ed98a232e4a5
children e24aea2d14a4
rev   line source
marco@1 1 SWORD2 DSpace bulk uploader
marco@1 2 --------------------
marco@1 3
marco@1 4 A python script to submit large numbers of files to a SWORD2-compatible repository, specifically DSpace 1.8x.
marco@14 5 Built on the SWORD2 python client library: https://github.com/swordapp/python-client-sword2
marco@1 6
marco@12 7 -----------------------------------------------
marco@12 8 Source:
marco@12 9
marco@12 10 https://code.soundsoftware.ac.uk/projects/sworduploader/repository
marco@12 11
marco@12 12 -----------------------------------------------
marco@1 13 Dependencies:
marco@1 14
marco@1 15 - python 2.X
marco@1 16
marco@14 17 - sword2 library: https://github.com/swordapp/python-client-sword2
marco@1 18
marco@12 19 -----------------------------------------------
marco@1 20 Installation:
marco@1 21
marco@1 22 - 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.
marco@1 23
marco@12 24 -----------------------------------------------
marco@1 25 Usage:
marco@1 26
marco@3 27 sworduploader[-h] [--username USER_NAME] [--title TITLE]
marco@1 28 [--author AUTHOR [AUTHOR ...]] [--date DATE]
marco@1 29 [--servicedoc DSPACEURL]
marco@1 30 data
marco@1 31
marco@1 32 Bulk upload to DSpace using SWORDv2.
marco@1 33
marco@1 34 positional arguments:
marco@12 35 data Accepts: METSDSpaceSIP and BagIt packages, simple zip
marco@12 36 files, directories, single files. NOTE: METSDSpaceSIP
marco@12 37 packages are only accepted by Collections with a
marco@12 38 workflow!
marco@1 39
marco@1 40 optional arguments:
marco@1 41 -h, --help show this help message and exit
marco@1 42 --username USER_NAME DSpace username.
marco@12 43 --zip If "data" is a directory, compress it and post it as a
marco@12 44 single file. The zip file will be saved along with the
marco@12 45 individual files.
marco@1 46 --title TITLE Title (ignored for METS packages).
marco@1 47 --author AUTHOR [AUTHOR ...]
marco@1 48 Author(s) (ignored for METS packages). Accepts
marco@1 49 multiple entries in the format "Surname, Name"
marco@1 50 --date DATE Date of creation (string) (ignored for METS packages).
marco@1 51 --servicedoc DSPACEURL
marco@1 52 Url of the SWORDv2 service document (default:
marco@14 53 http://c4dm.eecs.qmul.ac.uk/rdr/swordv2/servicedocument
marco@1 54
marco@1 55 If the submission is created successfully, it will remain open to be completed
marco@1 56 with the necessary metadata and licenses, using the DSpace web interface. The
marco@1 57 submission can be found in the "My Account -> Submissions" section of the
marco@1 58 user's area.
marco@1 59