Products.ZSQLMethods


NameProducts.ZSQLMethods JSON
Version 4.1 PyPI version JSON
download
home_pagehttps://github.com/zopefoundation/Products.ZSQLMethods
SummarySQL method support for Zope.
upload_time2024-01-04 09:49:39
maintainer
docs_urlNone
authorZope Foundation and Contributors
requires_python>=3.7
licenseZPL 2.1
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml/badge.svg
        :target: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml

.. image:: https://coveralls.io/repos/github/zopefoundation/Products.ZSQLMethods/badge.svg?branch=master
        :target: https://coveralls.io/github/zopefoundation/Products.ZSQLMethods?branch=master

.. image:: https://img.shields.io/pypi/v/Products.ZSQLMethods.svg
        :target: https://pypi.org/project/Products.ZSQLMethods/
        :alt: Current version on PyPI

.. image:: https://img.shields.io/pypi/pyversions/Products.ZSQLMethods.svg
        :target: https://pypi.org/project/Products.ZSQLMethods/
        :alt: Supported Python versions

Products.ZSQLMethods
====================

This Zope product provides support for SQL Method objects in
Zope. They can be used in conjunction with any database adapter to use
relational database data from within the Zope environment.

Changelog
=========

4.1 (2024-01-04)
----------------

- Add support for Python 3.12.

- Fix Z Search Interface Creation
  (`#46 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/46>`_)

- Fix HTML quoting in test forms
  (`#44 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/44>`_)


4.0 (2023-02-02)
----------------

- Drop support for Python 2.7, 3.5, 3.6.

- Removed deprecated class ``Shared.DC.ZRDB.TM.Surrogate``
  that was slated to be removed in version 4.0.


3.16 (2022-12-16)
-----------------

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

- Add support for Python 3.11.


3.15 (2022-04-29)
-----------------

- Add support for Python 3.10.

- Fix Python 2 compatibility in
  ``Shared.DC.ZRDB.Connection.Connection.connect``
  (`#41 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/41>`_)


3.14 (2021-06-29)
-----------------

- Fix `Z Search Interface Interface` creation under Python 3
  (`#30 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/30>`_)


3.13 (2021-03-15)
-----------------

- Add support for Python 3.9.


3.12 (2020-01-09)
-----------------

- Zope 4 ZMI improvements for database connection test form.

- Fix the ``repr`` of SQL Methods.


3.11 (2020-07-15)
------------------

- Improve pagination and search result display on the ZMI `Test` tab
  (`#28 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/28>`_)


3.10 (2020-07-14)
-----------------

- Removed last remnants of the Zope 2 Help System.

- Zope 4 ZMI improvements for ZSQL Method objects.

- Zope 4 ZMI improvements for database connection objects.

- Package and ``tox`` configuration cleanup to allow runing tests in parallel.


3.9 (2020-04-16)
----------------

- Added explicit type selection for ZSQL parameters on the ZMI `Test` tab.


3.8 (2020-04-15)
----------------

- Improved usability for the ZMI `Test` tab.


3.7 (2020-03-19)
----------------

- Improved error handling and feedback for ``dtml-sqltest``.


3.6 (2020-02-28)
----------------

- Fix batch links and warning for maximum numbr of rows
  (`#24 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/24>`_)


3.5 (2020-02-26)
----------------

- Fixed up the ZMI `Test` tab.

  - Fixed broken batch link display.

  - Make number of rows shown configurable.

  - Show total result set size.

  - Shown warning if the result set size hits the configured limit.

- Fixed incompatibility with ``transaction`` version 3.
  (`#23 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/23>`_)


3.4 (2020-02-13)
----------------

- Fixed ``PUT`` issue that failed due to a WebDAV lock test in ``manage_edit``.

- ``manage_DAVget`` now inserts a vi syntax highlighting hint.


3.3 (2020-02-12)
----------------

