Skip to main content

ppb-vector

The immutable, 2D vector class for the PursuedPyBear project.

Vector implements many convenience features, as well as useful mathematical operations for 2D geometry.

Install

You can install Vector pip package using

pip install 'ppb-vector'

Usage

Vector is an immutable 2D Vector, which is instantiated as expected:

>>> from ppb_vector import Vector
>>> Vector(3, 4)
Vector(3.0, 4.0)

See the API reference for an overview of the functionality.

Version numbers follow the semantic versioning convention, so requiring ppb-vector ~= 1.0 is appropriate for software developped against this release: the version specification will match any 1.x release, starting with 1.0.

Metadata

Release files for ppb-vector 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 ppb-vector 1.0
File Size Uploaded
ppb-vector-1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ppb-vector 1.0
File Interpreter ABI Platform
ppb_vector-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / ppb-vector-1.0.tar.gz

Download URL ppb-vector-1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
70b314aa0f0874f666228e9e73898b794b44fc6628a94ee654893066f6a1a4ca
BLAKE2b-256 checksum
How to use checksums
e3cbf266f1eb83e150096fa3ec7dddc080ece57c8f5c5bd26a28a4973823e8f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.3

Release files / ppb_vector-1.0-py3-none-any.whl

Download URL ppb_vector-1.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2adde9aa4c905d412a0146353255b377eb54b472d64cc57fd99f5f2cbd9d8b6
BLAKE2b-256 checksum
How to use checksums
51ccff65d3b5ef5dcf735827e66427d262616b948a64621d4c4ca151bcdf1d5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.3
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