Skip to main content

Python Client Library for NOODLES Protocol

Project description

Penne

Build Status PyPI Coverage badge

Python Client Library for NOODLES Protocol

Description

Penne is the first client library to implement the NOODLES messaging protocol in Python. NOODLES allows multiple client applications to interact collaboratively with data in real-time. The client uses a websocket connection to send CBOR encoded messages, and all components in the scene graph can be subclassed and customized to fit an application's needs.

Documentation

For more information, check out the documentation.

Installation

Installation is as simple as:

pip install penne

Simple Example

from penne import Method, Client


class CustomMethod(Method):
  
  custom_attribute = None
  
  def on_new(self, message: dict):
    print(f"New method named {self.name} was created")
    
      
with Client("ws://localhost:50000", {Method: CustomMethod}) as client:
  # do stuff

Hungry for more NOODLES?

For more information and other related repositories check out this collection

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

penne-0.5.5.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

penne-0.5.5-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file penne-0.5.5.tar.gz.

File metadata

  • Download URL: penne-0.5.5.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for penne-0.5.5.tar.gz
Algorithm Hash digest
SHA256 35b938b9c17dfd5050311672dafd46db11318c5c7606c73b5894760ea1a0cfb7
MD5 677902e229d932d906d9b9b26710b644
BLAKE2b-256 2995ab10ac6db18f676009fe6f3519bceb23c05d3dce65b9f94a472a7bfec2ac

See more details on using hashes here.

File details

Details for the file penne-0.5.5-py3-none-any.whl.

File metadata

  • Download URL: penne-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for penne-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d5df63e2e5c3c7946660525d5567f0abb6134353ae57ae4c6be24de1ed70fd5
MD5 60113a7fe3e0ec3a377cb473d8b47528
BLAKE2b-256 40bb37b444176f9dc0978e19d55ca19737a85bdc49354b9702ac74a4a216de20

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