UNKNOWN
Project description
copy / bag / validate
====================
A utility for copying a specific file or directory from external media, converting the local copy to a Bag named according to repository standards (using MoMA's TMS API), valdating the BagIt generated SHA1 checksums against Hashlib calculated SHA1 of the files on the original source media. Requires [bagit-python], and currently only works with MoMA's TMS API.
[bagit-python]: https://github.com/edsu/bagit
Command Line Usage
------------------
python pre-ingest.py -i /Volumes/source-drive/source-directory -n "name of transfer" -id 930.2012
Used internally on the MoMA network, this would result in the transfer of the files, and a bag named "Will_Wright---SimCity_2000---930.2012---152406"
Arguments
------------------
- `-id, --accessionid` (required) object/acession number of the artwork.
- `-i, --input` (required) Full path of the source directory or file
- `-o, --output` (optional) Full path of the destination. Defaults to Desktop.
- `-t, --title` (optional) Title of the transfer.
- `-n, --name` (optional) Name of the person operating the script. This winds up in the Bag's metadata
Output
------------------
Bags are named with the following convention `YYYY-MM-DD_HH:MM:SS__title_of_transfer`
todo: add exception for inability to resolve connection to TMS
====================
A utility for copying a specific file or directory from external media, converting the local copy to a Bag named according to repository standards (using MoMA's TMS API), valdating the BagIt generated SHA1 checksums against Hashlib calculated SHA1 of the files on the original source media. Requires [bagit-python], and currently only works with MoMA's TMS API.
[bagit-python]: https://github.com/edsu/bagit
Command Line Usage
------------------
python pre-ingest.py -i /Volumes/source-drive/source-directory -n "name of transfer" -id 930.2012
Used internally on the MoMA network, this would result in the transfer of the files, and a bag named "Will_Wright---SimCity_2000---930.2012---152406"
Arguments
------------------
- `-id, --accessionid` (required) object/acession number of the artwork.
- `-i, --input` (required) Full path of the source directory or file
- `-o, --output` (optional) Full path of the destination. Defaults to Desktop.
- `-t, --title` (optional) Title of the transfer.
- `-n, --name` (optional) Name of the person operating the script. This winds up in the Bag's metadata
Output
------------------
Bags are named with the following convention `YYYY-MM-DD_HH:MM:SS__title_of_transfer`
todo: add exception for inability to resolve connection to TMS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PreIngest-0.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PreIngest-0.1.tar.gz.
File metadata
- Download URL: PreIngest-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ab81ff0556e97cfa03f802026558dddca3cedcd9c9856f3b18f5e25779a9537
|
|
| MD5 |
682217ef73cccae6936a0121733f612e
|
|
| BLAKE2b-256 |
9da328dba8082ad396b0e06a80d18af9473f567a4c8df0c6ec584906df2e4fa7
|
File details
Details for the file PreIngest-0.1.macosx-10.9-intel.exe.
File metadata
- Download URL: PreIngest-0.1.macosx-10.9-intel.exe
- Upload date:
- Size: 65.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67fee22d18c52b261d886e883b2c02048d54a95cfb9d387caad2689046b8a970
|
|
| MD5 |
3bdb4ee8cd89a5c24e93d4006cd9de65
|
|
| BLAKE2b-256 |
7277496703ca3cadf430e0c3a207625f1b127602fc04ef3578cf3b4e45e02bb0
|