Skip to main content

No project description provided

Project description


integresql-client-python version integresql-client-python license integresql-client-python python compatibility Downloads say thanks!

Python client for IntegreSQL.

Current stable version


Python version

integresql-client-python is tested against Python 3.8+. Older Python versions may work, or may not.

How to use

from integresql_client_python import IntegreSQL

integresql = IntegreSQL('template_directory')

# integresql.debug = True

with integresql as tpl:
    with tpl.initialize() as dbinfo:
        # dbinfo is None if template is already initialized
        if dbinfo:
            # connect and import fixtures
            print("initialize db with fixtures with db data:", dbinfo)

    db = tpl.get_database()
    with db as dbinfo:
        # connect and do whatever you want
        print("Do your tests with db data:", dbinfo)

    # or manually, you can use as many databases as you need or IntegreSQL will allow
    dbinfo1 =
    print("Do your tests", dbinfo1)
    dbinfo2 =
    print("Do your tests", dbinfo2)
    dbinfo3 =
    print("Do your tests", dbinfo3)
    # connect and do whatever you want

    # do not forget about closing resources:



If you like or dislike this software, please do not hesitate to tell me about it via email (

If you find a bug or have an idea to enhance this tool, please use GitHub's issues.



  • fixed a bug where test database was returned to pool after every test and got reused. Renamed method Database.close() to Database.mark_unmodified(). Using Database in with block doesn't return selected database to pool anymore.


  • allow using multiple template paths


  • first public version

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

integresql_client_python-0.9.2-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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