Skip to main content

A Python class for working with bounding boxes.

Project description

BoundingBox

A Python class for working with bounding boxes.

Requirements

  • Python 3.10 or higher

Installation

bboxlib is available on PyPI (the Python Package Index), and can be installed using pip:

pip install bboxlib

Usage

Import the BoundingBox class and use it to handle bounding boxes.

from bboxlib import BoundingBox

bbox = BoundingBox(1.0, 2.0, 3.0, 4.0)

bbox.extend(0.9, 1.9, 3.1, 4.1)

print(bbox.extent)
# [0.9, 2.0, 3.0, 4.1]

Author

Håvard Vidme @vidhav

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bboxlib-0.2.0.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bboxlib-0.2.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file bboxlib-0.2.0.tar.gz.

File metadata

  • Download URL: bboxlib-0.2.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bboxlib-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d6fe8aa1c1b73793cff173b68ac1698a138adbc13e753b9c3e07e3a86481d6ce
MD5 fc637e543df76c5cdbdfe689caf70652
BLAKE2b-256 46b2e3d9276ac54c59e1e0d640c5082be8aec5629d147164d3dfc023f818cd79

See more details on using hashes here.

File details

Details for the file bboxlib-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bboxlib-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bboxlib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07a90a02bccc0390dde2c4614ac7af6cb7c67107ac137b3693719f82efd8001a
MD5 c1a517d488243341002ba079f956e086
BLAKE2b-256 510198d90245ed16923b8ae8f0f2ead559ccaaf311f5bcd7ab2d44ec8485da3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page