{"id":13592864,"url":"https://github.com/vshymanskyy/blynk-library-python","last_synced_at":"2025-04-05T18:09:41.897Z","repository":{"id":21821042,"uuid":"85767710","full_name":"vshymanskyy/blynk-library-python","owner":"vshymanskyy","description":"Blynk library for Python. Works with Python 2, Python 3, MicroPython.","archived":false,"fork":false,"pushed_at":"2024-06-17T01:18:01.000Z","size":87,"stargazers_count":288,"open_issues_count":26,"forks_count":99,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-29T17:09:43.195Z","etag":null,"topics":["blynk","internet-of-things","iot","raspberry-pi","smartphone","smartphone-interaction"],"latest_commit_sha":null,"homepage":"https://blynk.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vshymanskyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-22T00:32:39.000Z","updated_at":"2025-03-19T19:42:42.000Z","dependencies_parsed_at":"2024-01-16T22:17:49.950Z","dependency_job_id":"894aac68-d66f-497c-abc3-9403a34505fe","html_url":"https://github.com/vshymanskyy/blynk-library-python","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshymanskyy%2Fblynk-library-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshymanskyy%2Fblynk-library-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshymanskyy%2Fblynk-library-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshymanskyy%2Fblynk-library-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vshymanskyy","download_url":"https://codeload.github.com/vshymanskyy/blynk-library-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blynk","internet-of-things","iot","raspberry-pi","smartphone","smartphone-interaction"],"created_at":"2024-08-01T16:01:14.125Z","updated_at":"2025-04-05T18:09:41.872Z","avatar_url":"https://github.com/vshymanskyy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Python client for Blynk IoT\n\n**Note:** The library has been updated for Blynk 2.0.  \nPlease remain on `v0.2.0` for legacy Blynk.\n\n[![GitHub version](https://img.shields.io/github/release/vshymanskyy/blynk-library-python.svg)](https://github.com/vshymanskyy/blynk-library-python/releases/latest)\n[![GitHub download](https://img.shields.io/github/downloads/vshymanskyy/blynk-library-python/total.svg)](https://github.com/vshymanskyy/blynk-library-python/releases/latest)\n[![GitHub stars](https://img.shields.io/github/stars/vshymanskyy/blynk-library-python.svg)](https://github.com/vshymanskyy/blynk-library-python/stargazers)\n[![GitHub issues](https://img.shields.io/github/issues/vshymanskyy/blynk-library-python.svg)](https://github.com/vshymanskyy/blynk-library-python/issues)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vshymanskyy/blynk-library-python/blob/master/LICENSE)\n\nIf you like **Blynk** - give it a star, or fork it and contribute! \n[![GitHub stars](https://img.shields.io/github/stars/blynkkk/blynk-library.svg?style=social\u0026label=Star)](https://github.com/blynkkk/blynk-library/stargazers) \n[![GitHub forks](https://img.shields.io/github/forks/blynkkk/blynk-library.svg?style=social\u0026label=Fork)](https://github.com/blynkkk/blynk-library/network)\n__________\n\n## What is Blynk?\nBlynk provides **iOS** and **Android** apps to control any hardware **over the Internet** or **directly using Bluetooth**.\nYou can easily build graphic interfaces for all your projects by simply dragging and dropping widgets, **right on your smartphone**.\nBlynk is **the most popular IoT platform** used by design studios, makers, educators, and equipment vendors all over the world.\n\n![Blynk Banner](https://github.com/blynkkk/blynkkk.github.io/blob/master/images/GithubBanner.jpg)\n\n## Download\n\n**Blynk Mobile App:\n[\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/googleplay.svg\" width=\"18\" height=\"18\" /\u003e Google Play](https://play.google.com/store/apps/details?id=cloud.blynk) | \n[\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/apple.svg\" width=\"18\" height=\"18\" /\u003e App Store](https://apps.apple.com/us/app/blynk-iot/id1559317868)**\n\n## Documentation\nSocial: [Webpage](http://www.blynk.cc) / [Facebook](http://www.fb.com/blynkapp) / [Twitter](http://twitter.com/blynk_app) / [Kickstarter](https://www.kickstarter.com/projects/167134865/blynk-build-an-app-for-your-arduino-project-in-5-m/description)  \nDocumentation: https://docs.blynk.io  \nCommunity Forum: http://community.blynk.cc  \nBlynk for Business: http://www.blynk.io\n\n## Usage example\n\n```py\nimport BlynkLib\n\n# Initialize Blynk\nblynk = BlynkLib.Blynk('YourAuthToken')\n\n# Register Virtual Pins\n@blynk.VIRTUAL_WRITE(1)\ndef my_write_handler(value):\n    print('Current V1 value: {}'.format(value))\n\n@blynk.VIRTUAL_READ(2)\ndef my_read_handler():\n    # this widget will show some time in seconds..\n    blynk.virtual_write(2, int(time.time()))\n\nwhile True:\n    blynk.run()\n```\n\n\n## Features\n- **Python 2, Python 3, MicroPython** support\n- **\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/linux.svg\" width=\"18\" height=\"18\" /\u003e Linux,\n\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/windows.svg\" width=\"18\" height=\"18\" /\u003e Windows,\n\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/apple.svg\" width=\"18\" height=\"18\" /\u003e MacOS** support\n- `virtual_write`\n- `sync_virtual`\n- `set_property`\n- `log_event`\n- events: `Vn`, `connected`, `disconnected`, `invalid_auth`\n- `TCP` and secure `TLS/SSL` connection support\n- can run on embedded hardware, like `ESP8266`, `ESP32`, `W600` or `OpenWrt`\n\n## Ubuntu/Linux/Raspberry Pi installation\n\n```sh\npip install blynk-library-python\n```\n\nFor **Blynk.Edgent Dynamic Provisioning**, please see `examples/Edgent_Linux_RPi`\n\n## ESP32/ESP8266 installation\n\n- Get the latest [MicroPython](https://micropython.org/download) firmware and flash it to your board  \n- Edit [ESP8266_ESP32.py](examples/hardware/ESP8266_ESP32.py) example (put your `auth token` and wifi credentials)\n- Use `ampy` or any other method to transfer files to the device  \n    ```sh\n    export AMPY_PORT=/dev/ttyUSB0\n    ampy mkdir /lib\n    ampy put BlynkLib.py /lib/BlynkLib.py\n    ampy put ./examples/hardware/ESP8266_ESP32.py main.py\n    ```\n  **Note:** LoBo firmware stores files uder `/flash` directory, use `ampy mkdir /flash/lib` and so on\n- Open device terminal and reboot the board (or type `execfile('main.py')`)\n- For ESP8266, you may need to disable secure connection using:\n    ```py\n    blynk = BlynkLib.Blynk('YourAuthToken', insecure=True)\n    ```\n\n## PyCom installation\n- This should work with WiPy 1.0, 2.0, 3.0, LoPy, SiPy, GPy, FiPy\n- Instructions are the same as for ESP32, just use [PyCom_WiPy.py](examples/hardware/PyCom_WiPy.py) example\n\n__________\n\n### Implementations for other platforms\n* [Arduino](https://github.com/blynkkk/blynk-library)\n* [Particle](https://github.com/vshymanskyy/blynk-library-spark)\n* [Lua, OpenWrt, NodeMCU](https://github.com/vshymanskyy/blynk-library-lua)\n* [Node.js, Espruino, Browsers](https://github.com/vshymanskyy/blynk-library-js)\n* [OpenWrt packages](https://github.com/vshymanskyy/blynk-library-openwrt)\n* [MBED](https://developer.mbed.org/users/vshymanskyy/code/Blynk/)\n* [Node-RED for Blynk IoT](https://flows.nodered.org/node/node-red-contrib-blynk-iot)\n* [LabVIEW](https://github.com/juncaofish/NI-LabVIEWInterfaceforBlynk)\n* [C#](https://github.com/sverrefroy/BlynkLibrary)\n\n### License\nThis project is released under The MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshymanskyy%2Fblynk-library-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvshymanskyy%2Fblynk-library-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshymanskyy%2Fblynk-library-python/lists"}