Skip to main content

Zope temporary folder support.

Project description

https://travis-ci.org/zopefoundation/Products.TemporaryFolder.svg?branch=master https://coveralls.io/repos/github/zopefoundation/Products.TemporaryFolder/badge.svg?branch=master Current version on PyPI Supported Python versions

Overview

Zope temporary storage / folder support.

Please note

Temporary Folders and the temporarystorage ZODB storage depend on the tempstorage package, which is known to randomly lose data under Zope 4 and up. If you want to use the sessioning support in Zope please visit https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4 for alternate sessioning implementations that don’t use Temporary Folder.

Because it is unsafe, Zope will no longer magically create a Temporary Folder object at /temp_folder. If you think you still need a Temporary Folder, please add a temporary storage database definition like the one below to your Zope configuration, restart Zope, and use the ZMI add list to create an object of type ZODB Mount Point. If the storage configuration is valid you will see a list of configured mount points and the option to create the container in the ZODB:

<zodb_db temporary>
    <temporarystorage>
      name Temporary database (for sessions)
    </temporarystorage>
    mount-point /temp_folder
    container-class Products.TemporaryFolder.TemporaryContainer
</zodb_db>

Changelog

6.0 (2020-09-01)

  • split Products.ZODBMountPoint into separate package and removed all code that automatically instatiates a temporary folder and sessioning artifacts on Zope startup. (#12)

5.3 (2019-04-15)

  • improve the README

  • Specify supported Python versions using python_requires in setup.py (Zope#481)

  • Added support for Python 3.8

5.2 (2018-11-06)

  • Add support for Python 3.7.

  • Update forms to Bootstrap ZMI. (#6)

  • Fix logging traceback in Python 2. [pbauer]

  • Fix creating a temp_folder in Python 2. (#7)

5.1 (2018-06-06)

  • Bring back Application initialization (creation of BrowserIdManager and SessionDataManager in the ZODB on first startup). This release requires Zope >= 4.0b5.

  • Drop support for Python 3.4.

5.0 (2018-04-13)

  • Remove dysfunctional LowConflictConnection.

  • Add support for Python 3.4, 3.5 and 3.6.

4.0 (2016-08-02)

  • Add in code of Products.TemporaryFolder and Products.ZODBMountPoint.

  • Require Zope >= 4.

3.0 (2016-08-02)

  • Create a separate distribution called Products.TemporaryFolder without any code inside it. This allows projects to depend on this project inside the Zope 2.13 release line.

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

Products.TemporaryFolder-6.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

Products.TemporaryFolder-6.0-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Products.TemporaryFolder-6.0.tar.gz.

File metadata

  • Download URL: Products.TemporaryFolder-6.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for Products.TemporaryFolder-6.0.tar.gz
Algorithm Hash digest
SHA256 4985f7a42150475d36ba04f09c0e61931a92e319af3134f0a092d74ede505468
MD5 d956f4b72d8b09bb4f9f99e5b62dc6ff
BLAKE2b-256 0c72a43a256b98c31431181b84bf5c821aa3cbe003b00bbfd9844cd8a7deae28

See more details on using hashes here.

File details

Details for the file Products.TemporaryFolder-6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: Products.TemporaryFolder-6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for Products.TemporaryFolder-6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9fb3b812c70a01ffb57d2a53401afbc556c93e10d3e9c6d806d89035fd1d6735
MD5 c8a7e53fe03608e1723cf9de2987c458
BLAKE2b-256 f73972eca4c6b193f1576122e63c1c8c66eae01d48bb3c609d5c522c90be0f36

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