pygeom
Geometry Definition and Calculation Package for Python
Contains:
- 2D and 3D vectors for vector dot products using "*" and vector cross products using "**".
- 2D and 3D cubic splines for calculating the various directions and curvatures at every point.
- 2D and 3D transformations and coordinate systems for transforming vectors and points.
Vector Example Code:
# Import Vector Class
from pygeom.geom3d import Vector
# Vector object creation
vec1 = Vector(2.0, 3.0, 1.0)
print(f'vec1 = {vec1:g}')
# Multiply vector by a scalar
vec2 = 2*vec1
print(f'vec2 = {vec2:g}')
# Vector attributes are x, y, and z
vec3 = Vector(vec2.y, vec2.z, vec2.z)
print(f'vec3 = {vec3:f}')
# Vector cross product
vec4 = vec1.cross(vec2)
print(f'vec4 = {vec4:g}')
# Vector cross product
vec5 = vec1.cross(vec3)
print(f'vec5 = {vec5:g}')
# Vector dot product
scal = vec1.dot(vec2)
print(f'scal = {scal:g}')
# Get vector magnitude
mag = vec5.return_magnitude()
print(f'mag = {mag:g}')
# Get the unit vector
uvec = vec5.to_unit()
print(f'uvec = {uvec:f}')
Vector Example Output:
vec1 = <2, 3, 1>
vec2 = <4, 6, 2>
vec3 = <6.000000, 2.000000, 2.000000>
vec4 = <0, 0, 0>
vec5 = <4, 2, -14>
scal = 28
mag = 14.6969
uvec = <0.27217, 0.13608, -0.95258>
Metadata
Release files for pygeom 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pygeom-0.0.15.tar.gz | 66.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygeom-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 153.4 kB
Release files / pygeom-0.0.15.tar.gz
| Download URL | pygeom-0.0.15.tar.gz |
|---|---|
| Size | 66.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58216ee73080662c1715b11f532bd53f1c76dd69dc8902cd1824a27eaa72dda9
|
|
BLAKE2b-256 checksum How to use checksums |
94970191fecc5d64391431df88440a8033228417c0a26b86fc4f27796de0f33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 24, 2026.
Transparency logRelease files / pygeom-0.0.15-py3-none-any.whl
| Download URL | pygeom-0.0.15-py3-none-any.whl |
|---|---|
| Size | 86.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b1b04b264c838c06454e3f0058929e648bb59502ab7e726367da08182270eee
|
|
BLAKE2b-256 checksum How to use checksums |
c2e764a896f33af8ca1b611a9abc10969c3a6b334af884ce5e6091160f6a3414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 24, 2026.
Transparency logSecurity for pygeom 0.0.15
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pygeom-0.0.15.tar.gz
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 24, 2026.
Transparency logA 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.