bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.17k stars 392 forks source link

Add support for `memray --version` and maybe `memray -V` #417

Closed godlygeek closed 1 year ago

godlygeek commented 1 year ago

Allow users to ask Memray to report its own version.

godlygeek commented 1 year ago

Note that, until we implement this feature, python -c "import memray; print(memray.__version__)" is a workaround.