python

SQL Server e Python

L’integrazione tra .NET e SQL Server è data per scontata: in questo articolo esploreremo invece  come accedere a SQL Server da Python. Uno dei vantaggi di python è che è un linguaggio molto facile da imparare, con un notevole numero di librerie e un’ottima integrazione multi piattaforma. Oltre a ciò python offre un sistema di …

SQL Server e Python Read More »

You are nobody without an API Key generator

API KEYs are sexy: if you have a web based business (like Google, Twitter, Facebook or WordPress’Automattic) you should have a way to generate an API Key for web service integration. Like Session keys, API keys should be sufficiently unpredictable to be psuedo-random. To be unpredictable, no user variables (or timestamps) are encoded into the key. …

You are nobody without an API Key generator Read More »

Proxy NTLM

Spesso capita di dover scaricare file al di fuori del browser: per esempio per installare software o per consentire ai propri programmi python/java/curl di effettuare delle azioni programmatiche Se avete problemi con i proxy Microsoft (cosa abbastanza comune, vista la diffusione), su Internet trovate una soluzione: Cntlm Authentication Proxy vi consente di avere un proxy integrato …

Proxy NTLM Read More »

Python SOAP Client

Suds is a lightweight SOAP python client for consuming Web Services. It is very nice to use, because of the debugging feature inside. Give it a try: https://fedorahosted.org/suds/ And for testing and playing with it, try out also DreamPie, a nice Python shell

Web2Py Absolute trouble Shooter

Do you want develop web applications in a fast, prototype based way using Python? Follow us and learn how to use web2py…. Step 1: Python 2.6 proper setup On Linux be sure to install sqlite development library; the following command will help on RedHat: sudo apt-get install sqlite-devel for the yum variant see here http://stackoverflow.com/questions/233320/cannot-import-sqlite-with-python-2-6 Install …

Web2Py Absolute trouble Shooter Read More »

yasnippet – Google Code

YASnippet is a template system for emacs. It allows you to type a abbrevation and automatically expand the abbreviation into function templates. Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more. Yasnippet system is inspired from TextMate’s template system. You can use a tool to import any TextMate …

yasnippet – Google Code Read More »

Web2Py: a python web framework we like

At Gioorgi.com we have used plenty of web frameworks. Giovanni Giorgi used Seaside,  a lot of PHP frameworks, Java Struts, RubyOnRails, and Python Django. We have started to look for Web2Py, a compact,  easy to learn  python web framework. From the most notable feature, it runs also on Google App Engine. Written by an Italian …

Web2Py: a python web framework we like Read More »

Evolving concurrency, like memory management did

As processors become faster and multiprocessor systems become cheaper, the need to take advantage of multithreading in order to achieve full hardware resource utilization only increases the importance of being able to incorporate concurrency in a wide variety of application categories. In this article we are evaluting a new approach to the concurrency. In the …

Evolving concurrency, like memory management did Read More »

JRuby and Jython: the easy way

The revamp of Jython 2.5, the python interpreter written in Java, is a very good news, because give us the chance to think of a new way of coding. Looking at Google trends,  JRuby and Jython are emerging as key  pieces of a new puzzle. OOP revolution take years to become active, and Java success …

JRuby and Jython: the easy way Read More »