Skip to main content

BIBRA

License CI CodeQL codecov Ruff

Note: The name "BIBRA" is a working title and may still change. The application is still heavily work in progress and not yet functional.

A metadata extraction and verification tool that integrates multiple methods for extracting, verifying, and reconciling metadata.

Features

  • Metadata Extraction: Multiple methods including LLM prompting, fine-tuned models, traditional NLP, and machine learning
  • Verification & Benchmarking: Tools for verifying quality against gold standard/ground truth datasets
  • External Integration: Authority control and vocabulary reconciliation with external systems
  • Web UI: Interactive interface for metadata processing
  • REST API: Backend microservice for integration with cataloging tools and data enrichment processes

Installation

Install development dependencies:

uv sync

Alternatively, install as a global CLI tool (in editable mode) so prefixing CLI commands with uv run is not needed:

uv tool install -e .

Install web UI dependencies:

npm install

Pre-commit hook

Automating the Ruff linter and formatter checks on git commits can be enabled by installing the pre-commit hook:

uv run pre-commit install

Skipping the Ruff checks when committing can be done by adding the --no-verify option to the git commit command.

Usage

See the available CLI commands:

uv run bibra

Start up the server:

uv run uvicorn bibra.main:app

Testing

Python Tests

Run the Python test suite with:

uv run pytest

Cypress E2E Tests

Run the Cypress end-to-end tests:

Run Cypress in interactive mode (opens Cypress GUI):

npx cypress open

Run Cypress headless

npm run cy:run

Use of AI Tools

This project uses AI‑powered development tools, including the Zoo Code VSCode extension, to support the development process. AI assistance may be used for tasks such as:

  • generating and refactoring code and tests
  • drafting documentation
  • exploring ideas and potential solutions

All LLM‑generated content is manually reviewed and approved before being included in the project and the use of AI is disclosed via the pull request template. We indicate AI use, how much human effort went into the work and especially into verifying the result of AI using the AI Traffic Lights Protocol by Nila Löber. AI:ORANGE is the minimum level required for merging pull requests.

Download files

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

Source Distribution

bibra-0.1.0.tar.gz (13.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bibra-0.1.0-py3-none-any.whl (16.6 MB view details)

Uploaded Python 3

File details

Details for the file bibra-0.1.0.tar.gz.

File metadata

  • Download URL: bibra-0.1.0.tar.gz
  • Upload date:
  • Size: 13.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bibra-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a671b17fd7f9c35526c9c2d956e4340fbc1745fab2331f9caa7e37a9473aa5b3
MD5 d3fa512bbf608e286c494f0b8b6e583b
BLAKE2b-256 59ea50782fb019d424031b3b93aebc140d1673b5b60a828f6667800545fd208b

See more details on using hashes here.

Provenance

The following attestation bundles were made for bibra-0.1.0.tar.gz:

Publisher: release.yml on NatLibFi/BIBRA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bibra-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bibra-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bibra-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4136e03fd2d399cfdb43e3193ccbb69b13e69b6fb791c734ccb96e1d3ee6ef
MD5 8700aed741d4940f7a7c15fa16c84c10
BLAKE2b-256 3d7c8f34dbb489a28cbe85400c51d1ffdc592befdc72aa376489cad54f8d7107

See more details on using hashes here.

Provenance

The following attestation bundles were made for bibra-0.1.0-py3-none-any.whl:

Publisher: release.yml on NatLibFi/BIBRA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page