No project description provided
Project description
Archivematica Tools
Install
pip install matica_tools
How to use
See the documentation for full details of the Archivematica API Client.
from dotenv import load_dotenv
import os
load_dotenv(override=True)
dashboard_url = os.environ.get("DASHBOARD_URL")
dashboard_username = os.environ.get("DASHBOARD_USERNAME")
dashboard_api_key = os.environ.get("DASHBOARD_API_KEY")
storage_service_url = os.environ.get("STORAGE_SERVICE_URL")
storage_service_username = os.environ.get("STORAGE_SERVICE_USERNAME")
storage_service_password = os.environ.get("STORAGE_SERVICE_PASSWORD")
client = ArchivematicaAPIClient(dashboard_url, dashboard_username, dashboard_api_key, storage_service_url, storage_service_username, storage_service_password)
transfer_UUID = client.v2beta_package("standard", "", "bfe37714-61c2-432e-b375-af9253e114da", "/home/archivematica/archivematica-sampledata/SampleTransfers/DemoTransferCSV", "transfer v2 demo", "automated")
transfer_UUID
'2d68be44-48f4-4b15-8db8-d8d1250f50bf'
See the documentation for more examples.
Created by Satoru Nakamura.
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
archivematica_tools-0.0.1.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for archivematica_tools-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7ecbc12c63b0bafb6d1e9cb90c1edb7d74da3f47ac9b3311a52b539bd2a893 |
|
MD5 | 155d799ed63321a684ae330e59ffb18d |
|
BLAKE2b-256 | 7f09acd11905c502e0386a08d69d38cb2df46986800d3a647dcd559b5e0a6d29 |
Close
Hashes for archivematica_tools-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21061f5c461c1bc31df772a7d6c034c39dd2be86343d473e4b6c858a2959dd20 |
|
MD5 | 527edf4944fa7f046895b919a02394b6 |
|
BLAKE2b-256 | 5ed047ef969dd8bb5147120c5f6886a1a2482aeaeca52c4f515be60d6f5fe2a9 |