Posts Tagged ‘django’

Consumo de ADSL por mail - ANTELDATA

Monday, August 17th, 2009

cuentagigas.info es una interfaz simple para un bot(programa) que hace tiempo quería hacer para estar al tanto de cuántos gigas voy gastando en el adsl sin tener que estar entrando al sitio de anteldata, … si quieren probarlo:

cuentagigas.info

Detalles técnicos:

  • El robot actualmente revisa el consumo 2 veces por día y decide si hay que enviar o no una notificación a cada cuenta. Está hecho en Python, es un Scrapy-spider bastante simple. Si alguien quiere ver el código lo puedo publicar.
  • La interfaz es un Django-site también bastante simple.
  • Permite dar de alta varios emails, útil cuando varias personas usan el mismo adsl. También permite cancelar el envío de notificaciones o cambiar los datos asociados. Se irá mejorando en base al feedback recibido.
  • Funciona con usuarios de adsl y adsl móvil.

Gracias.

Penca de la copa libertadores 2009

Friday, March 6th, 2009

Amigos, se largó la penca de la libertadores, en predgame.com

La idea es la de siempre, divertirnos entre amigos jugando un poco. Por que un dominio nuevo? bueno, la idea es que el sitio vaya creciendo, por ahora se está desarrollando de a poco, en los ratos libres :) pero la idea es seguirlo. Django y Pinax han ayudado mucho a la rápida puesta en producción del sitio pero lógicamente se necesitan ajustes. Tenemos muchas ideas desde hace tiempo para esto con varios amigos, el sitio esta listo para jugar pero le faltan muchas features muy necesarias que iran saliendo de a poco, por ejemplo:

  • Aviso de falta de pronosticos por email
  • Scraping de partidos y resultados usando scrapy
  • Autenticacion segura
  • Multipenca support
  • Mas idiomas en la i18n
  • Muchas mejoras en la gui
  • Conseguir sponsor para que hayan premios :)

saludos !!

Playing with python-rpy2

Thursday, February 26th, 2009

The goal was to prepare a little prototype to show the potential of R (r-cran) when used via its Python bridge python-rpy2, then show the results in a web application, for example, using django.

In this example (in spanish) we take a CSV database and use R to present some calculations. The code of the example is published here, you can browse it, download or even clone using mercurial.

Thanks to Martin Sanguinetti who have motivated me and told me the R basics to make this example.

An example plot using python-rpy2

[A classical example plot using python-rpy2]

ReSTlides.com: Online ReST based presentations

Thursday, July 24th, 2008

When asked by a friend to present Python for the web for an university course, I though: “Why don’t present Python inside some Python-powered slides?” and for training purposes I’ve created http://restlides.com/ a django-powered site that allows us to create and share ReSructured Text based presentations, obviously it’s in an very early alpha version, created during a weekend, but it works and I’m afraid I’ll continue developing it, I have in mind many new features. That’s all, try it and of course, any feedback is welcome!

restlides.com

For deployment I’m using apache2 with mod_python and varnish an “state-of-the-art”[1] reverse proxy, very easy to install and configure, you only have to put apache to the back and connect varnish to it, then adjust varnish’s port to 80 in /etc/defaults.

[1] Althought it last release was in December’07, and no activity on its trac, quite dead, I wrote to Poul-Henning Kamp, its developer to get feedback about the situation.

… I asked: “Are there any people working?” … And he replied:

Yes, very much so, but we've not spent enough time on the wiki.
We hope to release version 2.0 in august.