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.2.5 (2025-11-07)

  • bugfix; convert text types to utf-8 encoded bytes and convert them back

3.2.4 (2025-11-04)

  • bugfix; remove str formating in chunk reader

3.2.3 (2025-10-09)

  • bugfix; ensure bytes as python 3 upload data

  • bugfix; use mode for initializer SpooledTemporaryFile otherwise mode will get used as max_size (firstargument in __init__ method)

3.2.2 (2025-10-09)

  • bugfix; added missing unicode declaration used by python 3

3.2.1 (2025-07-29)

  • bugfix; python 3 compaibility

3.2.0 (2025-06-15)

  • Compatibility with Python3

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

Uploaded Source

File details

Details for the file m01_fs-3.2.5.tar.gz.

File metadata

  • Download URL: m01_fs-3.2.5.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for m01_fs-3.2.5.tar.gz
Algorithm Hash digest
SHA256 de9fa5e20ca6bbcc93a022617ddc8df42f3fed8c76a7fd8925dbc807f82fd57d
MD5 e23b7df326ec5004f33337588e16c63c
BLAKE2b-256 e09e5b83cc091246ff1049d8fff1fe6ec1116f368f336415c424d517a38e9f47

See more details on using hashes here.

Supported by

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