Skip to main content

nlbone

nlbone (NumberLand Backbone) is a lightweight Python package that provides the foundational interfaces and infrastructure for NumberLand projects.
It follows a clean architecture style (ports & adapters) so that domain logic is separated from infrastructure concerns.


✨ Features

  • Domain interfaces
  • Immutable domain models
  • Application services (use cases) independent of infrastructure.
  • Infrastructure adapters (DB, HTTP, etc.).
  • Config management with pydantic-settings.
  • Dependency injection container for easy wiring.
  • Testing ready with pytest + pytest-asyncio.
  • Dev tools: Ruff (lint), Mypy (typing), Pre-commit hooks.

📦 Installation

pip install nlbone

🛠 For development:

git clone https://github.com/your-org/nlbone.git
cd nlbone
python -m venv .venv
source .venv/bin/activate   # (Linux/macOS)
# .venv\Scripts\activate    # (Windows)

pip install -e ".[dev]"

python -m pip install build twine
python -m build

🚀 Quick Example

import anyio
from nlbone import build_container


async def main():
    container = build_container()
    user = await container.register_user("me@numberland.com")
    print(user)


anyio.run(main)

📦 Used In

  • Explore
  • Pricing

Metadata

Release files for nlbone 0.12.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlbone 0.12.20
File Size Uploaded Provenance Actions
nlbone-0.12.20.tar.gz 69.7 kB Without provenance Details for nlbone-0.12.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nlbone 0.12.20
File Interpreter ABI Platform Actions
nlbone-0.12.20-py3-none-any.whl Python 3 none any Details for nlbone-0.12.20-py3-none-any.whl

Total release size: 186.1 kB

Release files / nlbone-0.12.20.tar.gz

Download URL nlbone-0.12.20.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c48fdbe8afdbc188da6c879bd7499a3d6d6d97ca947b4f87bd737d71b3b0044
BLAKE2b-256 checksum
How to use checksums
e7b9c98da2263750cf7f7e382b07194d13e5388b15567905858684c7ef78f58b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / nlbone-0.12.20-py3-none-any.whl

Download URL nlbone-0.12.20-py3-none-any.whl
Size 116.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b7448dc8e94f8feddd1f6d46c53d697e5a2168843c4326da5c57c9a36dfcf35
BLAKE2b-256 checksum
How to use checksums
db8e0d1dac6db07d53065ed0512d7a47a8aba45d79d7be2101f64565e79fcc25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for nlbone 0.12.20

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.12.20 This release

2 release files No provenance

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