ad-m / python-anticaptcha

Client library for solve captchas with Anticaptcha.com support.
http://python-anticaptcha.readthedocs.io/en/latest/
MIT License
223 stars 51 forks source link

Enhancement Request: __version__ attritbute #41

Closed VeNoMouS closed 5 years ago

VeNoMouS commented 5 years ago

Can you please add a __version__ attribute to your code base , so i don't have to do something as crude as

if not hasattr(client, 'createTaskSmee'):
    raise RuntimeError("Please upgrade 'python_anticaptcha' via pip or download it from https://github.com/ad-m/python-anticaptcha")

https://www.python.org/dev/peps/pep-0396/#specification

ad-m commented 5 years ago

Yes!

ad-m commented 5 years ago

To be aware that Smee is experimental feature.

VeNoMouS commented 5 years ago

To be aware that Smee is experimental feature.

Roger that :)

ad-m commented 5 years ago

Smee comments are welcome. I'm afraid:

Issues fixed in 0.4.1 (see changelog https://python-anticaptcha.readthedocs.io/en/latest/changes.html#id1 ), so I am going to to close that issues.