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 / vision / AR algorithms, with focus on clarity and correctness 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/*

or if you defined a ~/.pypirc:

twine upload --repository gsoup dist/*

see .pypirc for an example file.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsoup-0.2.9-py3-none-any.whl (260.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsoup-0.2.9.tar.gz
  • Upload date:
  • Size: 262.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gsoup-0.2.9.tar.gz
Algorithm Hash digest
SHA256 43d65a1dccb7476141376e8a78bd5eff4a8cc40e51a84e2c1befb5eae9fee985
MD5 56ae70184c764b8946758c7f041839dc
BLAKE2b-256 d752822db9bbf541816c51080a82a9005a17e0595be4c6a4219a0eb7ca2f4624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gsoup-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 260.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gsoup-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 58570d8dc016ebbd8d22b8d7849b38487dc2fe5ee03f5970ce6b4584070665cc
MD5 5a0293b3d3a6b0a534ac708eaadafa25
BLAKE2b-256 9bf9a38c9ffce3e2167af2b1352864ca49885ed2237908736a73725211dd3c4c

See more details on using hashes here.

Supported by

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