Coder Social home page Coder Social logo

pypatterns's Introduction

This package implements some common patterns in Python.

The implemented patterns are
* filters
* commands
* object relational mapping.  

The object relational mapping provides two benefits to developers.  First, it provides an interface to query relational tables using filters, as opposed to SQL statements.  Second, it makes use of Trellis' automatic event management, so that libraries which make use of it as their in-memory cache can have components (e.g. GUIs) that get updated automatically when the data changes.

It requires the following:
* Python 2.5
* PEAK Trellis
* currypy

Once installed (see INSTALL for instructions), your Python application can use pypatterns as follows.

First, setup your environment. The location of all packages need to be in Python's search path.  Then, import the module:
        import pypatterns

See src/test/Test* for examples of usage.

pypatterns's People

pypatterns's Issues

update to trellis-fork

trellis seesm to have problems using Python 2.6, which is required by
pypatterns.relational.  The fork is supposed to be compatible with both
Python 2.5 and 2.6.

http://code.google.com/p/trellis-fork/

Original issue reported on code.google.com by [email protected] on 9 Jan 2010 at 10:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.