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.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
Raw data
{
"_id": null,
"home_page": "http://pypi.python.org/pypi/m01.fs",
"name": "m01.fs",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Zope3 z3c p01 m01 mongo file",
"author": "Roger Ineichen, Projekt01 GmbH",
"author_email": "dev@projekt01.ch",
"download_url": "https://files.pythonhosted.org/packages/fa/d7/f0c700d08403706dad35139f71fb3970f1454635ce2d6e6ed8e508945570/m01.fs-3.2.2.tar.gz",
"platform": null,
"description": "This package provides a mongodb file implementation without GridFS for Zope3.\nThis means, such files are limited to the mongo document size, currently 16MB.\nAs you probably know, you should not use GridFS for small binary data because\nyou will double the number of queries. This package will offer a file which\nstores the meta and file data in one document. \n\n\n=======\nCHANGES\n=======\n\n3.2.2 (2025-10-09)\n------------------\n\n- bugfix; added missing unicode declaration used by python 3\n\n\n3.2.1 (2025-07-29)\n------------------\n\n- bugfix; python 3 compaibility\n\n\n3.2.0 (2025-06-15)\n------------------\n\n- Compatibility with Python3\n\n\n3.1.4 (2019-07-16)\n------------------\n\n- bugfix: fix height in ImageObject. There was a typo and the height didn't\n get stored in the database\n\n\n3.1.3 (2018-05-02)\n------------------\n\n- bugfix: added missing import\n\n\n3.1.2 (2018-05-02)\n------------------\n\n- bugfix: added missing m01.mongo.item import in m01.fs.item\n\n- bugfix: implemented width and height field property for IImage objects\n\n- feature: added ImageObjectBaseTest base test class\n\n\n3.1.1 (2018-03-01)\n------------------\n\n- bugfix: inherit IFileSchema from IFileBaseSchema\n\n\n3.1.0 (2018-02-16)\n------------------\n\n- feature: implemented IImage and image object, image chunk reader and writer\n Note: the new interface IFileBaseSchema is the shared schema for IFileSchema\n and IImageSchema.\n\n\n3.0.1 (2017-12-27)\n------------------\n\n- bugfix: FileContainerItem was using the wrong (storage) interface. Changed\n IFileStorageItem to IFileContainerItem in FileContainerItem\n\n- cleanup, fix tests\n\n\n3.0.0 (2015-11-11)\n------------------\n\n- support pymongo >= 3.0.0 and use 3.0.0 as package version and reflect\n pymongo >= 3.0.0 compatibility\n\n\n1.0.1 (2015-09-28)\n------------------\n\n- removed bson dependency, pymongo uses it's own bson implementation\n\n\n1.0.0 (2015-03-17)\n------------------\n\n- feature: replace internal method setContentType with setContentTypeAndEncoding\n and also set encoding if given.\n\n- bugfix: fix apply encoding value. The value u'None' was applied if no encoding\n was given instead of None.\n\n\n0.5.1 (2013-03-19)\n------------------\n\n- bugfix: remove notifyRemove method. This is a left over from m01.gridfs and\n not required since the item it self stores the image data\n\n\n0.5.0 (2012-11-18)\n------------------\n\n- initial release",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "MongoDB file implementation wihtout gridfs for Zope3",
"version": "3.2.2",
"project_urls": {
"Homepage": "http://pypi.python.org/pypi/m01.fs"
},
"split_keywords": [
"zope3",
"z3c",
"p01",
"m01",
"mongo",
"file"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fad7f0c700d08403706dad35139f71fb3970f1454635ce2d6e6ed8e508945570",
"md5": "d34b5a2798b75918259a5973e3dd3b53",
"sha256": "19216ff7e29fb8eb6aadd230e200326e10fe63834b2050b445c8d51cc1a94167"
},
"downloads": -1,
"filename": "m01.fs-3.2.2.tar.gz",
"has_sig": false,
"md5_digest": "d34b5a2798b75918259a5973e3dd3b53",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 204079,
"upload_time": "2025-10-09T14:35:26",
"upload_time_iso_8601": "2025-10-09T14:35:26.186845Z",
"url": "https://files.pythonhosted.org/packages/fa/d7/f0c700d08403706dad35139f71fb3970f1454635ce2d6e6ed8e508945570/m01.fs-3.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-09 14:35:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "m01.fs"
}