marco@1: SWORD2 DSpace bulk uploader marco@1: -------------------- marco@1: marco@1: A python script to submit large numbers of files to a SWORD2-compatible repository, specifically DSpace 1.8x. marco@1: Built on the SWORD2 python client library: https://bitbucket.org/beno/python-sword2/overview marco@1: marco@1: Dependencies: marco@1: marco@1: - python 2.X marco@1: marco@1: - sword2 library: https://bitbucket.org/beno/python-sword2/src marco@1: marco@1: Installation: marco@1: marco@1: - 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: marco@1: Usage: marco@1: marco@3: sworduploader[-h] [--username USER_NAME] [--title TITLE] marco@1: [--author AUTHOR [AUTHOR ...]] [--date DATE] marco@1: [--servicedoc DSPACEURL] marco@1: data marco@1: marco@1: Bulk upload to DSpace using SWORDv2. marco@1: marco@1: positional arguments: marco@1: data Accepts: METSDSpaceSIP packages, zip files, marco@1: directories, single files. NOTE: METSDSpaceSIP packages are marco@1: only accepted by Collections with a workflow! marco@1: marco@1: optional arguments: marco@1: -h, --help show this help message and exit marco@1: --username USER_NAME DSpace username. marco@1: --title TITLE Title (ignored for METS packages). marco@1: --author AUTHOR [AUTHOR ...] marco@1: Author(s) (ignored for METS packages). Accepts marco@1: multiple entries in the format "Surname, Name" marco@1: --date DATE Date of creation (string) (ignored for METS packages). marco@1: --servicedoc DSPACEURL marco@1: Url of the SWORDv2 service document (default: marco@1: http://c4dm.eecs.qmul.ac.uk/smdmrd- marco@1: test/swordv2/servicedocument marco@1: marco@1: If the submission is created successfully, it will remain open to be completed marco@1: with the necessary metadata and licenses, using the DSpace web interface. The marco@1: submission can be found in the "My Account -> Submissions" section of the marco@1: user's area. marco@1: marco@1: Source: marco@1: marco@1: https://code.soundsoftware.ac.uk/projects/sworduploader/repository marco@1: marco@1: ----------------------------------------------- marco@1: Copyright 2012 Marco Fabiani marco@1: Copyright 2012 Queen Mary, University of London marco@1: ------------------------------------------------