yzhao062 / pyod

A Python Library for Outlier and Anomaly Detection, Integrating Classical and Deep Learning Techniques
http://pyod.readthedocs.io
BSD 2-Clause "Simplified" License
8.48k stars 1.36k forks source link

Add pyod.__version__ property #584

Closed CodeLionX closed 4 months ago

CodeLionX commented 4 months ago

PyOD has no pyod.__version__ property, which makes integrating it in other packages complicated. Many tools use <module>.__version__ to check compatibility at runtime.

PyOD already stores the version number in code, but in a non-standard location (pyod.version.__version__). This PR just pulls the __version__ in the module's global namespace.

All Submissions Basics:

yzhao062 commented 4 months ago

thank you -- please resubmit it to the development branch.

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9328842990

Details


Totals Coverage Status
Change from base Build 9328611316: 0.001%
Covered Lines: 9394
Relevant Lines: 10001

💛 - Coveralls