Skip to main content

Zope temporary folder support.

Project description

https://github.com/zopefoundation/Products.TemporaryFolder/actions/workflows/tests.yml/badge.svg 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

Before release 5.2 of the tempstorage package sessioning configurations using this temporary folder implementation were discouraged because the temporary storage backend could lose data. This is no longer the case.

Don’t forget to add or uncomment the temporary storage database definition as shown below in your Zope configuration if you want to instantiate a temporary folder. After a Zope restart, visit the Zope Management Interface and select ZODB Mount Point from the list of addable items to activate the temporary folder mount point:

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

When upgrading from version 5.3 to 6.0 and removing the ZODB Mount Point configuration shown above from your Zope configuration you need to manually delete the /temp_folder object in the ZMI before restarting your Zope instance with version 6.0. If you see tracebacks ZConfig.ConfigurationError: No database configured for mount point at /temp_folder after the upgrade, please reinstate the zodb_db temporary Zope configuration as shown above, restart Zope and manually delete /temp_folder. Then remove the zodb_db temporary configuration and restart Zope.

Changelog

8.1 (2025-11-19)

  • Fix release to include package data files.

8.0 (2025-11-19)

  • Switch to PEP 420 native namespace.

  • Add support for Python 3.12, 3.13 and 3.14.

  • Drop support for Python 3.7, 3.8 and 3.9.

7.0 (2023-02-01)

  • Drop support for Python 2.7, 3.5, 3.6.

6.3 (2022-12-16)

  • Fix insidious buildout configuration bug for tests against Zope 4.

  • Add support for Python 3.10 and 3.11.

6.2 (2021-07-06)

  • “Undeprecate” sessioning configurations using this package because tempstorage version 5.2 fixed the data loss issue. (#16)

  • Update package configuration.

6.1 (2021-03-16)

  • Add support for Python 3.9.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

products_temporaryfolder-8.1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file products_temporaryfolder-8.1.tar.gz.

File metadata

  • Download URL: products_temporaryfolder-8.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for products_temporaryfolder-8.1.tar.gz
Algorithm Hash digest
SHA256 b811611e392e62cb5b61324f3c5bb0fca479d7977fafc4c6e67c56710dcd28a3
MD5 0814e184573a62239216827d4384feba
BLAKE2b-256 ea960163d5efc72a5b180c0d15dc5f2ba7f3e10d46b0331eea5d298c2d1de473

See more details on using hashes here.

File details

Details for the file products_temporaryfolder-8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for products_temporaryfolder-8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e15c7c7872bdd736483a89a594651fc8cda7ee46bbe1d0036758cba66137b803
MD5 78f8ca8e7a399d9997dfd2e89d94e5c6
BLAKE2b-256 64c81a4a36e9d744cec7d0e738402b8f709e304fc3e0dac39d57ae27d766a2ed

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