background preloader

Welcome

Welcome
Welcome because sometimes a pocket knife is not enough overview // docs // community // snippets // extensions // search Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed! Latest Version: 0.10.1

http://flask.pocoo.org/

Related:  Python

An image sensor board based on Arduino Due and uCamII camera runs on Arduino Due/MEGA and Teensy3.2 with a uCamII camera support for IEEE 802.15.4 and long-range LoRaTM radios C. Pham, LIUPPA laboratory, University of Pau, France. last update: Apr 3rd, 2016. Introduction There are a number of image sensor boards available or proposed by the very active research community on image and visual sensors: Cyclops, MeshEyes, Citric, WiCa, SeedEyes, Panoptes, CMUcam3&FireFly, CMUcam4, CMUcam5/PIXY, iMote2/IMB400, ArduCam, ... The Flask Mega-Tutorial, Part VII: Unit Testing This is the seventh article in the series in which I document my experience writing web applications in Python using the Flask microframework. The goal of the tutorial series is to develop a decently featured microblogging application that demonstrating total lack of originality I have decided to call microblog. Here is an index of all the articles in the series that have been published to date: Recap In the previous chapters of this tutorial we were concentrating in adding functionality to our little application, a step at a time. By now we have a database enabled application that can register users, log them in and out and let them view and edit their profiles.

Less Framework 4 I called Less Framework "a CSS grid system for designing adaptive websites". It was basically a fixed-width grid that adapted to a couple of then popular screen widths by shedding some of its columns. It also had matching typographic presets to go with it, built with a modular scale based on the golden ratio. The resources it was originally published with are still available on GitHub. Contrary to how most CSS frameworks work, Less Framework simply provided a set of code comments and visual templates, instead of having predefined classes to control the layout with. This is how I still work today and definitely a method I advocate.

Python CGI Programming What is CGI? The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between the web server and a custom script.The CGI specs are currently maintained by the NCSA and NCSA defines CGI is as follows:The Common Gateway Interface, or CGI, is a standard for external gateway programs to interface with information servers such as HTTP servers. The current version is CGI/1.1 and CGI/1.2 is under progress. Tutorial — Bottle 0.13-dev documentation This tutorial introduces you to the concepts and features of the Bottle web framework and covers basic and advanced topics alike. You can read it from start to end, or use it as a reference later on. The automatically generated API Reference may be interesting for you, too. It covers more details, but explains less than this tutorial. Solutions for the most common questions can be found in our Recipes collection or on the Frequently Asked Questions page. If you need any help, join our mailing list or visit us in our IRC channel.

blind-control This project is about electrically controlled roller shutters and motorized blinds. These are controlled with the Somfy RTS RF remote control system. In summer time, I like to automatically control the blinds such that they close if significant sun light would come insight and open again if direct sun light is over again. Since the blinds are located at different angles on different sides of the house I need individual control of the blinds, depending on their position. Also I want to maximize the opening time to have it as bright as possible insight.

Flask-Exceptional — Flask-Exceptional 0.5.2 documentation Flask-Exceptional adds Exceptional support to Flask. Exceptional tracks errors in your application, reports them real-time, and gathers the info you need to fix them fast. Visit to give it a try. Installation The remaining documentation assumes you have access to an Exceptional account. Installing the extension is simple with pip: metro-bootstrap: Twitter Bootstrap with Metro style Examples <div class="col-sm-6 col-md-3"><div class="thumbnail tile tile-medium tile-teal"><a href="#" ><h1>Hello</h1></a></div></div><div class="col-sm-6 col-md-3"><div class="thumbnail tile tile-medium"><a href="#" ><img src="images/twittertile.png"><h2>Tweet </h2></a></div></div><div class="col-sm-6 col-md-6"><div class="thumbnail tile tile-wide tile-orange"><a href="#" ><h1 class="tile-text"> I'm the 2!</h1></a></div></div> Colors Using Font Awesome in tiles You could use images in your tiles or use the conveniently included FontAwesome icons.

MicroPython Basics: What is MicroPython? There are a couple important differences between Arduino and MicroPython. The first is that Arduino is an entire 'ecosystem' with the Arduino IDE (i.e. the desktop application you use to write and upload sketches), the Arduino programming language (based on C/C++), and Arduino hardware like the Arduino Uno R3 board. MicroPython is only a programming language interpreter and does not include an editor. Some MicroPython boards support a web-based code prompt/editor, but with most MicroPython boards you'll write code in your desired text editor and then use small tools to upload and run the code on a board. The second important difference is that the MicroPython language is interpreted instead of being compiled into code the CPU can run directly like with the Arduino programming language.

Flask-Security — Flask-Security 1.5.2 documentation Flask-Security allows you to quickly add common security mechanisms to your Flask application. They include: Session based authenticationRole managementPassword encryptionBasic HTTP authenticationToken based authenticationToken based account activation (optional)Token based password recovery / resetting (optional)User registration (optional)Login tracking (optional)JSON/Ajax Support Many of these features are made possible by integrating various Flask extensions and libraries. They include: Additionally, it assumes you’ll be using a common library for your database connections and model definitions.

WordPress Development and Deployment With MAMP, Git and Dropbox Nowadays in order to be a freelance WordPress developer you often need to develop simultaneously several WordPress sites for different clients. Here's how. This requires you to adopt the following: MicroPython pyboard [v1.1] ID: 2390 - $44.95 The pyboard is a compact and powerful electronics development board that runs MicroPython. It connects to your PC over USB, giving you a USB flash drive to save your Python scripts, and a serial Python prompt (a REPL) for instant programming. Works with Windows, Mac and Linux.MicroUSB cable not included, but you can pick one up from the store!MicroPython is a complete re-write of the Python (version 3.4) programming language so that it fits and runs on a microcontroller. It includes many optimisations so that it runs efficiently and uses very little RAM.MicroPython runs bare-metal on the pyboard, and essentially gives you a Python operating system.

Related:  FLASK - PYTHON