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.5.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.5.0
File Size Uploaded
mreg_api-0.5.0.tar.gz 222.1 kB Details

Built distribution (wheel)

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

Total release size: 320.9 kB

Release files / mreg_api-0.5.0.tar.gz

Download URL mreg_api-0.5.0.tar.gz
Size 222.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1278e5ff2ddb4e900bd54932817cae768002f5e83643c8341925aba1ae0355ef
BLAKE2b-256 checksum
How to use checksums
0aaf66f15c8d0b7ad8c4969cfe5b7c74c10600ea05c339d12f969715c46f87b6
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 1, 2026.

Transparency log

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

Download URL mreg_api-0.5.0-py3-none-any.whl
Size 98.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d9f0c6d10d96fc0f4ae8a25498fa91c88a3738748cc40afcd1f24402b56062b
BLAKE2b-256 checksum
How to use checksums
925ac6476ea31555b42a081ef6790d3fd48db6f10fbf40c1e5d4e7f83ffa3db2
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 1, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

This release

0.5.0 This release

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