This release is a pre-release and may not be stable for production use.
Bounden
Bounden describes points and regions within n-dimensional space.
Points
The Point class describes a point in n-dimensional space.
The class's generic type describes the coordinate type of each dimension, and must be specified as a tuple:
from bounden import Point
in_line = Point[tuple[int]]((0,))
in_rect = Point[tuple[int, int]]((0, 0))
in_cube = Point[tuple[int, int, int]]((0, 0, 0))
The position is read from the position property:
from bounden import Point
point = Point[tuple[int, int, int]]((1, 2, 3))
print(point.position)
# (1, 2, 3)
Installation
Bounden requires Python 3.10 or later and can be installed from PyPI.
pip install bounden
Support
Please raise bugs, feature requests and ask questions at cariad/bounden/issues.
The Project
Bounden is © 2022 Cariad Eccleston and released under the MIT License at cariad/nvalues.
The Author
Hello! 👋 I'm Cariad Eccleston and I'm a freelance backend and infrastructure engineer in the United Kingdom. You can find me at cariad.earth, github/cariad, linkedin/cariad and on Mastodon at @cariad@tech.lgbt.
Metadata
Release files for bounden 1.0.0b21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bounden-1.0.0b21-py3-none-any.whl | Python 3 | none | any | Details for bounden-1.0.0b21-py3-none-any.whl |
Release files / bounden-1.0.0b21-py3-none-any.whl
| Download URL | bounden-1.0.0b21-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0666637bf33e914d351f9e6fd40b2989f2f3a2c1549435db2476f57eb3eb83ad
|
|
BLAKE2b-256 checksum How to use checksums |
760ba2e9bf68481ef0c581cb686053f97e35e170327b8e3ec3ba21bbd2e708e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for bounden 1.0.0b21
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.