Skip to main content

archivematica-omekas

Install

pip install archivematica_omekas

設定

Archivematicaの設定

dip_zip_file_path = "data/sample/ex02-1-TIFF-007c28cc-4671-4d5d-be2a-facace4c7b84.zip"
mapping_json_file_path="data/sample/mapping.json"

Omekaの設定

API_URL="https://omekas.aws.ldas.jp/sandbox/api"
KEY_IDENTITY="2st7sDKL2UAL8OKtfah8ffZS5UjefA7g"
KEY_CREDENTIAL="M4s6xyqkzbxgJZieQfsMysVUqzdC6ZPl"

実行

output_dir = ArchiveMaticaOmeka.convert(dip_zip_file_path, mapping_json_file_path, task_id="test")
metadata_csv_path = f"{output_dir}/metadata.csv"
media_csv_path = f"{output_dir}/media.csv"
ArchiveMaticaOmeka.upload(metadata_csv_path, media_csv_path, API_URL, KEY_IDENTITY, KEY_CREDENTIAL)
アイテムの登録

100%|██████████| 4/4 [00:26<00:00,  6.60s/it]


IDの取得

100%|██████████| 4/4 [00:01<00:00,  2.35it/s]


メディアの登録

100%|██████████| 4/4 [00:33<00:00,  8.49s/it]

以下のURLから、アイテムが登録されていることをご確認ください。

url = f"{API_URL.replace('/api', '')}"
url
'https://omekas.aws.ldas.jp/sandbox'

Metadata

Release files for archivematica-omekas 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archivematica-omekas 0.0.1
File Size Uploaded Provenance
archivematica-omekas-0.0.1.tar.gz 11.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for archivematica-omekas 0.0.1
File Interpreter ABI Platform
archivematica_omekas-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.7 kB

Release files / archivematica-omekas-0.0.1.tar.gz

Download URL archivematica-omekas-0.0.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c190a5a7dc21698ad727901cfc72da372686a1c9fdf77eb64417603ed5c5f69c
BLAKE2b-256 checksum
How to use checksums
25707d838af1297ff62b567111e13297c1d805d9788667513f5306ee1b08fb1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / archivematica_omekas-0.0.1-py3-none-any.whl

Download URL archivematica_omekas-0.0.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db8e7331c8bcc1609b1223a488e8e1b51fa8d8edb646bbe822e22b3604fd71c1
BLAKE2b-256 checksum
How to use checksums
4508bed3a278dbb7eef71595108e55015199a60cd5264dd745097680437da001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Security for archivematica-omekas 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page