Skip to main content

Transaction-aware file creation

Project description

repoze.filesafe README

repoze.filesafe provides utilities methods to handle creation of files on the filesystem safely by integrating with the ZODB package’s transaction manager. It can be used in combination with repoze.tm (or repoze.tm2) for use in WSGI environments.

See docs/index.rst for documentation.

Changelog

2.0b2 (2013-03-20)

  • Add support for Python 3.2 / 3.3.

  • Note explicit support for Python 2.6 / 2.7.

  • Drop support for Python < 2.6.

2.0b1 (2011-08-31)

  • Remove the need for a middleware. Instead the current transaction is automatically joined if needed. [wichert]

  • PEP8. [wichert]

  • Restructure package to faciliate automated testing. [wichert]

1.1 (2011-01-13)

  • Added deleteFile function/method. [fschulze]

1.0 (2010-06-29)

  • Made DummyDataManager transaction aware. [fschulze]

1.0a6 (2009-12-09)

  • Fix packaging error. [wichert]

1.0a5 (2009-12-09)

  • Add a MockFile class to help with handling of files when using the DummyDataManager. [fschulze]

1.0a4 (2009-11-12)

  • Add a new openFile method to facilitate opening of files that have not been commited yet. [wichert]

1.0a3 (2009-11-10)

  • Add method to facilitate unit testing of code using repoze.filesafe. [wichert]

1.0a2 (2009-09-25)

  • Add support for Python 2.4 and 2.5. [wichert]

1.0a1 (2009-09-25)

  • 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

repoze.filesafe-2.0b2.tar.gz (23.7 kB view details)

Uploaded Source

File details

Details for the file repoze.filesafe-2.0b2.tar.gz.

File metadata

File hashes

Hashes for repoze.filesafe-2.0b2.tar.gz
Algorithm Hash digest
SHA256 c7c231f9316a7f64fdb0854b0bd25c698ed51fada02643c1600037bace037133
MD5 4b52a2ed4e1a72f9365fcc21c068346f
BLAKE2b-256 50ffbdb0007df323c1b5d7109cea3e4ad84b329b34a4aa24cca8d834ce7061cb

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