Skip to main content

A geoemtry & graphics library with focus on clarity rather than performance.

Project description

gsoup

In a nutshell

A python library implementing various geometry / graphics algorithms, with focus on clarity rather than performance.

Long version

This library is the result of me getting tired of replicating pieces of utility code to do similar work across different projects. I decided to push any fundamental piece of code into this repository. The focus is on clarity and concisness for all implementations, but here and there some immediate/easy performance gains are used.

The majority of the code uses numpy, but some effort has been made to also be compatible with pytorch for GPU computations, as many of my interests rely on a strong auto-differentiaion (and GPU enabled) package.

All the code is used for self-educational purposes and to facilitate faster research of concepts in graphics, and specifically for applications in AR.

Installation

pip install gsoup

Usage

import gsoup

Developers

git clone https://github.com/yoterel/gsoup.git

cd gsoup

pip install -e .[dev]

Feel free to submit pull requests (run the tests first).

Build

bumpver update --no-fetch --patch

python -m build

twine check dist/*

twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsoup-0.2.3.tar.gz (223.9 kB view hashes)

Uploaded Source

Built Distribution

gsoup-0.2.3-py3-none-any.whl (222.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page