15 projects tagged "Python"
psycopg is a PostgreSQL database adapter for the Python programming language. Its main advantages are that it supports the full Python DBAPI 2.0 and it is thread safe at level 2. It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. The psycopg distribution includes ZPsycopgDA, a Zope Database Adapter.
pythonOCC is a 3D CAD/PLM development library for the Python programming language. It provides 3D hybrid modeling, data exchange (support for the STEP/IGES file format), GUI management support (wxPython, PyQt, python-xlib), parametric modeling, and advanced meshing features. pythonOCC is built upon the OpenCASCADE 3D modeling kernel and the salomegeom and salomesmesh packages. Some high level packages (for parametric modeling, topology, data exchange, webservices, etc.) extend the builtin features of those libraries to enable highly dynamic and modular programming of any CAD application.
PodSixNet is a lightweight network layer designed to make it easy to write multiplayer games in Python. It uses Python's built in asyncore library and rencode.py (included) to asynchronously serialize network events and arbitrary data structures, and delivers them to your high level classes through simple callback methods. Each class within your game client that wants to receive network events subclasses the ConnectionListener class and then implements Network_* methods to catch specific user-defined events from the server. You don't have to wait for buffers to fill, check sockets for waiting data, etc. Just do connection.Pump() once per game loop and the library will handle everything else for you, passing off events to all classes that are listening. Sending data back to the server is just as easy by using connection.Send(mydata). Likewise on the server side, events are propagated to Network_* method callbacks and data is sent back to clients with the client.Send(mydata) method.
Cjklib provides language routines related to Han characters (characters based on Chinese characters named Hanzi, Kanji, Hanja, and chu Han respectively) used in writing of the Chinese, the Japanese, infrequently the Korean, and formerly the Vietnamese languages. Functionality is included for character pronunciations, radicals, glyph components, stroke decomposition, and variant information.
Pybatis lets you use a templating engine to generate SQL in the same way we use templating engines to generate HTML. But while HTML is generated to send to a browser, Pybatis generates SQL to send to the database via Python's DB API, and then gathers the results. Pybatis consists of three things combined: Python's DB API, templates, and convenience methods. The core idea of treating dynamic SQL as a templating problem rather than a code generation problem (as in most ORM libraries) comes from iBATIS, after which Pybatis is named with great respect.
StarCluster is a utility for creating traditional computing clusters used in research labs or for general distributed computing applications on Amazon's Elastic Compute Cloud (EC2). It uses a simple configuration file provided by the user to request cloud resources from Amazon and to automatically configure them with a queuing system, an NFS shared /home directory, passwordless SSH, OpenMPI, and ~140GB scratch disk space. It consists of a Python library and a simple command line interface to the library. For end-users, the command line interface provides simple intuitive options for getting started with distributed computing on EC2 (i.e. starting/stopping clusters, managing AMIs, etc). For developers, the library wraps the EC2 API to provide a simplified interface for launching/terminating nodes, executing commands on the nodes, copying files to/from the nodes, etc.