This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Version 0.1.0

Limited Ordered Set

Data type for storing sorted list of objects with sort order and list length limit. Useful for storing data like history of user interactions on site.

Once added object to list overflow set length, it pop items from set beginning of set. You always have only last X entries limited b length property.


You can simple install library with pip install limited-ordered-set.


You can add as many as you want objects to LimitedOrderedSet, it will pop first items once items count hit limit.

For example you can go to tests.:

limit = 10
objcts = LimitedOrderedSet(limit)

print 'Adding chars: ',
for x in xrange(0, 50):
    c = choice(string.ascii_letters)
    print c,

print 'Resulting set items: %s' % ",".join(objcts)

Execution result

Adding chars: B Z V N F k j j o v t M k j P v A Y O h E v f A g e F T Q b f r j t W q r C C S m P V m o B z a L w

Resulting set items: S,m,P,V,o,B,z,a,L,w


You always are welcome if you have any ideas. You can push request at github project page.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
limited-ordered-set-0.1.0.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Nov 20, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting