background preloader



pygame NLTK Astropython pyquery 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. This is not (or at least not yet) a library to produce or interact with javascript code. I just liked the jquery API and I missed it in python so I told myself “Hey let’s make jquery in python”. This is the result. It can be used for many purposes, one idea that I might try in the future is to use it for templating with pure http templates that you modify using pyquery. The project is being actively developped on a git repository on Github. Please report bugs on the github issue tracker. You can use the PyQuery class to load an xml document from a string, a lxml document, from a file or from an url: Now d is like the $ in jquery: >>> d("#hello")[<p#hello.hello>]>>> p = d("#hello")>>> print(p.html())Hello world ! >>> d('p:first')[<p#hello.hello>] First there is the Sphinx documentation here.

pymc Pupil 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. For noncommercial use, the hardware is accessible, hackable, and affordable. The software is open source and written in Python and C where speed is an issue. 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. Headset Capture Software Visualization Software Discussion Forum The main forum for PUPIL discussion is the pupil-discuss group. Pupil in 3D Pupil3d uses Pupil for experimental 3D tracking of visual attention using structure from motion.

GStreamer TextBlob: Simplified Text Processing — TextBlob 0.6.0 documentation Release v0.8.4. (Changelog) TextBlob is a Python (2 and 3) library for processing textual data. from textblob import TextBlob text = '''The titular threat of The Blob has always struck me as the ultimate moviemonster: an insatiably hungry, amoeba-like mass able to penetratevirtually any safeguard, capable of--as a doomed doctor chillinglydescribes it--"assimilating flesh on contact.Snide comparisons to gelatin be damned, it's a concept with the mostdevastating of potential consequences, not unlike the grey goo scenarioproposed by technological theorists fearful ofartificial intelligence run rampant.''' blob = TextBlob(text)blob.tags # [(u'The', u'DT'), (u'titular', u'JJ'), # (u'threat', u'NN'), (u'of', u'IN'), ...] blob.noun_phrases # WordList(['titular threat', 'blob', # 'ultimate movie monster', # 'amoeba-like mass', ...]) for sentence in blob.sentences: print(sentence.sentiment.polarity)# 0.060# -0.341 blob.translate(to="es") # 'La amenaza titular de The Blob...' Features Get it now