Skip to main content

A Python client for Luminous Mesh service

Project description

Python Luminous Mesh Client

A Python client implementation for the Luminous Mesh service.

Installation

You can install the package using pip:

pip install python-luminous-mesh

Or directly from the source:

git clone https://github.com/yourusername/python-luminous-mesh.git
cd python-luminous-mesh
pip install .

Usage

You can run the Luminous Mesh client in two ways:

  1. Using the command-line interface:
# Using environment variables for configuration
luminous-mesh

# Using a configuration file
luminous-mesh --config path/to/config.yaml
  1. As a Python package:
import asyncio
from python_luminous_mesh.core.client import LuminousMeshClient
from python_luminous_mesh.config.settings import ClientSettings

async def run_client():
    # Load settings from environment variables
    settings = ClientSettings.from_env()
    
    # Or from a YAML file
    # settings = ClientSettings.from_yaml("path/to/config.yaml")
    
    client = LuminousMeshClient(settings)
    
    if await client.connect():
        try:
            # Your client logic here
            while True:
                await asyncio.sleep(1)
        finally:
            await client.close()

if __name__ == "__main__":
    asyncio.run(run_client())

Configuration

The client can be configured either through environment variables or a YAML configuration file. See the documentation for more details on available configuration options.

License

[Your License Here]

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

python_luminous_mesh-0.1.2.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

python_luminous_mesh-0.1.2-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file python_luminous_mesh-0.1.2.tar.gz.

File metadata

  • Download URL: python_luminous_mesh-0.1.2.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for python_luminous_mesh-0.1.2.tar.gz
Algorithm Hash digest
SHA256 05325f11a87229852af0415d5af06e2a9944e5a5f4ddce4178eff3cc10cfa8fa
MD5 ce699274950ffe190ab8f1cf523b98b6
BLAKE2b-256 f1c29ca254486afececeedb75a1b7355fc7a89fdae83face97d70f1889f4120d

See more details on using hashes here.

File details

Details for the file python_luminous_mesh-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_luminous_mesh-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d1d48d217ccae848df0858354366b0f4c62b2a6e43cd4a6d3c41dd9ea1e8935
MD5 34d64b1b295fed5308a568cb3d7525ff
BLAKE2b-256 56f75bc174cd26c08ee46cc9c3087b49d76ce793d3d4177ebd5450cb8d8115d3

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