My favorites | Sign in
Project Home Issues Source
Project Information
Members
Links

Installation

The simplest way to install stockpyle is through easy_install:

easy_install stockpyle

Alternatively, you can download the latest source from here:

http://pypi.python.org/packages/source/s/stockpyle/

Then just untar the source and run python setup.py install.

Documentation

http://pypi.python.org/pypi/stockpyle/

Release Notes

stockpyle 0.1.4

  • added a release() API to all stores. This method will release any resources that were lazily acquired by the store during operation. Note that release'ing a store may cause objects from that store to become unusable (e.g. SqlAlchemyStore objects will no longer be able to refresh attributes from the database)

stockpyle 0.1.3

  • fixed SqlAlchemyStore in multithreaded environment (use SQLAlchemy scoped_sessions)

stockpyle 0.1.2

  • fixed bug in SqlAlchemyStore post-processing (adding objects back to an SA session needed to happen before storing in previous layers)
  • fixed bug in SqlAlchemyStore put/get/delete operations (needed to have a catchall exception that would rollback the session)
  • added simple check to SqlAlchemyStore to ensure unique entity retrieval

stockpyle 0.1.1

  • fixed bug where SqlAlchemyStore failed to ignore non-SQLAlchemy-backed objects upon deserialization in a ChainedStore

stockpyle 0.1.0

  • added ThreadLocalStore (helpful for web applications)
  • better key generation (md5 for less collisions, bugfix that made values like 123 == '123', other speed tweaks)
  • fixed bug with accessing SQLAlchemy-backed objects across multiple processes when using memcached

Powered by Google Project Hosting