Skip to main content

Primlib

Pipeline Status Coverage

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

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.

  1. Clone the repository:

    git clone https://gitlab.com/proebrock/primlib.git
    cd primlib
    
  2. Create a virtual environment (recommended):

    python -m venv .venv
    source .venv/bin/activate  # Linux / macOS
    .venv\Scripts\activate     # Windows
    
  3. Install the project with development extras:

    pip install -e ".[dev]"
    
  4. Run ruff:

    • As a linter:
      ruff check
      
    • As a formatter:
      ruff format
      
  5. 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)

Source distribution for primlib 0.3.0
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)

Table of built distributions (wheels) for primlib 0.3.0
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

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