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,build]

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.5.tar.gz (227.0 kB view details)

Uploaded Source

Built Distribution

gsoup-0.2.5-py3-none-any.whl (225.0 kB view details)

Uploaded Python 3

File details

Details for the file gsoup-0.2.5.tar.gz.

File metadata

  • Download URL: gsoup-0.2.5.tar.gz
  • Upload date:
  • Size: 227.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gsoup-0.2.5.tar.gz
Algorithm Hash digest
SHA256 041e868a202aa67b315a1d98c6a481db67425cbf4f9cd85a6a2cb1a9efb0b606
MD5 dd5695af9d678146690dbae6a746a8a8
BLAKE2b-256 362b42e8ef87c087251bdc71cdc1081743c8a1189b7cf35d9f64b9dfaf4b7124

See more details on using hashes here.

File details

Details for the file gsoup-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: gsoup-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 225.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for gsoup-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bf7a1f544d88fd3d1c2d8948498d7a963c39ffdfb37f0c053854f29e954877f6
MD5 9b44c04e419d3d6eb6d13f09e73e8735
BLAKE2b-256 9c9f3dcbf8ad9ebe50d54e947f2df4b63ce509ed08f6409693756bc8b94c64bc

See more details on using hashes here.

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