Skip to main content

madlab client module

Project description

MADLAB python library

Description

MADLAB is a SaaS (Software as a Service) platform provided by LHS.

Install

  pip install madlab

Setup

   python setup.py bdist
   python3 setup.py sdist
   twine upload dist/*

Dev environmenmt

MADLAB_HOST="http://localhost:5000"

Run

gunicorn app:app --bind 0.0.0.0:5001 --worker-class aiohttp.GunicornWebWorker  --workers 8

On docker node :

Add in file /etc/systemd/system/docker.service.d/override.conf

[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd://  -H tcp://0.0.0.0:2376 -s overlay --insecure-registry madlab:5000

Then flush changes by executing :

systemctl daemon-reload

verify that the configuration has been loaded:

systemctl show --property=ExecStart docker

restart docker:

systemctl restart docker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for madlab, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size madlab-0.0.4.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page