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


This product adds quota support to archetypes containers.


  • Add the package to the eggs in your buildout configuration:
eggs +=
  • Install the generic setup profile of the package.


Add the marker interface ftw.quota.interfaces.IQuotaSupport to any archetypes container that you want to have quota support.

Containers with quota support will get additional fields for quota setup. You can setup quota limits in the edit form.

To make all archetypes objects quota aware e.g. you can use the following zcml directive:

>>> <class class="Products.Archetypes.BaseObject.BaseObject">
...     <implements interface="ftw.quota.interfaces.IQuotaAware" />
... </class>

The quota configuration is stored using additional fields (schema extender) and can be accessed easily:

>>> container.Schema().getField('quota').get(container)
... ...  # quota in bytes
>>> container.Schema().getField('usage').get(container)
... ...  # usage in bytes
>>> container.Schema().getField('enforce').get(container)
... True  # when True it is not possible to add content when quota is exceeded

Nested quota containers are not supported at the moment.


1.0 (2012-06-14)

  • Use instead of collective.testcaselayer for testing. [jone]
  • Remove unused product initialization. [jone]
  • Update readme. [jone]
  • Fixed test-plone-4.0.x.cfg buildout [lgraf]

1.0b2 (2010-10-26)

  • Added test setup. [lgraf]

1.0b1 (2010-09-16)

  • Fixed default quota in test. [Thomas Buchberger]
  • Add translations [ttschanz]

1.0a3 (2010-04-12)

  • Add german translations for quota exceeded error. [phgross]

1.0a2 (2010-03-29)

  • Fixed bug in [jone]

1.0a1 (2010-03-29)

  • Package cleanup [jone]
  • Intial implementation [buchberger]
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 (25.4 kB) Copy SHA256 Checksum SHA256 Source Jun 14, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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