Giter Site home page Giter Site logo

sebastien-ferry / ble_flask Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 728 KB

FLASK website to display bluetooth LE data collected from sensor

Home Page: https://sebastien-ferry.github.io/playing-with-ble/

Python 3.35% HTML 6.73% CSS 1.06% JavaScript 66.20% Roff 22.66%

ble_flask's Introduction

Hi there 👋

  • 🔭 I’m currently looking for inspiration ...

Now³

  • and forever playing

PS

sebastien-ferry/sebastien-ferry is a ✨ special ✨ repository because its README.md (this file) appears on your GitHub profile.

ble_flask's People

Contributors

sebastien-ferry avatar

Watchers

 avatar  avatar

ble_flask's Issues

Missing file: db_password.py

File db starts with:

import db_password

import psycopg2

def db_connect():
    db_connection = None
    db_cursor = None
    try:
        db_connection = psycopg2.connect( user = db_password.user
                                     , password = db_password.password
                                     , host = db_password.host
                                     , port = db_password.port
                                     , database = db_password.database)
        db_cursor = db_connection.cursor()

    except (Exception, psycopg2.Error) as error :
        print ("ERROR PsycoPG2 (db_connect) : ", error)
        return None, None

    return db_connection, db_cursor

There should be a file db_password.py with database connection definitions.

# Config / Passwords 

user = "db-user"
password = "db-password"
host = "db-host.com"
port = "db-port"
database = "db-database"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.