Brreg-wrapper

Latest version: v0.2.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.3

Type fixes

0.1.2

Added typing

0.1.1

Fixed
- Resolved a `TypeError` preventing the use of `BrregClient` with `async with`. The client now properly implements the asynchronous context manager protocol (`__aenter__` and `__aexit__`).

0.1.0

This is the first official release of `brreg-wrapper`! 🚀

This library provides a simple, asynchronous Python interface for interacting with the Brønnøysund Register Centre (Brreg) API, making it easier to fetch Norwegian business information.

✨ Features Included:

* **Asynchronous Client:** Built using `asyncio` and `httpx` for efficient, non-blocking API calls.
* **Core Entity Fetching:**
* `get_enhet(org_nr)`: Retrieve details for a main entity (`enhet`).
* `get_underenhet(org_nr)`: Retrieve details for a sub-entity (`underenhet`).
* *(Note: Search functionality might be planned for future releases based on README hints, but confirm if it's implemented in v0.1.0)*
* **Type Hinted:** Codebase includes type hints for improved developer experience.
* **Easy Installation:** Available on PyPI (`pip install brreg-wrapper`).
* **Minimal Dependencies:** Only requires `httpx`.

💡 Getting Started:

Install the package:
bash
pip install brreg-wrapper

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.