Internet Archive upload management tool
Project description
dartboard
generalized Internet Archive upload target
Configuration
To use dartboard, you'll need a config.json in the same directory where you run it (or pass the location of it with --config-path in your dartboard command).
{
"s3_key": "abcdefg",
"s3_secret": "abcdefg"
}
Usage instructions
You can upload a directory with
dartboard path/to/directory
dartboard will try to upload to the item with the same identifier as the name of the directory. If the item does not exist, you must specify the metadata by placing an __ia_meta.json file in the directory:
{
"collection": "opensource",
"mediatype": "data",
"title": "My title",
"description": "My description",
"foo": "bar"
}
If the item already exists, dartboard will try to upload the files to it with or without __ia_meta.json being present. If it is present, dartboard WILL attempt to diff the metadata and make the necessary changes once it has finished uploading the new files.
You can also specify dartboard settings for that item with an __uploader_meta.json file:
{
"setUploadState": false, // if enabled, dartboard will set an upload-state:uploading key on the item, and change it to upload-state:uploaded when done
"setScanner": true, // if disabled, dartboard will not add "dartboard (vX.Y.Z)" to the scanner field
"sendSizeHint": false, // if enabled, dartboard will send IA a size hint for the item, based on the size of files in the directory
"derive": true // if disabled, dartboard will not queue a derive task once it has finished uploading
}
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
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 dartboard_ia-0.2.1.tar.gz.
File metadata
- Download URL: dartboard_ia-0.2.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a58ffacd973e3d3ccbb1daf1e9e37845cf75301780d5e3920033508f72a60813
|
|
| MD5 |
b8e7576142d135fd4cb2324a9a88fdfe
|
|
| BLAKE2b-256 |
69391c7593917aa5a0f997994a487d5832cad081c2accf399f74a4d84565820c
|
File details
Details for the file dartboard_ia-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dartboard_ia-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1a17f8b9c7371e6fb0f6ebea7013bea46abd1f3f1e4add6da887bcb9ec9ac1e
|
|
| MD5 |
c3412338eb8ea5111360bfdc0f5b5781
|
|
| BLAKE2b-256 |
daf4e7f0496b894c962c0d2ae6edb29427b8afc0feeced6c091e291aa841c533
|