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 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 archivematica_tools-0.0.1.tar.gz.
File metadata
- Download URL: archivematica_tools-0.0.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f7ecbc12c63b0bafb6d1e9cb90c1edb7d74da3f47ac9b3311a52b539bd2a893
|
|
| MD5 |
155d799ed63321a684ae330e59ffb18d
|
|
| BLAKE2b-256 |
7f09acd11905c502e0386a08d69d38cb2df46986800d3a647dcd559b5e0a6d29
|
File details
Details for the file archivematica_tools-0.0.1-py3-none-any.whl.
File metadata
- Download URL: archivematica_tools-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21061f5c461c1bc31df772a7d6c034c39dd2be86343d473e4b6c858a2959dd20
|
|
| MD5 |
527edf4944fa7f046895b919a02394b6
|
|
| BLAKE2b-256 |
5ed047ef969dd8bb5147120c5f6886a1a2482aeaeca52c4f515be60d6f5fe2a9
|