Pandemy is available for installation through PyPI using pip and conda-forge using conda. The source code is hosted on GitHub at: https://github.com/antonlydell/Pandemy
Install with pip:
$ pip install Pandemy
Install with conda:
$ conda install -c conda-forge pandemy
The core dependencies of Pandemy are:
- pandas : powerful Python data analysis toolkit
- SQLAlchemy : The Python SQL Toolkit and Object Relational Mapper
Databases except for SQLite require a third-party database driver package to be installed. SQLAlchemy uses the database driver to communicate with the database. The default database driver for SQLite is built-in to Python in the python:sqlite3
module1. The optional dependencies of Pandemy can be installed by supplying an optional dependency identifier to the pip installation command. The table below lists database driver packages for supported databases and their corresponding optional dependency identifier.
Database | Driver package | Optional dependency identifier | Version added |
---|---|---|---|
Oracle <user_guide/oracle/index:Oracle> |
cx_Oracle | oracle | 1.1.0 |
To install cx_Oracle together with Pandemy run:
$ pip install Pandemy[oracle]
When using conda supply the driver package as a separate argument to the install command:
$ conda install -c conda-forge pandemy cx_oracle
Footnotes
There are other drivers for SQLite, see SQLite drivers in the SQLAlchemy documentation.↩