Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Utilities

    bitty 0.4.1

    Download button

    No screenshots available
    Downloads: 320  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Daniel Lindsley | More programs
    BSD License / FREE
    January 21st, 2010, 22:03 GMT
    ROOT / Utilities

     Read user reviews (0)  Refer to a friend  Subscribe

    bitty description

    A tiny database layer

    bitty is a tiny storage layer written in Python.

    Why another storage layer?

    I wanted one that was small (both in terms of a single file and in actual kloc), tested and could handle multiple data stores. And because it was fun.

    Example:

    bitty supports the usual CRUD methods. For example::

    from bitty import *

    bit = Bitty('sqlite:///home/code/my_database.db')

    bit.add('people', name='Claris', says='Moof!', age=37)
    bit.add('people', name='John Doe', says='No comment.', age=37)

    # Select all.
    for row in bit.find('people'):
     print row['name']

    bit.close()


    See examples/ and tests.py for more usages.

    Supported Backends

     * SQLite
     * Postgres
     * MySQL

    Schema

    You're responsible for your own schema. bitty does the smallest amount of introspection it can to get by.

    When to use bitty?

    bitty is best used in environments like resource-based APIs and when integrating with other software (like a bigger web framework).

    Tastes great when used with itty.

    Serious Python Programmers™ with Enterprise Requirements need not apply.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    storage layer | database storage | Python library | database | storage | layer

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM