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

Uploaded Source

Built Distribution

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

pyrigi-0.4.0-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrigi-0.4.0.tar.gz
  • Upload date:
  • Size: 55.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyrigi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2d46efd65f6f033823a2765b9a738b327fc20887c4a66c0b73eab0536cbf2218
MD5 8d9bbf297fd9a8f34e9522b11ad41873
BLAKE2b-256 1c0b85c3a9d47adb39cb9b3399b4bee80374817111f9be6b81bb2d8e02717030

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on PyRigi/PyRigi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pyrigi-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 57.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyrigi-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 613cb00129c2d9f2b16f1c67bc41b20c63890a8f68076f845ae1f2faad8359d0
MD5 edda1617f86e3c5d240381ff2ea6cfb9
BLAKE2b-256 fec9a2325e2d0b66295825f6cc9ccb3c3a723747057a9333405363a4562c4064

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on PyRigi/PyRigi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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