metsrw 0.6.1
pip install metsrw
Released:
Library for dealing with METS files.
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Affero General Public License v3 (GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foun...)
- Author: Artefactual Systems Inc.
- Maintainer: Artefactual Systems Inc.
- Tags archivematica, preservation
- Requires: Python >=3.9
-
Provides-Extra:
dev
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
Project description
METS Reader & Writer
By Artefactual
METSRW is a library to help with parsing and creating METS files. It provides an API, and abstracts away the actual creation of the XML. METSRW was initially created for use in Archivematica and is managed as part of that project.
You are free to copy, modify, and distribute metsrw with attribution under the terms of the AGPL license. See the LICENSE file for details.
Installation & Dependencies
METSRW can be installed with pip.
pip install metsrw
METSRW is tested with the all the supported versions of Python.
Basic Usage
Read a METS file
mets = metsrw.METSDocument.fromfile('path/to/file') # Reads a file
mets = metsrw.METSDocument.fromstring('<mets document>') # Parses a string
mets = metsrw.METSDocument.fromtree(lxml.ElementTree) # Parses an lxml.Element or lxml.ElementTree
Create a new METS file
mets = metsrw.METSDocument()
Contributing
METSRW is in early development and welcomes feedback on the API and overall design! Design goals, use cases, and a proposed API are in the Github wiki
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU Affero General Public License v3 (GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foun...)
- Author: Artefactual Systems Inc.
- Maintainer: Artefactual Systems Inc.
- Tags archivematica, preservation
- Requires: Python >=3.9
-
Provides-Extra:
dev
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
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
File details
Details for the file metsrw-0.6.1.tar.gz
.
File metadata
- Download URL: metsrw-0.6.1.tar.gz
- Upload date:
- Size: 118.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fca9029909e617cb5560433e3448ac6b8a08b13730b4e8ab1cc861e9904c5868 |
|
MD5 | f151b74c54527105034e2d227ff73758 |
|
BLAKE2b-256 | 1f206dfd2f5332255061bcf41c027523a3c37797726151f3807fca12d6ef5df5 |
Provenance
The following attestation bundles were made for metsrw-0.6.1.tar.gz
:
Publisher:
release.yml
on artefactual-labs/mets-reader-writer
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
metsrw-0.6.1.tar.gz
- Subject digest:
fca9029909e617cb5560433e3448ac6b8a08b13730b4e8ab1cc861e9904c5868
- Sigstore transparency entry: 162038344
- Sigstore integration time:
- Permalink:
artefactual-labs/mets-reader-writer@70f34f72c3dc987abb45259a1e4eff1c6426f75e
- Branch / Tag:
refs/tags/v0.6.1
- Owner: https://github.com/artefactual-labs
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@70f34f72c3dc987abb45259a1e4eff1c6426f75e
- Trigger Event:
workflow_dispatch
- Statement type:
File details
Details for the file metsrw-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: metsrw-0.6.1-py3-none-any.whl
- Upload date:
- Size: 92.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3420228915c47f0040f492759a4a24f785fee446c029f46a33733b88cc91930 |
|
MD5 | aadf9f8d42f7e36ce8e3a78c5ac18867 |
|
BLAKE2b-256 | d356845b16560050854b22c2bbe7e1fd318467a6d8084223dc4e2777d12549f1 |
Provenance
The following attestation bundles were made for metsrw-0.6.1-py3-none-any.whl
:
Publisher:
release.yml
on artefactual-labs/mets-reader-writer
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
metsrw-0.6.1-py3-none-any.whl
- Subject digest:
e3420228915c47f0040f492759a4a24f785fee446c029f46a33733b88cc91930
- Sigstore transparency entry: 162038345
- Sigstore integration time:
- Permalink:
artefactual-labs/mets-reader-writer@70f34f72c3dc987abb45259a1e4eff1c6426f75e
- Branch / Tag:
refs/tags/v0.6.1
- Owner: https://github.com/artefactual-labs
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@70f34f72c3dc987abb45259a1e4eff1c6426f75e
- Trigger Event:
workflow_dispatch
- Statement type: