Skip to main content

MongoDB file implementation wihtout gridfs for Zope3

Project description

This package provides a mongodb file implementation without GridFS for Zope3. This means, such files are limited to the mongo document size, currently 16MB. As you probably know, you should not use GridFS for small binary data because you will double the number of queries. This package will offer a file which stores the meta and file data in one document.

CHANGES

3.1.2 (2018-05-02)

  • bugfix: added missing m01.mongo.item import in m01.fs.item

  • bugfix: implemented width and height field property for IImage objects

  • feature: added ImageObjectBaseTest base test class

3.1.1 (2018-03-01)

  • bugfix: inherit IFileSchema from IFileBaseSchema

3.1.0 (2018-02-16)

  • feature: implemented IImage and image object, image chunk reader and writer Note: the new interface IFileBaseSchema is the shared schema for IFileSchema and IImageSchema.

3.0.1 (2017-12-27)

  • bugfix: FileContainerItem was using the wrong (storage) interface. Changed IFileStorageItem to IFileContainerItem in FileContainerItem

  • cleanup, fix tests

3.0.0 (2015-11-11)

  • support pymongo >= 3.0.0 and use 3.0.0 as package version and reflect pymongo >= 3.0.0 compatibility

1.0.1 (2015-09-28)

  • removed bson dependency, pymongo uses it’s own bson implementation

1.0.0 (2015-03-17)

  • feature: replace internal method setContentType with setContentTypeAndEncoding and also set encoding if given.

  • bugfix: fix apply encoding value. The value u’None’ was applied if no encoding was given instead of None.

0.5.1 (2013-03-19)

  • bugfix: remove notifyRemove method. This is a left over from m01.gridfs and not required since the item it self stores the image data

0.5.0 (2012-11-18)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

m01.fs-3.1.2.tar.gz (24.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page