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.4.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.4.0
File Size Uploaded
mreg_api-0.4.0.tar.gz 215.5 kB Details

Built distribution (wheel)

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

Total release size: 311.8 kB

Release files / mreg_api-0.4.0.tar.gz

Download URL mreg_api-0.4.0.tar.gz
Size 215.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1fc7da920ec921e608c553704bc20115447da9b407d1340eb12cb8bf5a2fb96c
BLAKE2b-256 checksum
How to use checksums
9148dfa7696b96b8b94264c93672fded05068c99eb5c9e1fd61fbacac0c14208
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 Aug 24, 2026.

Transparency log

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

Download URL mreg_api-0.4.0-py3-none-any.whl
Size 96.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48cd3cbfb48ec5b69acdf4d466da2c1c91e64ad91ff10085b891f729f187dcd5
BLAKE2b-256 checksum
How to use checksums
8cc1eda618d27db1351c05bed4cad5219d05ad592c64b2cbc89d936aae32bcde
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 Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

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