it's tagged python

Introducing templatemaker | Holovaty.com

I've just released templatemaker, which is something I've been hacking on and off (mostly off) the past couple of months. It's a Python library for extracting data from similarly formatted text strings. [I look for this every few months and can never find the repo because it is hosted on Google Code]

http://www.holovaty.com/writing/templatemaker/

pupil - Eye tracking with Python, OpenCV, Glumpy + Hardware prototype

Pupil is an eye tracking hardware and software platform that started as a thesis project at MIT. Pupil is a project in active, community driven development. The hardware is accessible, hackable, and affordable. The software is open source and written in Python. Our vision is to create a tool kit for a diverse group of people interested in learning about eye tracking and conducting their eye tracking projects.

http://code.google.com/p/pupil/

Titlecase.py: Titlecase in python by Stuart Colville

John Gruber recently published a perl script to convert strings into title case avoiding capitalizing small words based on rules from the New York Times Manual of style as well as catering for several special cases.

http://muffinresearch.co.uk/archives/2008/05/2...

Web scraping: Reliably and efficiently pull data from pages that don't expect it

Exciting information is trapped in web pages and behind HTML forms. In this tutorial, you'll learn how to parse those pages and when to apply advanced techniques that make scraping faster and more stable. We'll cover parallel downloading with Twisted, gevent, and others; analyzing sites behind SSL; driving JavaScript-y sites with Selenium; and evading common anti-scraping techniques.

http://pyvideo.org/video/609/web-scraping-reli...

Create Robust Selenium Tests With PageObjects

The Page Object Pattern is a strong and efficient way to create, maintain and reuse test scripts for testing Web applications. PageObjects bring object oriented programming to test scripts.

http://www.pushtotest.com/create-robust-seleni...

Testing the Mobile (and Desktop) Web with Selenium 2.0 - Better, Faster, and mor...

WebDriver aims to natively drive each browser the best way possible for maximum capability, then hiding those differences between lower level C and C++ APIs, and finally exposing the functionality through the appropriate C/C++ mechanism for each target language, such as using ctypes for Python. With WebDriver's technical approach, anything a user can do is now possible in test automation code.

http://pyvideo.org/video/373/pycon-2011--testi...

Dabbler : Sign your email like Randall Waterhouse

The core of the script is two functions — one that gets GPS coordinates from GPSd, and a second that does a lookup for geographical features (mountains, canyons, islands, etc) on GeoNames.org. For more details, see the final section of this post.

http://sethjust.com/2011/07/11/sign-your-email...

Approximate Regex Matching in Python | Hacker Boss

regex matching library called libtre. The cool thing about this library is that it supports searching for approximate matches.

http://hackerboss.com/approximate-regex-matchi...

Bottle: Python Web Framework — Bottle v0.10.dev documentation

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.

http://bottlepy.org/docs/dev/index.html

PEP 8 -- Style Guide for Python Code

This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python. This document was adapted from Guido's original Python Style Guide essay, with some additions from Barry's style guide. Where there's conflict, Guido's style rules for the purposes of this PEP. This PEP may still be incomplete (in fact, it may never be finished <wink>).

http://python.org/dev/peps/pep-0008/

Python Project Howto

You have a pile of Python code. You think, “this could be useful to someone else.” You want to release it as an open-source project. You’ve come to the right place. This guide will help you release a high-quality Python project. The file layout below illustrates the correspondence between the components of a good Python project and the files you create.

http://infinitemonkeycorps.net/docs/pph/

Think Stats: Probability and Statistics for Programmers

If you have basic skills in Python, you can use them to learn concepts in probability and statistics. This new book emphasizes simple techniques you can use to explore real data sets and answer interesting statistical questions.

http://www.greenteapress.com/thinkstats/

Pattern | CLiPS

Pattern is a web mining module for the Python programming language. It bundles tools for data retrieval (Google + Twitter + Wikipedia API, web spider, HTML DOM parser), text analysis (rule-based shallow parser, WordNet interface, syntactical + semantical n-gram search algorithm, tf-idf + cosine similarity + LSA metrics) and data visualization (graph networks).

http://www.clips.ua.ac.be/pages/pattern

The Swinger « Music Machinery

One of my favorite hacks at last weekend’s Music Hack Day is Tristan’s Swinger.  The Swinger is a bit of python code that takes any song and makes it swing.  It does this be taking each beat and time-stretching the first half of each beat while time-shrinking the second half.  It has quite a magical effect.

http://musicmachinery.com/2010/05/21/the-swinger/

eyeD3 0.6.17

eyeD3 is a Python module and program for processing ID3 tags. Information about mp3 files (i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1 and v2.3/v2.4.

http://eyed3.nicfit.net/

mahemoff's Instalicious at master - GitHub

Instalicious is a mashup of Instapaper (http://instapaper.com) and Delicious (http://delicious.com), allowing you to push your Delicious "toread" bookmarks to Instapaper for offline reading. It's a single Python script which you probably want to run from a periodic cronjob.

http://github.com/mahemoff/Instalicious

How Do You Look When Merging Fails ;-) « Andi Albrecht

Finally I wrote a little fun script that does almost the same: Just register it as a hg hook and it takes a picture of you exactly at the unique moment when merging fails and it sends it directly and without any further questions to Twitpic and Twitter:

http://andialbrecht.wordpress.com/2009/05/09/w...

MIT OpenCourseWare | Electrical Engineering and Computer Science | 6.00 Introduction to Computer Science and Programming, Fall 2008 | Home

This subject is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals. The class will use the Python™ programming language.

http://ocw.mit.edu/OcwWeb/Electrical-Engineeri...

MIT 6.00 Intro to Computer Science & Programming, Fall 2008

This subject is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals.

http://www.youtube.com/view_play_list?p=4C4720...

Book (Natural Language Toolkit)

Natural Language Processing with Python

http://www.nltk.org/book

Dive Into Python

Dive Into Python is a Python book for experienced programmers. [...] The complete text is available online.

http://www.diveintopython.org/index.html