Git Product home page Git Product logo

aspace-scripts's Introduction

ArchivesSpace (ASpace) Scripts

Scripts using ArchivesSpace's API for querying, adding to, and updating ArchivesSpace data.

Please note that these scripts have not been fully tested and aren't guaranteed to be working as described below. Please test first before using.

To prepare scripts for use:

  • Make a copy of secrets.py and configs.py from /templates_EDIT_THESE, and put it in the same folder as the other .py scripts.
  • Open the /configs/secrets.py file and enter all variables.
  • Open the /configs/configs.py file and enter all necessary variables. Different variables are required for different scripts, so you may not need to fill in all variables.

getDigitalObjectMetadata.py

This script wants you to give it a text file that lists existing Digital Objects' IDs in ArchivesSpace, and in return it will write you a file with the metadata of those Digital Objects.

makeDigitalObject.py

This script wants you to give it a CSV file with metadata for new Digital Objects, and in return it will create those Digital Objects, link them to existing Archival Objects, and then confirm the metadata of the newly-created files to a CSV file.

updateDigitalObjectMetadata.py

This script wants you to give it a CSV file with mew metadata for existing Digital Objects, and in return it will update that metadata, and then confirm the metadata of the newly-created files to a CSV file.

Authentication.py

This script tests to make sure that your authentication info in the secrets.py file can get you logged into your ArchivesSpace instance.

Tested with:

  • ArchivesSpace 1.4.2
  • Python 3.5.1

aspace-scripts's People

Contributors

reliztrent avatar

Watchers

 avatar  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.