Skip to main content

Invenio-Records-Marc21

Marc21 datamodel

Further documentation is available on https://invenio-records-marc21.readthedocs.io/

Install

Choose a version of elasticsearch and a DB, then run:

uv run pip install -e .[all]

Setting Up Statistics

To enable and configure the statistics feature using MARC21 records in Invenio, you need to update your invenio.cfg file with specific configurations that integrate MARC21 statistics with Invenio's standard statistics modules.

Configuration Steps

  1. Import Required Configurations:

    Before updating the configuration values, ensure that you import the necessary settings from both the invenio_records_marc21 module and the invenio_app_rdm module. Add the following lines to your invenio.cfg:

from invenio_records_marc21.config import MARC21_STATS_CELERY_TASKS, MARC21_STATS_EVENTS, MARC21_STATS_AGGREGATIONS, MARC21_STATS_QUERIES
from invenio_app_rdm.config import CELERY_BEAT_SCHEDULE, STATS_EVENTS, STATS_AGGREGATIONS, STATS_QUERIES

Update Celery Beat Schedule:

Integrate MARC21-specific scheduled tasks with Invenio's scheduler:

CELERY_BEAT_SCHEDULE.update(MARC21_STATS_CELERY_TASKS)

Update Events, Aggregations, and Queries:

Merge MARC21 statistics configurations with the global statistics settings:

STATS_EVENTS.update(MARC21_STATS_EVENTS)
STATS_AGGREGATIONS.update(MARC21_STATS_AGGREGATIONS)
STATS_QUERIES.update(MARC21_STATS_QUERIES)

Features

custom doi over 024 field in metadata

add the field 024 like 024.7.. $$2 doi $$a 10.0356/894-849-056 $$q tugraz-publisher. the important part is the $$q tugraz-publisher which indicates that there is a special doi which overrides the normal DOI.

the doi will be created on the publish, so the 856 field will show up after publishing the record.

Tests

uv run ./run-tests.sh

Metadata

Release files for invenio-records-marc21 0.36.0

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

Source distribution (sdist)

Source distribution for invenio-records-marc21 0.36.0
File Size Uploaded Provenance Actions
invenio_records_marc21-0.36.0.tar.gz 147.3 kB With provenance Details for invenio_records_marc21-0.36.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invenio-records-marc21 0.36.0
File Interpreter ABI Platform Actions
invenio_records_marc21-0.36.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for invenio_records_marc21-0.36.0-py2.py3-none-any.whl

Total release size: 395.2 kB

Release files / invenio_records_marc21-0.36.0.tar.gz

Download URL invenio_records_marc21-0.36.0.tar.gz
Size 147.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3237970501884514daa36f0afb7c610f3b7ac23e0011758fc291d92c53a234f1
BLAKE2b-256 checksum
How to use checksums
967a5866a3cfe7665cd7bd8cbb3a75c582884a358fccbfe7b31f5558f7807e97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / invenio_records_marc21-0.36.0-py2.py3-none-any.whl

Download URL invenio_records_marc21-0.36.0-py2.py3-none-any.whl
Size 247.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6f3d48f3552087e866cabaddbe3618c4218a2e2f40def64a97a55b7a518523c5
BLAKE2b-256 checksum
How to use checksums
5263d5f21adc2ef41a062b62b5b6d464da8ecb66b8ad74e02bb74271d526333c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for invenio-records-marc21 0.36.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for invenio_records_marc21-0.36.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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

0.36.0 This release

2 release files Full 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