{ "info": { "author": "tezmen", "author_email": "tezmenpro@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# python-sms-activate-ru\n\n\n### \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u043d\u0438\u0436\u0435\n\nWrapper for automatic reception of SMS-messages by sms-activate.ru\n\n[![N|Solid](https://img.shields.io/pypi/pyversions/smsactivateru.svg)](https://pypi.python.org/pypi/smsactivateru)\n\n### Installation\nYou can install or upgrade package with:\n```\n$ pip install smsactivateru --upgrade\n```\nOr you can install from source with:\n```\n$ git clone https://github.com/tezmen/python-sms-activate-ru\n$ cd python-sms-activate-ru\n$ python setup.py install\n```\n...or install from source buth with pip\n```\n$ pip install git+https://github.com/tezmen/python-sms-activate-ru\n```\n### Example\n```python\nfrom smsactivateru import Sms, SmsService, GetNumber\n\nwrapper = Sms('API KEY')\n\nactivation = GetNumber(\n\tservice=SmsService().Youla,\n).request(wrapper)\n\ninput('Press enter if you sms was sent')\n\nactivation.was_sent().request(wrapper)\ncode = activation.wait_code(wrapper=wrapper)\nprint(code)\n```\nMore examples located in /example/ dir\n\n----\n\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0430 python \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 api \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0438\u0451\u043c\u0430 \u0441\u043c\u0441 \u2013 sms-activate.ru\n\n[![N|Solid](https://img.shields.io/pypi/pyversions/smsactivateru.svg)](https://pypi.python.org/pypi/smsactivateru)\n\n### \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 pip:\n```\n$ pip install smsactivateru --upgrade\n```\n\u041b\u0438\u0431\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0441 \u0440\u0443\u0447\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u043e\u0439\n```\n$ git clone https://github.com/tezmen/python-sms-activate-ru\n$ cd python-sms-activate-ru\n$ python setup.py install\n```\n...\u043b\u0438\u0431\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 pip \u043d\u043e \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u043c\u0438\u043d\u0443\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430 pypi\n```\n$ pip install git+https://github.com/tezmen/python-sms-activate-ru\n```\n### \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440\n```python\nfrom smsactivateru import Sms, SmsService, GetNumber\n\nwrapper = Sms('API KEY')\n\nactivation = GetNumber(\n\tservice=SmsService().Youla,\n).request(wrapper)\n\ninput('Press enter if you sms was sent')\n\nactivation.was_sent().request(wrapper)\ncode = activation.wait_code(wrapper=wrapper)\nprint(code)\n```\n\u042d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441\u044b \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0435\u0449\u0451.\n\u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 /example/\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/tezmen/python-sms-activate-ru/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tezmen/python-sms-activate-ru", "keywords": "sms,revice,sms-activate-ru,autoreg", "license": "Apache License, Version 2.0, see LICENSE file", "maintainer": "", "maintainer_email": "", "name": "smsactivateru", "package_url": "https://pypi.org/project/smsactivateru/", "platform": "", "project_url": "https://pypi.org/project/smsactivateru/", "project_urls": { "Download": "https://github.com/tezmen/python-sms-activate-ru/archive/master.zip", "Homepage": "https://github.com/tezmen/python-sms-activate-ru" }, "release_url": "https://pypi.org/project/smsactivateru/1.2.6/", "requires_dist": [ "requests (>=2.0)" ], "requires_python": "", "summary": "Wrapper for automatic reception of SMS-messages by sms-activate.ru", "version": "1.2.6" }, "last_serial": 5254768, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "70ae87002230ce1af909f0e804ce5eac", "sha256": "3d60aaae615ffeee966180ca92104cfdd0139a18adc392b73fd11f6215eb4f3a" }, "downloads": -1, "filename": "smsactivateru-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "70ae87002230ce1af909f0e804ce5eac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8099, "upload_time": "2017-10-18T10:15:06", "url": "https://files.pythonhosted.org/packages/65/ae/5e5ff8b22a3cb52facdf3ccf9b277dba6d0bb3fb0a1f067baf9c100fc2d6/smsactivateru-1.0-py3-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "e3800c4103eb8d129dddbb54baaa00fe", "sha256": "47d8765a3d069807134d31aeee867b19763e06b1656d3e518a57854c73c0ed37" }, "downloads": -1, "filename": "smsactivateru-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e3800c4103eb8d129dddbb54baaa00fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12172, "upload_time": "2018-10-15T20:59:11", "url": "https://files.pythonhosted.org/packages/39/1c/0613cdaf1a449463b9fc3a06fd17f6b7c23531a54d98ff1489a881561703/smsactivateru-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75fb7b86661ff432e344856588db575c", "sha256": "dead980199ef8d75d3aac8a01e591fbf376fca2df8b67a0cb250c8d398ee33ed" }, "downloads": -1, "filename": "smsactivateru-1.1.tar.gz", "has_sig": false, "md5_digest": "75fb7b86661ff432e344856588db575c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5865, "upload_time": "2018-10-15T20:59:12", "url": "https://files.pythonhosted.org/packages/8f/fa/f1bd9c624be46973e26f8f19f8d584cb978494093d8525fce1012afd8c0c/smsactivateru-1.1.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "1883c08af3badf7328ca755533833c71", "sha256": "48dee15a2c955d2abec5ee4ab69c4c8d509c4a05eded4328516f5829f32109dd" }, "downloads": -1, "filename": "smsactivateru-1.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1883c08af3badf7328ca755533833c71", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14003, "upload_time": "2018-12-12T23:15:36", "url": "https://files.pythonhosted.org/packages/0c/ae/747604eb5ab320cf4afef8f40ca0b15cdb1f416465e9ef4e779c754d372b/smsactivateru-1.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "039259715a782202fc4b3fba5284924c", "sha256": "361a1b5b6130f3b987e8f0aa766ac591a3140f390c75d792efdd9354b8c383cc" }, "downloads": -1, "filename": "smsactivateru-1.2.1.tar.gz", "has_sig": false, "md5_digest": "039259715a782202fc4b3fba5284924c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8429, "upload_time": "2018-12-12T23:15:37", "url": "https://files.pythonhosted.org/packages/5d/b1/03eee088d015f51ec1df1f2be5cbb8c41180f1c22303f5ca082f5910343a/smsactivateru-1.2.1.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "0b6c1e8a135ed747a3b7523373586bb2", "sha256": "f3868493feb7886e2ee6ab3bd8bac847e3d1906887370086ae76ec2bd0243a0e" }, "downloads": -1, "filename": "smsactivateru-1.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "0b6c1e8a135ed747a3b7523373586bb2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14114, "upload_time": "2019-04-05T18:56:36", "url": "https://files.pythonhosted.org/packages/ef/c9/4d5d1368b8ea83f5f7ebc321d2318e551e325e4f18057593bf821802378c/smsactivateru-1.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee1da70fb8bea9d87aab641da80b750e", "sha256": "195c32df13cb0d9e849017007c2326784104ff1ce474c2d19b00d8e189d81f04" }, "downloads": -1, "filename": "smsactivateru-1.2.3.tar.gz", "has_sig": false, "md5_digest": "ee1da70fb8bea9d87aab641da80b750e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8396, "upload_time": "2019-04-05T18:56:38", "url": "https://files.pythonhosted.org/packages/c8/26/032b18110358a8f790c423fd18b221f344cceed734de8dbd4d120a3a9a34/smsactivateru-1.2.3.tar.gz" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "969037954127278162676cdb2c3c587b", "sha256": "e611b5d018446b7eba99785e31075148efc001638dd1c1c06b5ffc342d3cdbf2" }, "downloads": -1, "filename": "smsactivateru-1.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "969037954127278162676cdb2c3c587b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14101, "upload_time": "2019-04-05T19:02:49", "url": "https://files.pythonhosted.org/packages/1a/e2/1b085167ede3def2dcebcd859f1b43033ab0e24dd23309d02ace407f7b99/smsactivateru-1.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64e89549cc659b982083abceddaaf98a", "sha256": "a4112110035afacf13e1eac6c2ea852f02fcc08b7a9ed4c4d679b02f019ef1a3" }, "downloads": -1, "filename": "smsactivateru-1.2.4.tar.gz", "has_sig": false, "md5_digest": "64e89549cc659b982083abceddaaf98a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8390, "upload_time": "2019-04-05T19:02:52", "url": "https://files.pythonhosted.org/packages/75/0e/558b4c72071848b42096d0a3daada4a539dce2774f7db22e86f71ad5040c/smsactivateru-1.2.4.tar.gz" } ], "1.2.5": [ { "comment_text": "", "digests": { "md5": "92531dc22505b91783cc90c8902c14fb", "sha256": "1bec37c3ccb1c4b5b3819135f355b2be1994a89ae0c651f7b305e7b4a8e63fb9" }, "downloads": -1, "filename": "smsactivateru-1.2.5-py3-none-any.whl", "has_sig": false, "md5_digest": "92531dc22505b91783cc90c8902c14fb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15430, "upload_time": "2019-04-13T11:26:19", "url": "https://files.pythonhosted.org/packages/3a/32/b3b155fc5be6103d94b2516bbafaa1fd0a98bfb3747e4714edaa01a2c89b/smsactivateru-1.2.5-py3-none-any.whl" } ], "1.2.6": [ { "comment_text": "", "digests": { "md5": "c7491e7888de836c8a9f0b4a85960592", "sha256": "86a2076626e341aa2874991717d71a4e467fb5acc8aa72bd0e4e975ecda7a3a6" }, "downloads": -1, "filename": "smsactivateru-1.2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "c7491e7888de836c8a9f0b4a85960592", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15456, "upload_time": "2019-05-11T02:22:28", "url": "https://files.pythonhosted.org/packages/20/01/a0a66583e45bcb68c54db71839a2fcc82e21a8c789fca49a464a25571400/smsactivateru-1.2.6-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c7491e7888de836c8a9f0b4a85960592", "sha256": "86a2076626e341aa2874991717d71a4e467fb5acc8aa72bd0e4e975ecda7a3a6" }, "downloads": -1, "filename": "smsactivateru-1.2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "c7491e7888de836c8a9f0b4a85960592", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15456, "upload_time": "2019-05-11T02:22:28", "url": "https://files.pythonhosted.org/packages/20/01/a0a66583e45bcb68c54db71839a2fcc82e21a8c789fca49a464a25571400/smsactivateru-1.2.6-py3-none-any.whl" } ] }