Primlib
Library for processing geometrical primitives like point clouds or triangle meshes.
Features
- Class representation of a point cloud
- Class representation of a triangle mesh
- Class representation of a line set
- Main library has just NumPy and SciPy as external dependencies
- Fast 3d visualization using Polyscope library
- Permissive License (MIT), code can be used in commercial software
Requirements
- Python >=3.10
- NumPy
- SciPy
- Matplotlib
- trafolib for represenation of rigid body transformations
- plyfile for loading PLY files
- Polyscope for visualization
- pyembree2 as wrapper for Intel Embree for mesh-point distance computations
- pytest and pytest-cov for testing
- Ruff for linting
All dependencies are declared in pyproject.toml.
Installation
It is strongly recommended to use a virtual environment.
For Users (Runtime Only)
This will install the core libraries needed to run Primlib, without any development tools or tests.
pip install primlib
2. For Developers
This installation is for contributors who want to run tests or modify the code.
-
Clone the repository:
git clone https://gitlab.com/proebrock/primlib.git cd primlib
-
Create a virtual environment (recommended):
python -m venv .venv source .venv/bin/activate # Linux / macOS .venv\Scripts\activate # Windows
-
Install the project with development extras:
pip install -e ".[dev]"
-
Run ruff:
- As a linter:
ruff check - As a formatter:
ruff format
- As a linter:
-
Run all tests:
pytest
About me and the project
My name is Philipp Roebrock and I work as a lecturer at the Institute for Photonics and Robotics at the University of Applied Sciences of the Grisons FHGR in Chur in Switzerland.
If you have any questions or suggestions please drop and issue or a personal message to philipp DOT roebrock AT fhgr DOT ch.
Metadata
Release files for primlib 0.3.0
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 | Actions |
|---|---|---|---|---|
| primlib-0.3.0.tar.gz | 48.7 kB | Without provenance | Details for primlib-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| primlib-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for primlib-0.3.0-py3-none-any.whl |
Total release size: 87.8 kB
Release files / primlib-0.3.0.tar.gz
| Download URL | primlib-0.3.0.tar.gz |
|---|---|
| Size | 48.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c50d4876dceabe5325432b7e79bd82ec5dcf3566fb43e8a4eaba3f8a9cee818f
|
|
BLAKE2b-256 checksum How to use checksums |
426a126eab1979b5f6886cab0f5d28ee17f7b15d1631c2b5c10ca3259724cd62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / primlib-0.3.0-py3-none-any.whl
| Download URL | primlib-0.3.0-py3-none-any.whl |
|---|---|
| Size | 39.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3e2b52839962b98d2462d1314f48018cf687a2bcfac68412bfe66520d70dc1e
|
|
BLAKE2b-256 checksum How to use checksums |
ff0587b07473afc30aa0da6c839f2f2a50fb47ce445e6f1428334e804d7be921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for primlib 0.3.0
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.