This application takes an input of barcodes from top containers in ArchivesSpace, retrieves all the archival objects associated with those barcodes, parses the information and writes to a DLG approved spreadsheet template (also provided by the user in the application). This process is intended to make it easier for users to contribute metadata to DLG's online portal of digitally accessible historic images and cultural material by automatically pulling the data from ArchivesSpace and into a spreadsheet that the user can send to the DLG, along with any other files.
- PySimpleGUI - The GUI used
- ArchivesSnake - Library used for interacting with the ArchivesSpace API
- loguru - Logging package
- cx_Freeze - Generated the executable file
- Inno - Generated Windows installer
- Install Python 3 on your computer. You can install python using the following link: https://www.python.org/downloads/
- Download the repository via cloning to your local IDE or using GitHub's Code button and Download as ZIP
- Set up a virtual environment and run
pip install requirements.txt
- Make sure you have your ArchivesSpace Instance's API URL (plus port # ending, example: "https://localhost:8089, username, and password
- Run the script
python3 gui.py
- Go to Releases and download the .exe file from the latest release.
- Follow the on-screen instructions.
- After installing, double-click the ASpace_DLG_Workflow icon to run the application.
- Install Python 3 on your computer. You can install python using the following link: https://www.python.org/downloads/mac-osx/
- Download the GitHub repo using the Code button in the top right corner of the repo, choose "Download ZIP", then unzip the downloaded file.
- Open your terminal and go to the unzipped folder. Run the command:
pip3 install -r requirements.txt
. - After installing requirements, run the command:
python3 gui.py
. This will start the program.
If you are running the app using python, run python3 gui.py
from the repository directory.
I'm still building unittests and the data for the tests is locally dependent. If you want to use the unittests, create a "test_data" directory and create "resource.json" and "archival_object.json" files using a JSON formatted resource and archival object from the ArchivesSpace API. Additionally, you'll need to swap the barcodes, repository numbers, and resource/archival object dependent tests to reflect the data you have. Yes, I need to fix this to be universally acceptable.
- Once the GUI is launched, login to your local ArchivesSpace instance with your ArchivesSpace credentials, including your username, password, and API URL
- Enter the barcodes or top container URIs in the left column, separated by newline (enter) of the archival objects you want retrieved and parsed
- Select your repository (click SAVE to remember this selection)
- Select the ASpace>DLG Template file that will be used to copy to make the new spreadsheet. This will be saved.
- Select START
- The GUI may go unresponsive if there are a lot of archival objects. Let it run until the START button is active.
- Select Open Output Folder to find the new spreadsheet
See the CONTRIBUTING.md for more information.
Trying our best to adhere to SemVer.
This program is licensed under a Creative Commons Attribution Share Alike 4.0 International. Please see LICENSE.txt for more information.
- Corey Schmidt - Project Management Librarian/Archivist at the University of Georgia Libraries
- Kevin Cottrell - GALILEO/Library Infrastructure Systems Architect at the University of Georgia Libraries
- Kat Stein - Director of the Hargrett Rare Book and Manuscript Library
- ArchivesSpace community