Skip to main content

NR model

This github project generates:

  • nr-metadata - runtime support containing marshmallow, serializers, ... for NR metadata (documents and data)
  • oarepo-model-builder-nr - a plugin for oarepo-model-builder to generate

Incompatible changes

None yet. If you introduce any incompatible changes (vs previous major version), enumerate them here and link the readme file from the previous major version for reference.

Usage

See the examples/model.yaml file for a skeleton of a repository which uses nr metadata document model. An even easier way is to use the nrp command to generate a documents- or data- compatible repository. See the same pages to get help about the model contents.

Branches

Branches are always named "aa.bb" and denote the version of the contained metadata schema.

Updating package

Package needs to be updated whenever the version of oarepo-model-builder and other builder plugins changes and influences the generated files.

The package version is always in the form of aa.bb.ccc, where aa.bb is the version of the metadata schema and ccc is the version of the python package.

To rebuild python packages:

  • Create a development branch (named after the issue inside linear or github issue)
  • Implement your changes
  • Increase the version number in version file
  • Run build.sh (note - this has to be run after modification to the version file)
  • Create a merge request to the aa.bb branch
  • Create a new github release.

Updating model

To update the model version,

  • start by creating a new branch with the name aa.bb, where aa.bb represents the new model version.

    For example, if the current version is 2.0 and your changes are minor, the new version should be 2.1, while major changes warrant a version bump to 3.0.

  • Set this branch as the default branch on GitHub.

  • Rename files inside the model directory to include the correct version

  • Change the model version inside the build.sh script

  • Make your modifications to the files within the model directory

  • Update the content of the version file to reflect the new version as aa.bb.0

  • Execute the build.sh script to ensure that everything builds correctly

  • Push your changes to GitHub

  • Mark the branch as the default branch

  • Create a new GitHub release.

Metadata

Release files for nr-metadata 2.0.82

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

Source distribution (sdist)

Source distribution for nr-metadata 2.0.82
File Size Uploaded Provenance Actions
nr_metadata-2.0.82.tar.gz 228.0 kB Without provenance Details for nr_metadata-2.0.82.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nr-metadata 2.0.82
File Interpreter ABI Platform Actions
nr_metadata-2.0.82-py2.py3-none-any.whl Python 3, Python 2 none any Details for nr_metadata-2.0.82-py2.py3-none-any.whl

Total release size: 527.6 kB

Release files / nr_metadata-2.0.82.tar.gz

Download URL nr_metadata-2.0.82.tar.gz
Size 228.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eda9568ddc30bff5e5bda1e69eca6a3b5b6a5007dffcd19bb66b934c65096395
BLAKE2b-256 checksum
How to use checksums
d895a22d42e7bc40c7f2c9b6248c1a41c56f6d6c9646d473e15648270e9db0ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / nr_metadata-2.0.82-py2.py3-none-any.whl

Download URL nr_metadata-2.0.82-py2.py3-none-any.whl
Size 299.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8a77648056500c9036c19cebc168d0204c24cb5181e511c932657c2d7d1a1ce5
BLAKE2b-256 checksum
How to use checksums
7e1226ab3e83fe51d5483097021c83926a7eaf74a334c41df7d521ed68d1538a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for nr-metadata 2.0.82

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

2.0.82 This release

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