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.1.tar.gz (17.4 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.1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_luminous_mesh-0.1.1.tar.gz
  • Upload date:
  • Size: 17.4 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.1.tar.gz
Algorithm Hash digest
SHA256 876f04c8ca355fd30c0cfd44a7498a9118dccbd4524239a4f89a5cb61624f3cf
MD5 408fcf4cc2ac885a77b2e59bd1d680ad
BLAKE2b-256 578c23414f2f7301f013eb8b54593437efbd0e02fe3b512571f7175a881f624c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_luminous_mesh-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02669131186b7ee76059493e3f1f82cf26ec3a0072ae6c44632e8a23b2e4f7af
MD5 e35bd12959d86e3eab34123d498f7404
BLAKE2b-256 0f44cb6673257629359755c7121144c210aea1a6676fff01b7fc9270f739f4c2

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