Skip to main content

MREG API Build Status

mreg-api is a Python client library for the MREG REST API. It gives you a typed, ergonomic interface to every MREG resource through a single client object with scoped namespaces for each resource type.

It provides optional caching of resources, automatic FQDN expansion of hostnames, and a consistent interface for all resource types. The client is compatible with Python 3.11 and later.

Documentation

https://unioslo.github.io/mreg-api/

Development

Set up a development environment with uv:

git clone git@github.com:unioslo/mreg-api.git
uv sync

Pre-commit Hooks

This project uses prek to manage pre-commit hooks for code quality and formatting. To set up the pre-commit hooks, run the following command:

uv tool install prek

Then, install the pre-commit hooks with:

prek install

Run the pre-commit checks manually with:

prek run
# Optionally for all files:
prek run --all-files

Metadata

Release files for mreg-api 0.6.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 mreg-api 0.6.0
File Size Uploaded
mreg_api-0.6.0.tar.gz 250.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mreg-api 0.6.0
File Interpreter ABI Platform
mreg_api-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 353.2 kB

Release files / mreg_api-0.6.0.tar.gz

Download URL mreg_api-0.6.0.tar.gz
Size 250.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ecfb748516aabb3ddd72693dbc0ef64d2508cf9a0e9319265d7599a25619f125
BLAKE2b-256 checksum
How to use checksums
1337992c24f13917829e804b99d74b65148d96b35b5d3e5a147fc54ce609a86c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 24, 2026.

Transparency log

Release files / mreg_api-0.6.0-py3-none-any.whl

Download URL mreg_api-0.6.0-py3-none-any.whl
Size 102.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c59a164ab6b6cea899abca6037bb2caca83eaef2d46a2d6d3bcc67402aebcde0
BLAKE2b-256 checksum
How to use checksums
87d8630d31fc84d56467e53ef811daee313b01a2e6ce010ea957441648e0a109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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