Skip to main content

No project description provided

Project description

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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archivematica-omekas-0.0.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

archivematica_omekas-0.0.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file archivematica-omekas-0.0.1.tar.gz.

File metadata

  • Download URL: archivematica-omekas-0.0.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for archivematica-omekas-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c190a5a7dc21698ad727901cfc72da372686a1c9fdf77eb64417603ed5c5f69c
MD5 67fc8877bd3ca14bf3f25b698a743016
BLAKE2b-256 25707d838af1297ff62b567111e13297c1d805d9788667513f5306ee1b08fb1f

See more details on using hashes here.

File details

Details for the file archivematica_omekas-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for archivematica_omekas-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db8e7331c8bcc1609b1223a488e8e1b51fa8d8edb646bbe822e22b3604fd71c1
MD5 1e0762fde16c4dbaeb0f56dc5f513ec8
BLAKE2b-256 4508bed3a278dbb7eef71595108e55015199a60cd5264dd745097680437da001

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page