- Enable editing all properties via WebDAV
  This is done by copying the full-featured format used by the
  ``FSZSQLMethod`` class from ``Products.CMFCore``.


3.2 (2020-02-11)
----------------

- Fix support for editing ZSQL Methods via WebDAV
  (`#22 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/22>`_)


3.1 (2020-02-09)
----------------

- Pull in WebDAV support from Zope and pin Zope to 4.2.1 or higher.


3.0.13 (2020-02-04)
-------------------

- Pin ``DocumentTemplate`` 3.2.2 for less quoting, it is to database-specific.


3.0.12 (2020-02-03)
-------------------

- Depend on ``DocumentTemplate`` 3.2.1+ to no longer escape ``"``.


3.0.11 (2020-01-31)
-------------------

- Depend on ``DocumentTemplate`` 3.1+ to do SQL quoting.


3.0.10 (2020-01-29)
-------------------

- Remove Zope Help System fossils so the product works with Zope 5.


3.0.9 (2019-11-22)
------------------

- Fix ImportError under Zope 5 due to moved dependencies
  (`#19 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/19>`_)


3.0.8 (2019-08-05)
------------------

- Show rendered SQL output even if an exception occurred
  (`#15 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/15>`_)

- Fix sqltest behavior with bytes inputs
  (`#14 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/14>`_)


3.0.7 (2019-04-26)
------------------

- Compatibility fixes for better unicode support in DocumentTemplate.


3.0.6 (2019-04-03)
------------------

- Fix failing unpickling of older Z SQL Methods instances
  (`#12 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/12>`_)

- Improve usability and add Zope 4 compatibility for connection forms.

- Improve general usability of the ZSQL Method edit and test forms.

- Enable the fancy editor for the ZSQL Method edit form.

- Sanitize ``tox`` and ``flake8`` configurations, reach ``flake8`` compliance.


3.0.5 (2019-03-29)
------------------

- Fix all ZMI forms for ZSQL Methods for Zope 4
  (`#11 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/11>`_)


3.0.4 (2019-02-17)
------------------

- Specify supported Python versions using ``python_requires`` in setup.py
  (`Zope#481 <https://github.com/zopefoundation/Zope/issues/481>`_)

- Added support for Python 3.7 and 3.8.


3.0.3 (2018-06-11)
------------------

- Fix long-standing bug of setting an ``int`` as return value
  for the transaction manager's ``sortKey`` method. It must be a string.

- PEP-8 compliance.

- Clean out all ``install_requires`` that are already required by ``Zope``.

- Only claim to support Python versions supported by Zope itself.


3.0.2 (2018-03-16)
------------------

- Add flake8 code checking.

- Add test coverage computation.

- Various small Python 3 compatibility changes.


3.0.1 (2017-10-18)
------------------

- Fix syntax error in `Shared/DC/ZRDB/dbi_db.py`.

- More PEP8 compliance.


3.0.0 (2017-05-23)
------------------

- Added tox configuration.

- Python 3 compatibility.


3.0.0b1 (2017-05-03)
--------------------

- Target use with Zope 4:  no longer support 2.13.x.

- Make webdav from ZServer optional.
  [dataflake]

2.13.5 (2016-11-10)
-------------------

- Strip ``NUL`` bytes when quoting SQL string literals.

- Fixed a bug which might occur on Windows when two cache entries have been
  stored without `time.time()` having changed and the cache gets purged
  afterwards.

2.13.4 (2011-07-03)
-------------------

- Copy code from `App.Extensions` to keep compatibility with Zope 2.14.

2.13.3 (2010-08-31)
-------------------

- LP #142501: Only connect upon ZODB load if a new flag ``connect_on_load``
  has been set to a true value (which is its default for backwards
  compatibility).

- LP #142689: Actually use SQL connection titles in the list of
  connections returned by SQL.SQLConnectionIDs.

2.13.2 (2010-07-09)
-------------------

- Actually establish Zope 2.12 compatibility by dealing with all cases of
  moved classes and functions.

