Database Tools Python scripts - Top 4 Download

Database Tools Python script downloads

Parse and create fixed size binary data

Python's struct library is too low-level for direct usage. This script having only 40 lines shows how it can be turned into more developer-friendly tool. ...
Python

Pivot Crosstab Denormalization of Normalized List

This script shows you a function that creates a cross-tab or pivot table from a normalised input table. You can use this function to 'denormalize' a table of normalized records. ...
Python

Printing of Database Cursor Contents

One of the problems of dealing with databases is presenting the result of a query when you may not know much about the data. This script uses the cursor's description attribute to try and provide appropriate headings, and optionally examines each output row to ensure column widths are adequate. ...
Python

Pybliographer

Pybliographer is a tool for managing bibliographic databases. You can either use its graphical interface (based on Gnome) which provides powerful editing capabilities, a nice hierarchical search mechanism, direct insertion of references into LyX and Kile, direct queries on Medline, and more. Or you can directly access its internal python classes ...
Python

Python DAO interface class

Python DAO interface class is a simple base class that can be used to quickly get connected to any database that has DAO interface.  It really is just a Python wrapper around the DAO COM object. ...
Python

PythonReports

PythonReports is a toolkit aimed to build database reports in Python programs. The toolkit includes report template designer, report builder and several printout renderers for GUI and graphic file output. Report builder applies a template to a sequence of uniform data objects and produces a printout structure that can be saved ...
Python

Read tabular data from Excel spreadsheets

Sometimes you get an Excel spreadsheet (say, from the marketing departement) and you want to read tabular data from it (i.e. a line with column headers and lines of data). There are many ways to do this (including ODBC mxODBC), but the easiest way could be this script: provide a file ...
Python

Resultset

Resultset allows you to accessdatabase results by field name. It wraps each result row in a ResultRow class which allows you to retrieve results via a dictionary interface (by column name). The regular list interface (by column number) is also provided. ...
Python

Run SQLite connections in isolated threads

This script lets databaseconnections live in their own thread and queues are used to communicate with them. ...
Python

Simple ZODB viewer in wxPython

This is a very simple script that allows you to examine a ZODB database. Start the script and you can see what is in your ZODB file as well as the overall structure. ...
Python

Single parameters style for DB API modules

This script allows you to code SQL queries the same way independent on paramstyle of used DB module. ...
Python

Sql2diagram sxd

It can be used in reverse-engineering ERD (Entity-Relationship Diagrams) to create UML-style table structure diagrams.The program outputs OpenOffice.org Draw (.sxd) files, so the results are editable.The program can also output a machine readable textual explanation of the diagram it is writing. ...
Python

Using ADO to list field definitions for tables

This script demonstrates the use of ADO to get database table definitions. A PostgreSQL create code is generated. ...
Python

Using Berkeley DB Database

Berkeley DB is an open source database. Its most important advantages are its simplicity to use and its performance. This is an introductory example, that shows how to create a database, add new elements in it (as Key/Value pairs) and finally how to print all content of the database. The example ...
Python

Using the MySQLdb interface

Using the MySQLdb interface script is a simple example showing how to use the MySQLdb interface to function with your MySQL database. ...
Python