This package is available from the Python Package Index. If you have pip you should be able to do:

$ pip install petl

You can also download maually, extract and run python install.

to verify installation, the test suite can be run with pytest, e.g.:

$ pip install pytest
$ pytest

py2jdbc has been tested with Python version 2.7 and 3.7 under Linux and Windows operating systems.

Dependencies and extensions

This package is written in pure Python. The only requirement is the six module, for Python 2 and 3 compatibility.

Design goals

This package is designed to conform to DBI 2.0, with an eye toward working well with database ORM’s, like SQLAlchemy.