Library for SiBus elements
Project description
SiBus Lib - Library for creating SiBus clients and servers
========================================================
Vous pouvez l'installer avec pip:
############### OPTIONAL FOR MARIADB SUPPORT #######################################
sudo apt-get install mariadb-server-10.0
sudo mysql -u root
>>> CREATE DATABASE sibus_database;
>>> GRANT ALL ON sibus_database.* TO alex@localhost IDENTIFIED BY 'alpi';
>>> \q
pip install sqlalchemy sqlalchemy_utils PyMySQL
######################################################
pip install sibus_lib
Exemple d'usage:
>>> from sibus_lib import sibus_init
>>> from sibus_lib import BusCore
>>> logger, cfg_data = sibus_init("bus.core")
>>> buscore = BusCore()
>>> buscore.start()
Ce code est sous licence WTFPL.
========================================================
Vous pouvez l'installer avec pip:
############### OPTIONAL FOR MARIADB SUPPORT #######################################
sudo apt-get install mariadb-server-10.0
sudo mysql -u root
>>> CREATE DATABASE sibus_database;
>>> GRANT ALL ON sibus_database.* TO alex@localhost IDENTIFIED BY 'alpi';
>>> \q
pip install sqlalchemy sqlalchemy_utils PyMySQL
######################################################
pip install sibus_lib
Exemple d'usage:
>>> from sibus_lib import sibus_init
>>> from sibus_lib import BusCore
>>> logger, cfg_data = sibus_init("bus.core")
>>> buscore = BusCore()
>>> buscore.start()
Ce code est sous licence WTFPL.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sibus_lib-0.2.1.tar.gz
(7.9 kB
view hashes)