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.8.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.8.0
File Size Uploaded Provenance Actions
mreg_api-0.8.0.tar.gz 255.0 kB With provenance Details for mreg_api-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 357.0 kB

Release files / mreg_api-0.8.0.tar.gz

Download URL mreg_api-0.8.0.tar.gz
Size 255.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9e3b85143009abcae1ab24d1177e67f51e873f21c5716ded7be751ef224c5714
BLAKE2b-256 checksum
How to use checksums
e9a492cff93c6e63a487ccf50def958b2ef3e6f1c2997ece5fa5471204c7cf53
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 Oct 15, 2026.

Transparency log

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

Download URL mreg_api-0.8.0-py3-none-any.whl
Size 101.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6d3a02b0cf2f40e8890fea1771e6d9ea9edbd8d19bae63a380e1419512e4c4b
BLAKE2b-256 checksum
How to use checksums
958fc3ec76da9902fc41f50ed9fa5e1fcb41b672fd4e9928116fed9c30a64b52
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 Oct 15, 2026.

Transparency log

Security for mreg-api 0.8.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 mreg_api-0.8.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 Oct 15, 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.

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