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.4 (2019-07-16)

  • bugfix: fix height in ImageObject. There was a typo and the height didn’t get stored in the database

3.1.3 (2018-05-02)

  • bugfix: added missing import

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.4.tar.gz (24.4 kB view details)

Uploaded Source

File details

Details for the file m01.fs-3.1.4.tar.gz.

File metadata

  • Download URL: m01.fs-3.1.4.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for m01.fs-3.1.4.tar.gz
Algorithm Hash digest
SHA256 1a2a120cb180a7155e8f3788688ab7611a5ee06924bbb22cacc62dd22e49bfb7
MD5 64138a39f1a82ef5ce023bc68585a898
BLAKE2b-256 ab738e23fbdcc516e0ce46d001ee6ee26f9a6029eabe157ba35c18a03b065533

See more details on using hashes here.

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