pysimpledb - Python Simple Database Access

DOWNLOAD

Here's a link to download the most recent version of this library. Download Now

Also, you can get the latest files via easy_install.

WHAT YOU GET

In case you are wondering "What does this package do?", wonder no more. It is a simple database layer that sits on top of the standard Python DB-API 2.0.

pysimpledb has the following objectives

  1. improve developer performance
  2. keep the power of SQL
  3. be fast
  4. be flexible
  5. be simple

pysimpledb allows you to very easily create simple and fast database access layer for you application. With pysimpledb you can create your database with only basic Python classes and SQL. Here is an example of what you can do (file is also included in the examples section of the code download.).

FAQ

Q. How can install this software?

You can install this package like any standard Python package. Type the following.

		
            tar zxf pysimple-2.1.tar.gz
			cd pysimpledb-2.1
			python setup.py install
		

or with easy_install

        
            easy_install -U pysimpledb
        
Q. What systems / processors does this code work on?

Since the code is pure Python, it should run fine on any system capable of running Python 2.5 or 2.6. I have confirmed it running correctly on Win32, Linux 2.6 kernel 32bit & 64bit, and Mac OSX.

MORE INFORMATION

If you need more information I suggest you take a look at the examples included in the download. They demonstrate some of the features of pysimpledb. You can also look at the README which attempts to explain the system. Lastly you can take a look at the code. There are loads of comments and, of course, there's the code.

Questions and comments are always welcome, shoot me an email.

CHANGES

Version 2.1

This is a minor update. Some of the ingrained functionality has now been ported to external mappers or providers. All of the same functionality is still there though. In addition, the ability to batch commands was added.

Please NOTE that there are some minor differences in configuration and usage with this version. There are fewer options that are required to be specified in configuration.

Version 2.0

This is a major update. It is not compatible with 1.0 in anyway and functions completely different. There were major problems with version 1.0. This release fixes so many things it is difficult to list them all. It is a good idea to use version 2.0!

Version 1.0

Created the library as an expirement on working with some of the dynamic aspect of Python. It does not have a lot of features, but is a solid start.

LICENSE

Copyright (C) 2009 Daniel Mikusa

pysimpledb is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

pysimpledb is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with pysimpledb. If not, see .