Skip to main content

Assigning containers to locations in ArchivesSpace

Project description

Shelve It CLI

Assigning containers to locations in ArchivesSpace.


This module requires the shelve_it plugin to be enabled for ArchivesSpace.

Shelve It CLI is a Python module and can be installed using pip:

pip3 install shelve_it_cli


Create a basic configuration file with these settings:

base_url: http://localhost:4567 # update to your api url
username: admin
password: admin

Do not use admin with a production system. The user must be able to:

  • view repository
  • update containers
  • update locations

Test the connection to ArchivesSpace:

shelve_it_cli ping --config=/path/to/config.yml
# test config for devs running the backend locally
shelve_it_cli ping --config=config.test.yml

Create a CSV containing two columns with data to import. For example:


Run the command to import it:

shelve_it_cli process --config=/path/to/config.yml --data=/path/to/import.csv --output=/path/to/result.csv

Developer setup

# install system wide for editors (optional)
pip3 install ArchivesSnake fire
# install within virtualenv
virtualenv venv --python=python3
source venv/bin/activate
pip3 install -r requirements.txt

# commands
python ping --config config.test.yml
python process --config config.test.yml --data barcodes.csv --output result.csv

# test install
python -m unittest discover
pip3 install .
pip3 uninstall shelve_it_cli


pip3 install twine

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shelve-it-cli, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size shelve_it_cli-0.1-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size shelve_it_cli-0.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page