Rigatoni
Python Server Library for NOODLES Protocol
Description
This server library implements the NOODLES messaging protocol and provides objects for maintaining a scene in state. The server uses a websocket connection to send CBOR encoded messages. To customize its implementation, the library provides convenient interface methods to assist the user in writing their own methods for the server. The user can also add custom delegates to add additional functionality to any of the standard components.
Documentation
For more information, check out the documentation.
Installation
Installation is as simple as:
pip install rigatoni
For optional dependencies and support for meshes and geometry object creation, you can install
pip install rigatoni[geometry]
Simple Example
import rigatoni as rig
class CustomTable(rig.Table):
extra_info = None
def handle_clear(self):
print("Clearing table")
def basic_method(server, context):
print("Hello World!")
starting_state = [
rig.StartingComponent(rig.Method, {"name": "basic_method", "arg_doc": []}, basic_method),
]
delegates = {
rig.Table: CustomTable
}
with rig.Server(50000, starting_state) as server:
# do stuff
pass
Hungry for more NOODLES?
For more information and other related repositories check out this collection
Metadata
Release files for rigatoni 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rigatoni-0.2.8.tar.gz | 31.9 kB | Without provenance | Details for rigatoni-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rigatoni-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for rigatoni-0.2.8-py3-none-any.whl |
Total release size: 65.7 kB
Release files / rigatoni-0.2.8.tar.gz
| Download URL | rigatoni-0.2.8.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
363d49e69bb01737950587044bbb9c7fddce8e6176adf387ef87c74a80ddb3f1
|
|
BLAKE2b-256 checksum How to use checksums |
e046440317e4cf25019b3e5831da20d432082dc0cc7db4e77624b4cee836f9e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / rigatoni-0.2.8-py3-none-any.whl
| Download URL | rigatoni-0.2.8-py3-none-any.whl |
|---|---|
| Size | 33.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82b8c64bc1a7a9e9be1fe72e176514bfd3f3e19b874fd98aa10af4d55e347b7d
|
|
BLAKE2b-256 checksum How to use checksums |
b642b58357d848fd482ca0b6925cffeb47ad54a8d18736bdddc8dbfa01956f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for rigatoni 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.