Quantcast
Channel: python – Taming Serpents and Pachyderms
Browsing all 15 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows – Basics

In my previous post, I wrote: Although I have not yet personally run the [Pyrseas] unit tests on Windows …, I believe the tox setup should be quite portable …, since the tests only depend on Python and...

View Article



Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows, Part 2

In the previous post, I covered installation of Git, PostgreSQL and Python under Windows in order to set up a Pyrseas testing and development environment. Today, we’ll explore installation of the...

View Article

Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows, Part 3

As a commenter mentioned in response to Part 2, an alternative to using pip install psycopg2, which requires that you first install VC++ 2008 Express, is to download and install the Windows port, aka...

View Article

Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows, Part 4

At the end of Part 2, I suggested those who were anxious to start testing could try python tests\dbobject\test_schema.py right after installing psycopg2, and implied everything would work just fine by...

View Article

Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows, Part 5

I’ve got the Perl on Windows blues … Aside from PL/pgSQL, the base distribution of PostgreSQL supports three procedural languages: Perl, Python and Tcl. When creating Pyrseas unit tests for languages...

View Article


Image may be NSFW.
Clik here to view.

Testing Python and PostgreSQL on Windows, Part 6

Alliterative locales, languages, collations. A tox on all your houses (test combinations). The last item to fix in the Pyrseas unit tests so that they run on Windows is related to the PostgreSQL 9.1...

View Article

Image may be NSFW.
Clik here to view.

A couple of Pyrseas enhancements

Based on feedback from users and contributors, Pyrseas now sports two enhancements. Multi-line String Formatting Up to Pyrseas 0.6, long textual elements such as view definitions, function source text...

View Article

Image may be NSFW.
Clik here to view.

A Pythonic, TTM-inspired interface to PostgreSQL – Requirements

Several moons ago, I started a series of posts about “designing and implementing a generic end user interface for PostgreSQL.” After a while, the series got sidetracked by other issues. More recently,...

View Article


Image may be NSFW.
Clik here to view.

Attributes in the Pythonic, TTM-inspired interface to PostgreSQL

The Third Manifesto‘s Relational Model (RM) prescription 9 defines a relation heading as “a set of ordered pairs or attributes of the form <A,T>,” where A is the name of the attribute and T is...

View Article


Image may be NSFW.
Clik here to view.

Tuples in the Pythonic, TTM-inspired interface to PostgreSQL

The Third Manifesto formally describes tuple types (RM prescription 6), tuple values (prescription 9), tuple variables (prescription 12) as well as other tuple-related elements. As mentioned in the...

View Article

Image may be NSFW.
Clik here to view.

Pyrseas contributions solicited

Do you use PostgreSQL and truly believe it’s “the world’s most advanced open source database” and that its upcoming 9.3 release will make it even more awesome? Do you also use Python and believe it’s...

View Article

Image may be NSFW.
Clik here to view.

ANFSCD: Revisiting the Web Server

Nearly two years ago, I was considering which Python web framework to use for a user interface to Postgres: CherryPy, Flask, Werkzeug? Not entirely satisfied with the choices, I started reviewing even...

View Article

Image may be NSFW.
Clik here to view.

Multisets and the Relational Model

In a comment to my previous post, David Fetter challenged me to “find a case for multisets. That we’re stuck with them doesn’t mean they’re useless.” My response was that I couldn’t help him because...

View Article


Image may be NSFW.
Clik here to view.

Most Liked and Disliked Programming Languages

Vasudev Ram pointed readers to a Hacker News poll on the subject. While the raw numbers per language are interesting, I think the percentages of Like and Dislike vs. the total votes cast for a given...

View Article

Image may be NSFW.
Clik here to view.

The Future of Pyrseas: Part 2

When I started working on Pyrseas, I reviewed several other products. Robert Brewer’s Post Facto was probably the one with the most unique design. Although it compared database schemas in order to...

View Article

Browsing all 15 articles
Browse latest View live


Latest Images