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

Uploaded Source

Built Distribution

gsoup-0.2.1-py3-none-any.whl (217.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsoup-0.2.1.tar.gz
  • Upload date:
  • Size: 219.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gsoup-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c3c32b1b0bac7dae3b54c907397f677a8ac6a8b0f76254355053c5fca4090ef5
MD5 f53607eb611ec2ebe92f6339d2a3cd5d
BLAKE2b-256 5bac40cf72c505a22cd5b6d48858c014b5c6e4a768c6fcf371a9736e4eb2257e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gsoup-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 217.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gsoup-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a06dfdbc3409b717407094e016c7d72e24a75c5d6667dd851df3fb1833bbaa41
MD5 6124f6c6c176258908f24beb0004b886
BLAKE2b-256 0be21c9602727db756dcb4e37d44a60a0e0aaa583b7df90210a8f536305a5b45

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