Skip to main content

M2M Daemons.

Project description

Copyright (c) 2022-2024 Jérémie DECOCK (www.jdhp.org)

Description

M2M Daemons

Note:

This project is still in beta stage, so the API is not finalized yet.

Dependencies

C.f. requirements.txt

Installation (development environment)

Posix (Linux, MacOSX, WSL, …)

From the M2M Daemons source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Windows

From the M2M Daemons source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
env\Scripts\activate.bat
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Installation (production environment)

python3 -m pip install m2m

Documentation

Example usage

mqtt2influx --dry --verbose --config-path examples/config.yml

Build and run the Python Docker image

Build the docker image

From the M2M Daemons source code:

docker build -t m2m:latest .

Run unit tests from the docker container

From the M2M Daemons source code:

docker run m2m pytest

Run an example from the docker container

From the M2M Daemons source code:

docker run m2m mqtt2influx

Bug reports

To search for bugs or report them, please use the M2M Daemons Bug Tracker at:

https://gitlab.com/jdhp/sensors-m2m-daemons/issues

License

This project is provided under the terms and conditions of the MIT License.

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

m2m-0.4.0.tar.gz (21.4 kB view hashes)

Uploaded Source

Built Distribution

m2m-0.4.0-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

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