Skip to main content

openhub-bo-core

Base compartida de los clientes openhub-bo para las APIs de Red Enlace (ATC) OpenHub (Bolivia): sesión OAuth2 con caché de token, transporte HTTP intercambiable, errores tipados y tipos comunes. Normalmente no se instala sola: viene con cada producto.

pip install openhub-bo[qr]     # core + QR Simple / MLD-BCB
from openhub_bo.core import Session, Environment

with Session("CLIENT_ID", "CLIENT_SECRET", environment=Environment.SANDBOX) as session:
    ...  # pasa la sesión a QrClient(session), etc. Todos comparten el token.
  • Session / AsyncSession: credenciales, token (se renueva solo; reintenta una vez si OpenHub lo rechaza) y ejecución de operaciones. Thread-safe.
  • Transport / AsyncTransport: inyecta el tuyo para proxies, logging o fakes (por defecto httpx).
  • Errores: OpenHubError → ValidationError, AuthenticationError, ApiError (.status, .code, .retryable), TransportError (.maybe_sent), AmbiguousOutcomeError (una operación no idempotente pudo haberse aplicado), DecodeError, WebhookAuthError.
  • openhub_bo.core.testing.MockGateway: gateway falso (token + headers) para tests.

Metadata

Release files for openhub-bo-core 0.1.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 openhub-bo-core 0.1.0
File Size Uploaded
openhub_bo_core-0.1.0.tar.gz 41.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for openhub-bo-core 0.1.0
File
openhub_bo_core-0.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
openhub_bo_core-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
openhub_bo_core-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 2.8 MB

Release files / openhub_bo_core-0.1.0.tar.gz

Download URL openhub_bo_core-0.1.0.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eff7b05f70b4856cfe15021e98beec5074a830dd8db7cb5a9f2580a09bc361d0
BLAKE2b-256 checksum
How to use checksums
dc220e2678dab2b53a449c910952f5a36f8e3145441932ef84d087e066a1c4dc
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-win_amd64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-win_amd64.whl
Size 224.2 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
642ba19f0af53b1911e6efc6e13396fbece52c6078078dc0361081c6bc5b38a7
BLAKE2b-256 checksum
How to use checksums
0c2100070f1d4a800466d80cbcda2c7d29caa70a1dc9eb4bef3529bbefdb7fe7
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 573.1 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
095b95038f1b56df318531836e563ab7d37bcc2e6f7e783b3f6a60da7cea4721
BLAKE2b-256 checksum
How to use checksums
688a9a7d8de8af1534e3aa4367ee1327d5144a315cdd369d93a3fe08ef648158
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 534.4 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
9d87e6fe87a052d4d5dd9673daa242dc01c1c573e4197f9d92d759f3bf868366
BLAKE2b-256 checksum
How to use checksums
346e19370bae15e39298069b4ed4ffa584787797b85e2d284282d670c9db1c78
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 373.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9e7e2647d6ae732a2b311a18db16ce79cc354f6af3970b0f78725f05924224dc
BLAKE2b-256 checksum
How to use checksums
aee5b7fbbb41f3e9fb96866fda8d9b6fc09ab3ad38b7011d0f014578e62a685b
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 358.8 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ecc85df36d0546a3b71a06767f4d89e3347060fcd89d6d6cab6774081586abef
BLAKE2b-256 checksum
How to use checksums
99ac70a196e73f330b8faccda5f98fa49ab53467a7c1050ec68f0de19b879d9a
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 325.2 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
10a6f701bdf3ee58eaa51be116213eaffe8704cbb701c30bcdaa4b17499bd1e9
BLAKE2b-256 checksum
How to use checksums
3a90ab5a6c4993433175fe7190e2778a77e11d07986c05becabe13d6c60aa6e4
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 6, 2026.

Transparency log

Release files / openhub_bo_core-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL openhub_bo_core-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 331.7 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f8baf9c789ecd593e2f5be6e827c86968351005b556c5b34594fa8d528dfeee7
BLAKE2b-256 checksum
How to use checksums
e944705c0fc28c5f3507178686d1e722e10ae5f00c145b0ea748037d2dbe972c
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

8 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