Skip to main content

Python package concerning the rigidity and flexibility of bar-and-joint frameworks.

Project description

Pyrigi Logo

PyRigi documentation MIT license Black code style

PyRigi is a Python package for research in rigidity and flexibility of bar-and-joint frameworks. We aim at providing a tool for investigating combinatorial and geometric questions such as infinitesimal, global, minimal, or generic rigidity.

We use NetworkX for graph theory and SymPy for symbolic and numerical computations. We acknowledge these and all the other open-source projects upon which PyRigi is based.

Installation and usage

We have not reached a stable version yet, but the latest version requiring at least Python 3.10 can be installed by

pip install pyrigi

Then it can be used by

from pyrigi import Graph, Framework

Alternatively, one can clone/download the package from this GitHub repository.

Documentation

The documentation of the main branch is available online. For compiling it locally, see the development guide.

An important part of the documentation is the mathematical background. We specify the outputs of the methods in the package by providing rigorous mathematical definitions.

Questions and feature requests

We have a Zulip chat, where you can ask questions or propose new functionality. If you want to get access to it, please send an email to this address. You can also use the GitHub Discussions.

To report bugs or ask for new features, please create an issue.

Contributing

We appreciate contributions! Do you have a research result about rigidity or flexibility of bar-joint frameworks that could be implemented? Let us know! Or even better, implement it and contribute to the package!

Besides coding, you can also help for instance by extending the mathematical documentation or creating tutorials.

If you want to contribute, please, read the development guide and contact us.

License

The package is licensed under the MIT license.

The PyRigi Developers

The current maintainers of the project are:

Matteo Gallet
Georg Grasegger
Matthias Himmelmann
Jan Legerský

The decision to create PyRigi was made by the participants of the workshop Code of Rigidity (March 11–15, 2024), which was part of the Special Semester on Rigidity and Flexibility at RICAM, Linz, Austria.

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

pyrigi-0.3.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

pyrigi-0.3.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file pyrigi-0.3.0.tar.gz.

File metadata

  • Download URL: pyrigi-0.3.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyrigi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e032877fd6bed9c41ca2e02532353f8503b7837a81760071361fa7f57dedc5d1
MD5 331ecaef4643c48026dde7429c9ddc7a
BLAKE2b-256 f535eb984a29dde89c5d2e1961b10848d6a5668759ff738e79e980a97c93c757

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrigi-0.3.0.tar.gz:

Publisher: python-publish.yml on PyRigi/PyRigi

Attestations:

File details

Details for the file pyrigi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyrigi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyrigi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bfd438c343196fa56d273d11a14dc8c5b8516e3958822d0ce25343c8f6125af
MD5 1f4eeef01d861813f39554b2ed60c2a7
BLAKE2b-256 194c83489184178df834940e2ce9e3cae43ae3ca880887510f0b8fe9925c82d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrigi-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on PyRigi/PyRigi

Attestations:

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