Skip to main content

SQL statements generator for Zope SQL adapters

Project description

This package provides a simple generator for SQL statements, which are then executed by a Zope database adapter.

It does not try to implement an object-relational mapper (ORM) but simply helps to create SQL statements.

The purpose of this package is not to provide new functionality but to factor out existing functionality from an existing monolitic Zope product. Thus, it is more likely to lose functionality during further development (as parts of it will be forked out into their own packages, or some functionality may even become obsolete because there are better alternatives in standard Plone components).

There might be some work still necessary to make this product useful for a broader audience; it is currently in use in our monolithic product resp. it’s successors only.

Features

  • Methods:

    • insert

    • update

    • delete

    • select

    • query

  • Implements the Context manager protocol (PEP 343)

Examples

This add-on can be seen in action at the following sites:

Documentation

Full documentation for end users can be found in the “docs” folder.

Installation

Install visaplan.plone.sqlwrapper by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.plone.sqlwrapper

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.2 (2020-08-17)

  • Python 3.3+ compatibility, using six

  • Dedicated interface module

[tobiasherp]

1.0.1 (2018-11-23)

  • Declared existing dependencies. [tobiasherp]

1.0 (2018-09-17)

  • Initial release. [tobiasherp]

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

visaplan.plone.sqlwrapper-1.0.2.tar.gz (22.2 kB view details)

Uploaded Source

File details

Details for the file visaplan.plone.sqlwrapper-1.0.2.tar.gz.

File metadata

  • Download URL: visaplan.plone.sqlwrapper-1.0.2.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5

File hashes

Hashes for visaplan.plone.sqlwrapper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 18a7dfd964f12ad98102f8b0ed4f6f05750b6843b96b6b4edc795876bffbfbdf
MD5 a45d9700a738fc2c7f77da428b9d77af
BLAKE2b-256 97d774d10bd56376b189862a1cc7fd1d80d53e570cd9e8506df7417cd981ce3f

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