Skip to main content

Innodata BRS schema and related utils

BRS schema (Block-Record-Span) is used to mark inline entities in text and XML documents.

Namespace is:

http://innodatalabs.com/brs

BRS parser (validates XML agains BRS schema)

from ilabs.brs import parse_brs

xml_text = b'''\
<i:b xmlns:i="http://innodatalabs.com/brs">
<i:r>Hello, <i:s l="name">Mike</i:s></i:r>
</i:b>
'''

xml = parse_brs(xml_text)  # this will throw if input is not a valid BRS
...

Developing

pip install -r requirements.txt wheel pytest
PYTHONPATH=. pytest .

python setup.py bdist_wheel

Metadata

Release files for ilabs.brs 1.0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for ilabs.brs 1.0.1
File Interpreter ABI Platform Actions
ilabs.brs-1.0.1-py3-none-any.whl Python 3 none any Details for ilabs.brs-1.0.1-py3-none-any.whl

Release files / ilabs.brs-1.0.1-py3-none-any.whl

Download URL ilabs.brs-1.0.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57130167ad637d6db8229a1fc00e6e70f0cd1aaef296a9801d2a4bb3ff6dda00
BLAKE2b-256 checksum
How to use checksums
c85e9beb742f72944e32ddef731007c999d6add5b70be4b5d74263e849f34d69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Security for ilabs.brs 1.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

1.0.1 This release

1 release file 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