2.13.1 (2010-07-09)
-------------------

- Made compatible with Zope 2.12.9.

2.13.0 (2010-07-09)
-------------------

- Released as separate package.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/zopefoundation/Products.ZSQLMethods",
    "name": "Products.ZSQLMethods",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Zope Foundation and Contributors",
    "author_email": "zope-dev@zope.dev",
    "download_url": "https://files.pythonhosted.org/packages/e6/c0/061e7ac9223aabb6b6aa3a4f0a7400ae8a00cc7391b1735f72e3379f5d79/Products.ZSQLMethods-4.1.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml/badge.svg\n        :target: https://github.com/zopefoundation/Products.ZSQLMethods/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/Products.ZSQLMethods/badge.svg?branch=master\n        :target: https://coveralls.io/github/zopefoundation/Products.ZSQLMethods?branch=master\n\n.. image:: https://img.shields.io/pypi/v/Products.ZSQLMethods.svg\n        :target: https://pypi.org/project/Products.ZSQLMethods/\n        :alt: Current version on PyPI\n\n.. image:: https://img.shields.io/pypi/pyversions/Products.ZSQLMethods.svg\n        :target: https://pypi.org/project/Products.ZSQLMethods/\n        :alt: Supported Python versions\n\nProducts.ZSQLMethods\n====================\n\nThis Zope product provides support for SQL Method objects in\nZope. They can be used in conjunction with any database adapter to use\nrelational database data from within the Zope environment.\n\nChangelog\n=========\n\n4.1 (2024-01-04)\n----------------\n\n- Add support for Python 3.12.\n\n- Fix Z Search Interface Creation\n  (`#46 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/46>`_)\n\n- Fix HTML quoting in test forms\n  (`#44 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/44>`_)\n\n\n4.0 (2023-02-02)\n----------------\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Removed deprecated class ``Shared.DC.ZRDB.TM.Surrogate``\n  that was slated to be removed in version 4.0.\n\n\n3.16 (2022-12-16)\n-----------------\n\n- Fix insidious buildout configuration bug for tests against Zope 4.\n\n- Add support for Python 3.11.\n\n\n3.15 (2022-04-29)\n-----------------\n\n- Add support for Python 3.10.\n\n- Fix Python 2 compatibility in\n  ``Shared.DC.ZRDB.Connection.Connection.connect``\n  (`#41 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/41>`_)\n\n\n3.14 (2021-06-29)\n-----------------\n\n- Fix `Z Search Interface Interface` creation under Python 3\n  (`#30 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/30>`_)\n\n\n3.13 (2021-03-15)\n-----------------\n\n- Add support for Python 3.9.\n\n\n3.12 (2020-01-09)\n-----------------\n\n- Zope 4 ZMI improvements for database connection test form.\n\n- Fix the ``repr`` of SQL Methods.\n\n\n3.11 (2020-07-15)\n------------------\n\n- Improve pagination and search result display on the ZMI `Test` tab\n  (`#28 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/28>`_)\n\n\n3.10 (2020-07-14)\n-----------------\n\n- Removed last remnants of the Zope 2 Help System.\n\n- Zope 4 ZMI improvements for ZSQL Method objects.\n\n- Zope 4 ZMI improvements for database connection objects.\n\n- Package and ``tox`` configuration cleanup to allow runing tests in parallel.\n\n\n3.9 (2020-04-16)\n----------------\n\n- Added explicit type selection for ZSQL parameters on the ZMI `Test` tab.\n\n\n3.8 (2020-04-15)\n----------------\n\n- Improved usability for the ZMI `Test` tab.\n\n\n3.7 (2020-03-19)\n----------------\n\n- Improved error handling and feedback for ``dtml-sqltest``.\n\n\n3.6 (2020-02-28)\n----------------\n\n- Fix batch links and warning for maximum numbr of rows\n  (`#24 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/24>`_)\n\n\n3.5 (2020-02-26)\n----------------\n\n- Fixed up the ZMI `Test` tab.\n\n  - Fixed broken batch link display.\n\n  - Make number of rows shown configurable.\n\n  - Show total result set size.\n\n  - Shown warning if the result set size hits the configured limit.\n\n- Fixed incompatibility with ``transaction`` version 3.\n  (`#23 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/23>`_)\n\n\n3.4 (2020-02-13)\n----------------\n\n- Fixed ``PUT`` issue that failed due to a WebDAV lock test in ``manage_edit``.\n\n- ``manage_DAVget`` now inserts a vi syntax highlighting hint.\n\n\n3.3 (2020-02-12)\n----------------\n\n- Enable editing all properties via WebDAV\n  This is done by copying the full-featured format used by the\n  ``FSZSQLMethod`` class from ``Products.CMFCore``.\n\n\n3.2 (2020-02-11)\n----------------\n\n- Fix support for editing ZSQL Methods via WebDAV\n  (`#22 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/22>`_)\n\n\n3.1 (2020-02-09)\n----------------\n\n- Pull in WebDAV support from Zope and pin Zope to 4.2.1 or higher.\n\n\n3.0.13 (2020-02-04)\n-------------------\n\n- Pin ``DocumentTemplate`` 3.2.2 for less quoting, it is to database-specific.\n\n\n3.0.12 (2020-02-03)\n-------------------\n\n- Depend on ``DocumentTemplate`` 3.2.1+ to no longer escape ``\"``.\n\n\n3.0.11 (2020-01-31)\n-------------------\n\n- Depend on ``DocumentTemplate`` 3.1+ to do SQL quoting.\n\n\n3.0.10 (2020-01-29)\n-------------------\n\n- Remove Zope Help System fossils so the product works with Zope 5.\n\n\n3.0.9 (2019-11-22)\n------------------\n\n- Fix ImportError under Zope 5 due to moved dependencies\n  (`#19 <https://github.com/zopefoundation/Products.ZSQLMethods/pull/19>`_)\n\n\n3.0.8 (2019-08-05)\n------------------\n\n- Show rendered SQL output even if an exception occurred\n  (`#15 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/15>`_)\n\n- Fix sqltest behavior with bytes inputs\n  (`#14 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/14>`_)\n\n\n3.0.7 (2019-04-26)\n------------------\n\n- Compatibility fixes for better unicode support in DocumentTemplate.\n\n\n3.0.6 (2019-04-03)\n------------------\n\n- Fix failing unpickling of older Z SQL Methods instances\n  (`#12 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/12>`_)\n\n- Improve usability and add Zope 4 compatibility for connection forms.\n\n- Improve general usability of the ZSQL Method edit and test forms.\n\n- Enable the fancy editor for the ZSQL Method edit form.\n\n- Sanitize ``tox`` and ``flake8`` configurations, reach ``flake8`` compliance.\n\n\n3.0.5 (2019-03-29)\n------------------\n\n- Fix all ZMI forms for ZSQL Methods for Zope 4\n  (`#11 <https://github.com/zopefoundation/Products.ZSQLMethods/issues/11>`_)\n\n\n3.0.4 (2019-02-17)\n------------------\n\n- Specify supported Python versions using ``python_requires`` in setup.py\n  (`Zope#481 <https://github.com/zopefoundation/Zope/issues/481>`_)\n\n- Added support for Python 3.7 and 3.8.\n\n\n3.0.3 (2018-06-11)\n------------------\n\n- Fix long-standing bug of setting an ``int`` as return value\n  for the transaction manager's ``sortKey`` method. It must be a string.\n\n- PEP-8 compliance.\n\n- Clean out all ``install_requires`` that are already required by ``Zope``.\n\n- Only claim to support Python versions supported by Zope itself.\n\n\n3.0.2 (2018-03-16)\n------------------\n\n- Add flake8 code checking.\n\n- Add test coverage computation.\n\n- Various small Python 3 compatibility changes.\n\n\n3.0.1 (2017-10-18)\n------------------\n\n- Fix syntax error in `Shared/DC/ZRDB/dbi_db.py`.\n\n- More PEP8 compliance.\n\n\n3.0.0 (2017-05-23)\n------------------\n\n- Added tox configuration.\n\n- Python 3 compatibility.\n\n\n3.0.0b1 (2017-05-03)\n--------------------\n\n- Target use with Zope 4:  no longer support 2.13.x.\n\n- Make webdav from ZServer optional.\n  [dataflake]\n\n2.13.5 (2016-11-10)\n-------------------\n\n- Strip ``NUL`` bytes when quoting SQL string literals.\n\n- Fixed a bug which might occur on Windows when two cache entries have been\n  stored without `time.time()` having changed and the cache gets purged\n  afterwards.\n\n2.13.4 (2011-07-03)\n-------------------\n\n- Copy code from `App.Extensions` to keep compatibility with Zope 2.14.\n\n2.13.3 (2010-08-31)\n-------------------\n\n- LP #142501: Only connect upon ZODB load if a new flag ``connect_on_load``\n  has been set to a true value (which is its default for backwards\n  compatibility).\n\n- LP #142689: Actually use SQL connection titles in the list of\n  connections returned by SQL.SQLConnectionIDs.\n\n2.13.2 (2010-07-09)\n-------------------\n\n- Actually establish Zope 2.12 compatibility by dealing with all cases of\n  moved classes and functions.\n\n2.13.1 (2010-07-09)\n-------------------\n\n- Made compatible with Zope 2.12.9.\n\n2.13.0 (2010-07-09)\n-------------------\n\n- Released as separate package.\n",
    "bugtrack_url": null,
    "license": "ZPL 2.1",
    "summary": "SQL method support for Zope.",
    "version": "4.1",
    "project_urls": {
        "Homepage": "https://github.com/zopefoundation/Products.ZSQLMethods",
        "Issue Tracker": "https://github.com/zopefoundation/Products.ZSQLMethods/issues",
        "Sources": "https://github.com/zopefoundation/Products.ZSQLMethods"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "833d46f4ef2a13543b5360b86846f1a03fa6409b20271b8465164c9f2be8fbe0",
                "md5": "f11361c734558cef377e695feeec3510",
                "sha256": "e00fcc9bd9f93cd75d09e6f054e7e1206efd084eb42cf0288074c6358986a108"
            },
            "downloads": -1,
            "filename": "Products.ZSQLMethods-4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f11361c734558cef377e695feeec3510",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 74873,
            "upload_time": "2024-01-04T09:49:37",
            "upload_time_iso_8601": "2024-01-04T09:49:37.546604Z",
            "url": "https://files.pythonhosted.org/packages/83/3d/46f4ef2a13543b5360b86846f1a03fa6409b20271b8465164c9f2be8fbe0/Products.ZSQLMethods-4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6c0061e7ac9223aabb6b6aa3a4f0a7400ae8a00cc7391b1735f72e3379f5d79",
                "md5": "22915a49be114bfec8f47f7870641fdb",
                "sha256": "dfd23684fdd9d8076045efba45a9e77d7c9841ea80c315b0e4a57300f464ad8f"
            },
            "downloads": -1,
            "filename": "Products.ZSQLMethods-4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "22915a49be114bfec8f47f7870641fdb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 55693,
            "upload_time": "2024-01-04T09:49:39",
            "upload_time_iso_8601": "2024-01-04T09:49:39.883451Z",
            "url": "https://files.pythonhosted.org/packages/e6/c0/061e7ac9223aabb6b6aa3a4f0a7400ae8a00cc7391b1735f72e3379f5d79/Products.ZSQLMethods-4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-04 09:49:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zopefoundation",
    "github_project": "Products.ZSQLMethods",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "products.zsqlmethods"
}
        
Elapsed time: 0.39152s