{"id":16165177,"url":"https://github.com/alexzaitsev/ampyw","last_synced_at":"2025-08-10T03:40:04.636Z","repository":{"id":90340969,"uuid":"115721383","full_name":"alexzaitsev/ampyw","owner":"alexzaitsev","description":"Tiny and convenient wrapper for ampy","archived":false,"fork":false,"pushed_at":"2018-01-04T12:59:30.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:55:40.713Z","etag":null,"topics":["esp8266","micropython"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexzaitsev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-29T12:38:44.000Z","updated_at":"2019-07-17T02:10:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f83c08e-bf2a-46c1-bdf8-778a50222c27","html_url":"https://github.com/alexzaitsev/ampyw","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/alexzaitsev%2Fampyw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzaitsev%2Fampyw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzaitsev%2Fampyw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexzaitsev%2Fampyw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexzaitsev","download_url":"https://codeload.github.com/alexzaitsev/ampyw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244325078,"owners_count":20435033,"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":["esp8266","micropython"],"created_at":"2024-10-10T02:49:26.128Z","updated_at":"2025-03-18T23:30:38.213Z","avatar_url":"https://github.com/alexzaitsev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ampy wrapper\nThe main goal is to make the process of work with [ampy](https://github.com/adafruit/ampy) even simpler and more convenient.  \nAmpyw can do only 2 things:\n1. To put all your python files on the board with a single command (-f argument).\n2. To pass commands to ampy (you don't need to point a port in every command) (no arguments).\n## Prerequisites\nIn order to let ampyw define your port automatically, you should edit the first script's line:\n```\nport=\"/dev/$(ls /dev | grep cu.wchusbserial)\" # should be changed for non-MacOS\n```\nWhat goes on here? In MacOS a board is always binded to `/dev/cu.wchusbserialxxxx` where `xxxx` can very. `ls /dev` shows all entries upon `/dev` folder, `grep cu.wchusbserial` filters them by `cu.wchusbserial` string and finally received device name is attached to `/dev/`. That's how it 'knows' your port.  \nIf you use MacOS and [this](https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver) driver you should be ok.  \n\n**Then place the script into the folder with your code!**  \nAnd make it executable `chmod +x ampyw`  \n## Usage\n```\n./ampyw.sh -f\n```\n```\n./ampyw.sh rm main.py\n```\n```\n./ampyw.sh ls\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexzaitsev%2Fampyw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexzaitsev%2Fampyw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexzaitsev%2Fampyw/lists"}