Skip to main content

Persistence to ini Files

Project description

https://github.com/Shoobx/z3c.insist/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/Shoobx/z3c.insist/badge.svg?branch=master https://img.shields.io/pypi/v/z3c.insist.svg https://img.shields.io/pypi/pyversions/z3c.insist.svg Maintainability

This is a package that allows serializing objects to ConfigParser files and loading them back.

Changelog

1.5.7 (2024-10-16)

  • Fix: event_filter type is a FileSystemEvent not a string

1.5.6 (2024-10-16)

  • Fix: Filter events for EVENTS_CONSUMED

1.5.5 (2024-09-13)

  • Fix: Whitelist events instead of blacklisting some, watchdog added EVENT_TYPE_CLOSED_NO_WRITE

1.5.4 (2024-01-15)

  • Change generation of section to folder style

1.5.3 (2023-11-08)

  • Fix inconsistencies in calculating includes paths. Please note that signature of SeparateFileConfigurationStoreMixIn.getIncludes has changed.

1.5.2 (2023-05-05)

  • Ignored FileOpenedEvent in dispatch to avoid unnecessary processing of files in IncludingFilesHandler.

1.5.1 (2023-03-23)

  • Added support for Python 3.10 and 3.11

  • Ignored FileOpenedEvent in dispatch to avoid unnecessary processing of files.

  • Upgraded to the watchdog 3.0.0

1.5.0 (2023-01-24)

  • Relicense under ZPL-2.1.

1.4.2 (2022-04-29)

  • Upgraded to the watchdog 2.1.7, which does not support the timeout parameter in EventDispatcher.dispatch_events() any more.

1.4.1 (2021-10-26)

  • Report non-existing included config files. (It helps greatly with debugging.)

1.4.0 (2021-10-18)

  • Implemented ability to include config files for file-based stores.

    • Syntax: `#include path/to/included.ini`

    • A new IncludeObserver component listens to the changes of the included files and will update the config of the including file on modification. Added and removing new included files is also supported.

  • Dropped support for Python 3.6

  • Added support for Python 3.9

  • Removed last compatibility code with Python 2.

  • Applied zopefoundation.meta config

1.3.0 (2020-12-15)

  • Dropped support for Python 2 and Python 3.5

  • Added support for Python 3.8

1.2.0 (2018-03-31)

  • Use ConfigParser.read_file() instead of ConfigParser.readfp(), since the latter is deprecated.

1.1.4 (2017-05-25)

  • Fixed a senseless bug that was caused by the Py3 port.

1.1.3 (2017-05-25)

  • Fixed a bug in reading the config files.

  • Switched to modern io.open() which supports the encoding parameter.

  • Make sure that Bytes are properly converted in both directions.

1.1.2 (2017-05-24)

  • Ensure that we always load files in a way that its content is automatically converted to unicode.

  • Ensure that MANIFEST is complete.

1.1.1 (2017-05-24)

  • Added badges to README.

1.1.0 (2017-05-24)

  • Support for Python 3.5, 3.6 and PyPy.

  • Covnerted most doctests to unit tests to ease compatibility effort.

  • First public release.

1.0.0 (2017-05-15)

  • 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

z3c.insist-1.5.7.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

z3c.insist-1.5.7-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file z3c.insist-1.5.7.tar.gz.

File metadata

  • Download URL: z3c.insist-1.5.7.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for z3c.insist-1.5.7.tar.gz
Algorithm Hash digest
SHA256 20440c45c91ebb53da6e9c92f387efc74b4b37beb92f72ac07ad584ec6ea423f
MD5 56b74c9558a7dd0d263a865338d97d30
BLAKE2b-256 0efdfb1bf0d2dcc447729a4b033fd7d35b8a29f3cda6b7521493599e29909c25

See more details on using hashes here.

File details

Details for the file z3c.insist-1.5.7-py3-none-any.whl.

File metadata

  • Download URL: z3c.insist-1.5.7-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for z3c.insist-1.5.7-py3-none-any.whl
Algorithm Hash digest
SHA256 23f7d00578d2956d9a541d02b65707ad92437d9bd6a7036f6dd635283b3016ff
MD5 73fbd854bb74c8d2700a86c7d3ad2c79
BLAKE2b-256 f12a22bac2a483ee8bcc41c5f1c9a32a77478123b8afb1f6c0e59a85312d6c72

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