Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

ztfy.extfile is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
 
Links
License
ZPL

What is ztfy.extfile ?

ztfy.extfile is a package which allows storing File and Image objects data outside of the Zope database (ZODB), into 'external' files. Files can be stored in the local file system, or remotely via protocols like SFTP or NFS (even HTTP is possible) ; an efficient cache system allows to store local copies of the remote files locally.

Finally, external files can be stored via Blob objects, provided by the latest versions of the ZODB.

How to use ztfy.extfile ?

A set of ztfy.extfile usages are given as doctests in ztfy/extfile/doctests/README.txt.

Changelog

0.2.11
  • reset default blobs opening mode to 'r' but add mode argument in getBlob() method
0.2.10
  • changed blob read mode to 'c' to get access to blob data after database connection is closed
0.2.9
  • updated IBaseBlobFile interface
  • registered IResult adapter for ZODB.blob.BlobFile (copied from z3c.blobfile package)
0.2.8
  • changed package source layout
0.2.7
  • set content-type on BlobImage class data update
  • move file properties container IObjectCopiedEvent to ztfy.file package
0.2.6
  • removed unused package dependency
0.2.5
  • added '__nonzero__' boolean operator to check for empty files
0.2.4
  • corrected import
0.2.3
  • corrected database automatic upgrade code
0.2.2
  • updated database automatic upgrade code
0.2.1
  • replace deprecated md5 module with hashlib.md5
0.2
  • Switched to ZTK-1.1.2
0.1.1
  • update database upgrade code used when creating a site manager
0.1
  • Initial release

Subscribe to package updates

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.