Git Product home page Git Product logo

pysaf's Introduction

PySAF

PySAF is an application for creating Simple Archive Format packages for upload to DSpace repositories.

Installation

Windows

There is an installer (pysaf_win64.exe) available for Windows.

To install, open the pysaf_win64.exe file. If you receive an unknown publisher error, select yes to continue the installation.

To run, select PySAF under Programs in the Start Menu. Alternately, you can click the Desktop shortcut if you chose this option during installation.

OS X
package

There is an installer (pysaf_osx.dmg) available for OS X.

To install, open the pysaf_osx.dmg file and copy the application to your Applications folder.

To run, click the application in your Applications folder.

manual
  • open terminal
    • press CMD-SPACE and type 'terminal'
  • get the code for PySAF
clone [email protected]:cstarcher/pysaf.git
  • go to the dir containing main.py
cd pysaf/pysaf
  • install python-tk
    • check your version of Python3
python3 --version
  • install the correct version of python-tk ('YY' is the minor version number you got back from previous command)
brew install [email protected]
  • run PySAF
python3 main.py
Linux

There is no installer package for Linux. You will need to download the source code.

If you receive an ImportError for Tkinter, you will need to install the python-tk package.

sudo apt-get install python3-tk
Source

To execute the source code, you should install Python version 3.5 or higher. This application only uses modules in the Python Standard Library.

python3 main.py

How To Use

Select CSV File

You must save your metadata file as a .csv file. It must be encoded as UTF-8.

Select Location Of Files

This is the location of your item bitstreams (files) to be uploaded.

Select Archive Destination

This is the location on your computer to save the output archive packages and .zip files.

Create ZIP File

Batch uploading into DSpace through the web UI requires the archive to be zipped. This application offers an option to zip your archive packages. You have the option to split the archive into multiple .zip files and to set a maximum size limit for each file. The web UI upload limit for .zip file size is 2 GB.

Create License

This application offers the option to create a license file for each item. This option will create a .txt file in each item directory with the license text you enter in the text entry box. It will also add the license file name and bundle:LICENSE tag to the contents file.

Restrict Read Access

DSpace allows for read access restrictions on individual bitstreams based on group permissions. This application allows the user to designate the group-level permissions for each of the files in the collection.

pysaf's People

Contributors

cstarcher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.