An open API service indexing awesome lists of open source software.

https://github.com/toaco/flyweight2

A variant of the Flyweight pattern that allows the object to be modified without affecting other objects, and automatically shares the memory if the modified object is the same as other objects
https://github.com/toaco/flyweight2

flyweight flyweight-pattern objectpool shared-memory

Last synced: 8 months ago
JSON representation

A variant of the Flyweight pattern that allows the object to be modified without affecting other objects, and automatically shares the memory if the modified object is the same as other objects

Awesome Lists containing this project

README

          

flyweight2
==========

|image0| |image1| |image2| |image3| |image4| |image5|

Look at the `tests.py `__ to know how to use it and how it
works.

Installation
------------

.. code:: sh

pip install flyweight2

.. |image0| image:: https://img.shields.io/badge/python-2.7-blue.svg
.. |image1| image:: https://travis-ci.org/toaco/flyweight2.svg?branch=master
:target: https://travis-ci.org/toaco/flyweight2
.. |image2| image:: https://coveralls.io/repos/github/toaco/flyweight2/badge.svg?branch=master
:target: https://coveralls.io/github/toaco/flyweight2?branch=master
.. |image3| image:: https://landscape.io/github/toaco/flyweight2/master/landscape.svg?style=flat
:target: https://landscape.io/github/toaco/flyweight2/master
.. |image4| image:: https://badge.waffle.io/toaco/flyweight2.svg?label=ready&title=Ready
:target: http://waffle.io/toaco/flyweight2
.. |image5| image:: https://badge.fury.io/py/flyweight2.svg
:target: https://badge.fury.io/py/flyweight2