0

I want to know what version of alembic I have installed (the library itself, not which migration revision is current).

I tried the obvious things like alembic --version, and could not find a combination that worked. I don't see anything relevant from the alembic --help command. Googling also failed me.

Alex Altair
  • 3,246
  • 3
  • 21
  • 37

1 Answers1

1

This command will print the library's version and is safe to use for all python version:

$ python -c "import alembic; print(alembic.__version__)"
vbhakta
  • 107
  • 1
  • 6
Dag Høidahl
  • 7,873
  • 8
  • 53
  • 66