Python

The simplest python server example ;)

Auteur: 
fraka6

div dir="ltr" style="text-align: left;" trbidi="on"Today, I was looking for a simple python server template but couldn't find a good one so a href="https://bitbucket.org/fraka6/mlboost/raw/ce9e76218daa7bec96d61b98c9a9e90b10440b7c/mlboost/examples/server.py"here is what I was looking for/anbsp;(yes the title is a little arrogant ;):br /!-- HTML generated using hilite.me --br /div style="background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;"pre style="line-height: 125%; margin: 0;"span style="color: grey; line-height: 125%;"#

Des URL conviviales avec Flask

Auteur: 
Patrick Fournier

h2 class=title subtitleAmenez-en, des jolies URL!!!/h2
pDepuis quelques temps, nous avons enrichi notre arsenal de technologies en y ajoutant a href=http://flask.pocoo.org/Flask/a, un micro-cadre d'application web écrit en Python et basé sur a href=http://werkzeug.pocoo.org/Werkzeug/a (une bibliothèque a href=http://fr.wikipedia.org/wiki/Web_Server_Gateway_InterfaceWSGI/a) et a href=http://jinja.pocoo.org/Jinja2/a (un moteur de /p
pa href=http://whiskyechobravo.com/blogue/des-url-conviviales-avec-flask target=_blanken lire plus/a/p

L’essence du leadership communautaire

Auteur: 
Yves Moisan

J’ai travaillé avec Plone quelques années, entre 2003 et 2005 environ, dans le cadre d’un projet de portail de qualité de l’eau.  Mon humble effort s’est résumé à quelques dizaines (centaines max) de lignes de code qui utilisaient une partie de l’API de Plone, plus précisément un engin de typage de données du nom d’Archetypes, et étendaient une classe (Archetype) de PrimaGIS, un produit conçu pour ajouter des

Finding the optimal K in kmean: a incremental kmeans in python

Auteur: 
fraka6

div dir="ltr" style="text-align: left;" trbidi="on"I was looking for an good implementation of an incremental k-means where I don't have to set the optimal K.

Real-time face recognition experiment packages

Auteur: 
fraka6

div dir="ltr" style="text-align: left;" trbidi="on"a href="http://pypi.python.org/pypi/digipy" target="_blank"img border="0" height="240" src="http://3.bp.blogspot.com/-1-epDcNsvyc/ULBcaal7mwI/AAAAAAAAAMU/Ys_OgeUwojw/s400/app_fix_class_2digits.jpeg" width="400" //abr /Innbsp;Autumn 2009, I have been lecturer at ETS for a a href="http://www.etsmtl.ca/zone2/fichedecours/fichedecours.asp?numerodefiche=LOG770"Machine Learning introduction class/a.

Catching problems early with python

Auteur: 
William Lachance

Just a few quick notes on how to avoid a class of errors I’ve been seeing in Mozilla’s automation over the last year. Since python interprets code dynamically, it’s pretty easy for problems like undefined variables to slip through, especially if they’re in a codepath that isn’t frequently tested. The most recent example I found was in some cleanup-after-error code for remote mochitest/reftest, which tried to call “self.cleanup” from a standalone method.

readthedocs.org

Auteur: 
Yves Moisan

Wow.  C’est ce que je me suis dit lorsque j’ai abouti sur readthredocs.org au hasard de mes pérégrinations sur le web.  Je suis arrivé là via un projet d’Éric Lemoine qui vise à donner une dimension géospatiale à Pyramid, dont la documentation est … sur RTD aussi.  Le projet s’appelle Papyrus

Using Apache UIMA Concept Mapper Annotator with Python via JPyPe

I have been using a lot of Python lately in work for a
customer. Programming python has many positives, but when it comes to
processing large amounts of text, I still choose Apache UIMA. In a
new project we will be deploying in the upcoming weeks we are
searching for job postings using (among other things) a large
dictionary of job titles. This is the task for the Apache UIMA
Concept Mapper Annotator, which is part of the Apache UIMA Addons.

Fabric and Pyramid: automatic deployment issues with paster serve

dans

I'm writing a post because I want to keep a memory of the issue I had, and the solution I found.

This is the issue I had:

When running either an /etc/init.d script or directly paster serve --daemon via Fabric (using run() or sudo(), on a remote location that is, more often than not, the process would display: Entering daemon mode but then never run (or die directly).

Here is a description of the problem:

Python Functional Tools

Auteur: 
Jean-Lou Dupont

I got the chance to come by a pretty cool project recently: Python a href="https://github.com/phzbox/Moka" target="_blank"Moka/a. nbsp;It consists of functional programming friendly implementations of standard Python dictionary and list classes. nbsp;Then it struck me: nbsp;wouldn't be nice to have Erlang-ish pattern matching functionality to Python?br /br /So I crafted a small Python package scratching an itch I have had for way too long: nbsp;function dispatching based on pattern matching.

Syndiquer le contenu