A flexible 3D vector math library supporting lower dimensions
Project description
vector3
A lightweight and Pythonic 3D vector math library
Supports 3D, 2D, 1D, and even 0D vector operations with clean syntax and full documentation.
🚀 Features
- Arithmetic:
+,-,*,/,==,-vector,abs(vector) - Access: indexing
[0], unpacking,to_tuple() - Dot & cross product
- Unit vector, projection
- Angle between vectors (cos, sin, degrees)
- Scalar & vector triple products
- Parallelepiped volume calculation
- Auto-detect dimension (0D–3D support)
📦 Installation
pip install vector3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vector3-1.0.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vector3-1.0.0.tar.gz.
File metadata
- Download URL: vector3-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb842581e53ac4bbcfc3bc1c5e5dd055d30348ac596f29082c1253d180cedda2
|
|
| MD5 |
4d1d4628a4092594c4c09890db4dd0d2
|
|
| BLAKE2b-256 |
867b4178a61fe9dbe670fbbd9e512998d4f3840db1d8e08217f191274055b2bc
|
File details
Details for the file vector3-1.0.0-py3-none-any.whl.
File metadata
- Download URL: vector3-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43dd00a44d319a27411d3e7dc5018077f7020c5d3bc0f539f3b98cc582541c87
|
|
| MD5 |
6327cf692c4f1a775af7d2fb2dccfac9
|
|
| BLAKE2b-256 |
24e8bbe402d79baf4a4b88197997f906d727606dc39253affbe5aa3e7949c852
|