Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 964 Bytes

installing.rst

File metadata and controls

34 lines (21 loc) · 964 Bytes

Installation

Use pip to install the library from the Python Package Index.

$ pip install eventsourcing

If you want to use SQLAlchemy, then install the library with the 'sqlalchemy' option. Also install your chosen database driver.

$ pip install eventsourcing[sqlalchemy]
$ pip install psycopg2

Similarly, if you want to use Apache Cassandra, then please install with the 'cassandra' option.

$ pip install eventsourcing[cassandra]

Running the install command with again different options will just install the extra dependencies associated with that option. If you installed without any options, you can easily install optional dependencies later by running the install command again with the options you want.