A brief description of dapytains
Project description
MyDapytains
The name of the library is completely temporary.
This library offers a base python implementation of the following functionalities:
- Parsing of machine-actionable citeStructure and citeData to retrieve reference, structure and citable unit metadata within a TEI file
- Reuse of citeStructure architecture to retrieve and build partial documents, based on provided reference.
- Support for multiple citeStructure, similar to the ?tree parameter of the DTS Specifications.
This library will:
- Provide a base implementation of the DTS API, using python as a server-side language
- Provide some light "caching" features, to avoid reparsing document at query time.
ToDo
- Support XSL transformation with mediaType dictionary for outputting different data
- Add tests to webapp
WebApp
You can try the webapp using python -m dapitains.app.app. It uses test files at the moment.
Guidelines
Document level guidelines
- For TEI document to be accessible in full, no specific requirements are necessary.
- For TEI document to have a single citation tree, they must provide at least one element
at the XPath
/TEI/teiHeader/encodingDesc/refsDecl[@default='true']/citeStructure. - For TEI document to have multiple citation trees, they must provide at least one element
at the XPath
/TEI/teiHeader/encodingDesc/refsDecl[@default='true']/citeStructureand any number of element matching the XPath/TEI/teiHeader/encodingDesc/refsDecl[@n]/citeStructure, where@nholds the citation tree name.
We are currently figuring out the Resource level metadata.
See one of our test files to check out the minimal requirements: we have one with citeData and one with multiple trees
Collection and Resource level guidelines
Collection and Resource level guidelines can be provided through file named dts-metadata.xml in each subfolder of a given repository. We are currently looking at using external file that would help you ingest metadata, while leaving you the option to load up metadata yourself.
The current schema for the collection catalog ingestion is available in ./tests/catalog/schema.rng.
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
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 dapytains-0.0.1a1.tar.gz.
File metadata
- Download URL: dapytains-0.0.1a1.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c3e8920a26cdbc7b3a38d8aee9cda3c504727665f9e930a7e80283ffe5e2f5b
|
|
| MD5 |
d43cc292f146446e80f1e45c0d18d0fc
|
|
| BLAKE2b-256 |
72a18d7c02486d0c720e0d03059e505dad8f4a1b980250e3ea47d5755842c5b4
|
Provenance
The following attestation bundles were made for dapytains-0.0.1a1.tar.gz:
Publisher:
release.yml on distributed-text-services/MyDapytains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dapytains-0.0.1a1.tar.gz -
Subject digest:
7c3e8920a26cdbc7b3a38d8aee9cda3c504727665f9e930a7e80283ffe5e2f5b - Sigstore transparency entry: 270285607
- Sigstore integration time:
-
Permalink:
distributed-text-services/MyDapytains@01641223818fcec2d12f1e75c8626735114e468a -
Branch / Tag:
refs/tags/0.0.1a1 - Owner: https://github.com/distributed-text-services
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@01641223818fcec2d12f1e75c8626735114e468a -
Trigger Event:
push
-
Statement type:
File details
Details for the file dapytains-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: dapytains-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fb98016deac8f11808412b54264e2595a15d303f4d3fb8bb6b3efe7fed84aa5
|
|
| MD5 |
24d92e0b76422b123e4670b71aca8ff0
|
|
| BLAKE2b-256 |
f138fe681a2d6f664c66c69dc03520156c8535da31dd2e44c0a60511c513f1eb
|
Provenance
The following attestation bundles were made for dapytains-0.0.1a1-py3-none-any.whl:
Publisher:
release.yml on distributed-text-services/MyDapytains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dapytains-0.0.1a1-py3-none-any.whl -
Subject digest:
0fb98016deac8f11808412b54264e2595a15d303f4d3fb8bb6b3efe7fed84aa5 - Sigstore transparency entry: 270285620
- Sigstore integration time:
-
Permalink:
distributed-text-services/MyDapytains@01641223818fcec2d12f1e75c8626735114e468a -
Branch / Tag:
refs/tags/0.0.1a1 - Owner: https://github.com/distributed-text-services
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@01641223818fcec2d12f1e75c8626735114e468a -
Trigger Event:
push
-
Statement type: