PUBLIC   marks

PUBLIC MARKS with tag python

Sponsorised links

Today

pyquery: a jquery-like library for python — pyquery v0.3 documentation

by karlcow

pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation.

03 November 2009

MichaelMoore.com | Concentric Sky

by karlcow

With such a large amount of content, searchability was essential. For this we built a custom technology stack based on Solr, Lucene and Haystack. Then, to keep all the previous links pointing in the right direction, we created a customizable scheme of Django regular expressions and Apache mod_rewrites.

02 November 2009

sunlightlabs's django-layar at master - GitHub

by karlcow

helper for publishing data to Layar augmented reality browser from Django edit

Sponsorised links

31 October 2009

30 October 2009

25 October 2009

getElementsBySelector - CSS Query Selector for HTML DOM < Scripts < Python < Bin-Co

by karlcow

getElementsBySelector is a python function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector. This is a frequently used function in JavaScript - if you use a library. Its kind of meaning less to have this function in the server side - unless you are doing screen-scarping. Then its very useful. Recently, I had to work on a Django app that does a bit of screen-scrapping - so I created this function to aid me.

python-djvulibre — Jakub Wilk's software

by karlcow

python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu.

Python Package Index : pydermonkey 0.0.6

by karlcow

Access the SpiderMonkey JavaScript engine from Python

Coming At You Like A Pydermonkey at Toolness

by karlcow

Pydermonkey’s mission is pretty simple and straightforward: it’s just meant to wrap Spidermonkey’s C API as faithfully as possible—including its debugging API—while enforcing the memory safety that Python is known for. This makes it awfully low-level for casual programmers, but thanks to Python’s awesome support for magic methods, it’s not hard to create high-level wrappers that provide much more convenient bridging between JavaScript and Python code.

22 October 2009

20 October 2009

Ressources Python

by parmentierf
une version librement téléchargeable de l'ouvrage "Apprendre à programmer avec Python" de Gérard Swinnen, troisième édition, anciennement publié aux éditions O'Reilly et dorénavant ré-édité chez Eyrolles (ISBN 978-2-212-12474-3 )

19 October 2009

pyglet

by parmentierf & 1 other (via)
pyglet provides an object-oriented programming interface for developing games and other visually-rich applications for Windows, Mac OS X and Linux.

Rails vs Grails vs Django models - Peter Krantz

by karlcow

in Rails, parts of the model design is actually stored in the database schema instead of in the Ruby code. I have started adding comments in the Rails model classes to be able to remember what properties they have without peeking in the Db. Typically I have a number of half-baked projects on my laptop and from time to time I forget what they do and these comments help me remember.

18 October 2009

IMAPClient

by karlcow

IMAPClient aims to be a easy-to-use, Pythonic and complete IMAP client library with no dependencies outside the Python standard library.

johnpaulett.com / Getting RESTful with web.py

by karlcow

Django may be the Python web framework getting all the press recently, but web.py is definitely a nice, simple framework. One of the nice aspects of web.py is that it exposes methods for the basic HTTP methods (GET, POST, PUT, DELETE, etc.) and uses these methods to process each request from the client. This approach makes it amazingly easy to write a RESTful API.

Corey Goldberg: Selenium RC with Python in 30 Seconds

by karlcow

Selenium is a suite of tools to automate web app testing across many platforms. It has various pieces (Core, RC, IDE, etc), and I struggled trying to figure out how everything fits together and works. At the end of the day, all I wanted to do was use Selenium from my Python code to drive a browser session.

My first Twitter app - KungFuPeople.com - Peterbe.com (Peter Bengtsson on Python, Zope, Kung Fu, London and photos)

by karlcow

I simply took the oauth.py module by Leah Culver and wrapped it with some useful functions taken from a similar Twitter app we've done at work.

yml / fabric_factory / overview — bitbucket.org

by karlcow

This project aims to provide an easy to setup continuous integration server and client. The server side infrastructure is built on top of django. The tasks are described using fabric.

pyparsing

by karlcow
The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python.

ONLamp.com: Building Recursive Descent Parsers with Python

by karlcow

What is "parsing"? Parsing is processing a series of symbols to extract their meaning. Typically, this means reading the words of a sentence and drawing information from them. When application programs need to process data that is provided as text, they must use some form of parsing logic. This logic scans the text characters and character groups (words) and recognizes patterns of groups to extract the underlying commands or information.

python regex wrapper

by marco & 1 other
Easy-to-use regular expression API for Python, where _S() and _R() are the primitives for everything.

python regex wrapper

by karlcow & 1 other

Easy-to-use regular expression API for Python, where _S() and _R() are the primitives for everything.

15 October 2009

Exposing calendar events using iCalendar in Django | Technobabble - Christian Joergensen

by karlcow

I recently wrote simple abstraction for exposing calendar events in Django as iCalendar feeds. It relies on vobject for managing the formatting of the calendar file, so you will need this if you want to try it out. It is available in Debian in the python-vobject package.

technobabbler » Blog Archive » drive a webcam with python

by karlcow

I bought a USB webcam off of eBay quite some time ago, and I decided to connect it to my telescope with a little bit of hardware hackery. I'll have to see about posting a writeup on how I did that at a later time. Anyway, when I installed my camera software, I quickly found how horrible the program was. It gave a tiny preview of what the camera saw, and had no way of capturing images or video without waaaay too many clicks of the mouse. That's when I decided to write my own in Python.

PUBLIC TAGS related to tag python

no tag

Sponsorised links