Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pylons

Ruby Less Gem Equivalent In Python

The Ruby LESS gem looks awesome - and I am working on a Python/Pylons web project where it would be… Read more Ruby Less Gem Equivalent In Python

Pylons Uploading Distorted Images On Windows

I'm creating an web app in Pylons, and am working on an image upload action. This is currently… Read more Pylons Uploading Distorted Images On Windows

Database-independent Max() Function In Sqlalchemy

I'd like to calculate a MAX() value for a column. What's the proper way to do this in sqla… Read more Database-independent Max() Function In Sqlalchemy

Mocking Away The Url Object In Pylons

I want to test a method that calls the pylons.url object. However calling this in the tests leads t… Read more Mocking Away The Url Object In Pylons

Python - SqlAlchemy: Filter Query By Great Circle Distance?

I am using Python and Sqlalchemy to store latitude and longitude values in a Sqlite database. I hav… Read more Python - SqlAlchemy: Filter Query By Great Circle Distance?