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.

Source Distribution

madlab-0.0.4.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file madlab-0.0.4.tar.gz.

File metadata

  • Download URL: madlab-0.0.4.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.4

File hashes

Hashes for madlab-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f67d716ff4fa76ec3ba035c81f4cdeebf9c29a333cb64cf44fb708bae2754c33
MD5 94d07efd2fa56b0939fc140d3f973eb9
BLAKE2b-256 91dc1e856152243096a2adb1978fe6257d5bcdc288ea662996fe2388ffa96c48

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