background preloader

Python

Facebook Twitter

The Django Book: Version 2.0 (English) Mike's cognition: How-To: Sikuli and Robot Framework Integration. IntroductionIntegration DetailsStep 0: InstallationStep 1: Run Sikuli Script from command lineStep 2: Upgrade Sikuli Scripts to Test LibrariesStep 3: Tips and TricksSummaryReferences Introduction Sikuli and Robot Framework are both freely available open source tools that provide interesting possibilities for automation testers, QA and other IT people. Sikuli introduces new way of automated testing - test using screenshots and images, without using any internal API of objects under test. This approach (using purely images/screenshots and generating mouse and keyboard events) is more similar to manual testing activities performed by real people which have just monitor, mouse and keyboard. Robot Framework is an excellent implementation of keyword- and data-driven approaches to test automation and besides it includes a lot of interesting features and tools, such as: Integration Details Robot Framework is written on python and provides tools for running test cases using either python or jython.

WebDevelopmentWithTwisted – Twisted. There are a number of packages in and around Twisted that do things with the web: Twisted Web provides a simple, stable HTTP server, suitable for all types of web apps and web services. It provides a flexible resource publishing API, and implements HTTP 1.0 with some 1.1 features. Twisted Web is extremely stable. Divmod Nevow is a templating toolkit that provides its own resource model and simple application server API. It requires Twisted, is fully integrated with the Twisted reactor, provides mechanisms for asynchronous page rendering, and an event-driven COMET/AJAX implementation called Nevow Athena. Having reviewed this list, the obvious question is, which of these tools should I use for my application???

I want a container for my WSGI application ¶ In this case, use the Twisted Web (8.2 or newer) WSGI module (twistd web --wsgi=application). I want a web UI for my existing Twisted networking application ¶ I want to write a REST / WS-* interface to my Twisted application ¶ PostgreSQL + Python | Psycopg. Psycopg Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Psycopg is released under the terms of the GNU Lesser General Public License, allowing use from both free and proprietary software. Latest articles Psycopg 2.6.1 released Posted by Daniele Varrazzo on June 16, 2015 Tagged as news, release Psycopg 2.6 and 2.5.5 released Posted by Daniele Varrazzo on February 9, 2015 Psycopg 2.5.4 released Posted by Daniele Varrazzo on August 30, 2014 Tagged as news, release Cancelling PostgreSQL statements from Python Posted by Daniele Varrazzo on July 20, 2014 Tagged as recipe Psycopg 2.5.3 Released Posted by Daniele Varrazzo on May 13, 2014 Tagged as news, release Donate Quick links Tweets JSON adapter, PG 9.2 range support, context manager, error diagnostics, better composite types... only in Psycopg 2.5!