From andrewkubera at gmail.com Wed Feb 3 17:41:00 2021 From: andrewkubera at gmail.com (Andrew Kubera) Date: Wed, 3 Feb 2021 17:41:00 -0500 Subject: [CentralOH] Watchy: An Open Hardware Smart Watch Message-ID: Those of you who have been going to the dojos for the past few months have probably seen me messing around with my ESP32 board as I learn MicroPython ; I have to say, it's been pretty fun. I recently came across the project Watchy, on the eletronics-crowdfunding site crowdsupply (https://www.crowdsupply.com/sqfmi/watchy ). It pairs an e-ink display, ESP32, and battery in a wristwatch form for about $50. It's projected to be released at the start of the summer (so that probably means next winter?). They're keeping all designs and source code open (https://github.com/sqfmi/Watchy ). Software written in C++ not MicroPython, but I'm sure with enough creativity, this is correctable ;-). I'm in for one, and thought some of you might also be interested in a hackable smart-watch where you can control your data (and every other feature). It'd be fun to hack on these together at meetings. - Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From joskra42.list at gmail.com Wed Feb 3 18:28:05 2021 From: joskra42.list at gmail.com (Joshua Kramer) Date: Wed, 3 Feb 2021 18:28:05 -0500 Subject: [CentralOH] Watchy: An Open Hardware Smart Watch In-Reply-To: References: Message-ID: There are a number of watches like that, though I'm not sure how many of them run MicroPython. I have this one: https://www.banggood.com/LILYGO-TTGO-T-Watch-2020-ESP32-Main-Chip-1_54-Inch-Touch-Display-Programmable-Wearable-Environmental-Interaction-Watch-p-1671427.html?rmmds=myorder&cur_warehouse=USA On Wed, Feb 3, 2021 at 5:41 PM Andrew Kubera wrote: > > Those of you who have been going to the dojos for the past few months have probably seen me messing > around with my ESP32 board as I learn MicroPython; I have to say, it's been pretty fun. > > I recently came across the project Watchy, on the eletronics-crowdfunding site crowdsupply (https://www.crowdsupply.com/sqfmi/watchy). > It pairs an e-ink display, ESP32, and battery in a wristwatch form for about $50. > It's projected to be released at the start of the summer (so that probably means next winter?). > > They're keeping all designs and source code open (https://github.com/sqfmi/Watchy). > Software written in C++ not MicroPython, but I'm sure with enough creativity, this is correctable ;-). > > I'm in for one, and thought some of you might also be interested in a hackable smart-watch where you can > control your data (and every other feature). It'd be fun to hack on these together at meetings. > > - Andrew > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From andrewkubera at gmail.com Wed Feb 3 20:40:50 2021 From: andrewkubera at gmail.com (Andrew Kubera) Date: Wed, 3 Feb 2021 20:40:50 -0500 Subject: [CentralOH] Watchy: An Open Hardware Smart Watch In-Reply-To: References: Message-ID: <1646c00d-cb72-1161-8b27-1792e49bcb2a@gmail.com> Ohh, and that has a touch screen & speaker. You like it? Have you done anything with it? What's the battery life? On 2/3/21 6:28 PM, Joshua Kramer wrote: > There are a number of watches like that, though I'm not sure how many > of them run MicroPython. I have this one: > https://www.banggood.com/LILYGO-TTGO-T-Watch-2020-ESP32-Main-Chip-1_54-Inch-Touch-Display-Programmable-Wearable-Environmental-Interaction-Watch-p-1671427.html?rmmds=myorder&cur_warehouse=USA > > On Wed, Feb 3, 2021 at 5:41 PM Andrew Kubera wrote: >> Those of you who have been going to the dojos for the past few months have probably seen me messing >> around with my ESP32 board as I learn MicroPython; I have to say, it's been pretty fun. >> >> I recently came across the project Watchy, on the eletronics-crowdfunding site crowdsupply (https://www.crowdsupply.com/sqfmi/watchy). >> It pairs an e-ink display, ESP32, and battery in a wristwatch form for about $50. >> It's projected to be released at the start of the summer (so that probably means next winter?). >> >> They're keeping all designs and source code open (https://github.com/sqfmi/Watchy). >> Software written in C++ not MicroPython, but I'm sure with enough creativity, this is correctable ;-). >> >> I'm in for one, and thought some of you might also be interested in a hackable smart-watch where you can >> control your data (and every other feature). It'd be fun to hack on these together at meetings. >> >> - Andrew >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From joskra42.list at gmail.com Wed Feb 3 21:47:17 2021 From: joskra42.list at gmail.com (Joshua Kramer) Date: Wed, 3 Feb 2021 21:47:17 -0500 Subject: [CentralOH] Watchy: An Open Hardware Smart Watch In-Reply-To: <1646c00d-cb72-1161-8b27-1792e49bcb2a@gmail.com> References: <1646c00d-cb72-1161-8b27-1792e49bcb2a@gmail.com> Message-ID: So the hardware itself seems pretty refined- this is the second version of this watch. (The first version had external I/O ports and was stackable, but was not as attractive.) The software, not so much, Battery life is measured in hours- I think I was able to get 12 hours out of it- but it's been a while since I've tinkered with it. Here is the most popular firmware for it- very easy to build & upload using Visual Studio Code & platformio. https://github.com/sharandac/My-TTGO-Watch On Wed, Feb 3, 2021 at 8:41 PM Andrew Kubera wrote: > > Ohh, and that has a touch screen & speaker. You like it? Have you done > anything with it? What's the battery life? > > > On 2/3/21 6:28 PM, Joshua Kramer wrote: > > There are a number of watches like that, though I'm not sure how many > > of them run MicroPython. I have this one: > > https://www.banggood.com/LILYGO-TTGO-T-Watch-2020-ESP32-Main-Chip-1_54-Inch-Touch-Display-Programmable-Wearable-Environmental-Interaction-Watch-p-1671427.html?rmmds=myorder&cur_warehouse=USA > > > > On Wed, Feb 3, 2021 at 5:41 PM Andrew Kubera wrote: > >> Those of you who have been going to the dojos for the past few months have probably seen me messing > >> around with my ESP32 board as I learn MicroPython; I have to say, it's been pretty fun. > >> > >> I recently came across the project Watchy, on the eletronics-crowdfunding site crowdsupply (https://www.crowdsupply.com/sqfmi/watchy). > >> It pairs an e-ink display, ESP32, and battery in a wristwatch form for about $50. > >> It's projected to be released at the start of the summer (so that probably means next winter?). > >> > >> They're keeping all designs and source code open (https://github.com/sqfmi/Watchy). > >> Software written in C++ not MicroPython, but I'm sure with enough creativity, this is correctable ;-). > >> > >> I'm in for one, and thought some of you might also be interested in a hackable smart-watch where you can > >> control your data (and every other feature). It'd be fun to hack on these together at meetings. > >> > >> - Andrew > >> _______________________________________________ > >> CentralOH mailing list > >> CentralOH at python.org > >> https://mail.python.org/mailman/listinfo/centraloh > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From deeppunster at fastmail.com Mon Feb 15 22:23:09 2021 From: deeppunster at fastmail.com (Travis Risner) Date: Mon, 15 Feb 2021 22:23:09 -0500 Subject: [CentralOH] Fwd: Book Promo: Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner In-Reply-To: <1992198606.198427.1613440092227.JavaMail.coderanch@saloon.ejip.net> References: <1992198606.198427.1613440092227.JavaMail.coderanch@saloon.ejip.net> Message-ID: Hi Pythonistas, If you are looking for a book on algorithms in Python, here is a chance to win a free copy. If you decide you like the book, you will need to sign up at Java Ranch (javaranch.com) and ask a question. The best question(s) get a free eBook. Java Ranch originally started out as a place for Java programmers to get together and help each other out. It has evolved to help programmers of many languages. In addition to the web site, it has a low volume mailing list (2 - 5 emails/mo.). Occasionally yours truly pops on and responds to some of the questions asked. Travis -------- Forwarded Message -------- Subject: Book Promo: Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner Date: Mon, 15 Feb 2021 18:48:12 -0700 (MST) From: Java Ranch Moose To: deeppunster at fastmail.com We are thrilled to have Bradford Tuckfield on the ranch to promote the book "Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner". The promotion will be held in the Python forum which can be found here: https://coderanch.com/f/112/Jython-Python Participate in this week's giveaway by asking Bradford Tuckfield a question or two and you may win a copy of the book! The giveaway starts on Tuesday, February 16th, 2021. The drawing will be held on Friday, February 19th, 2021. [snip] From catherine.devlin at gmail.com Thu Feb 25 20:19:13 2021 From: catherine.devlin at gmail.com (Catherine Devlin) Date: Thu, 25 Feb 2021 20:19:13 -0500 Subject: [CentralOH] Web API usage demo Message-ID: Hi, folks! I did a little demo at Thursday's dojo of using requests to get JSON data from a RESTful API, so here's the code: import requests BASE_URL = 'https://ghibliapi.herokuapp.com' url = f"{BASE_URL}/people" people = requests.get(url).json() for person in people: print(person['name']) for film in person['films']: film_response = requests.get(film) print(f" {film_response.json()['title']}") Of course, you'll need to `pip install requests` first... -- - Catherine http://catherinedevlin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brywilharris at gmail.com Fri Feb 26 14:38:40 2021 From: brywilharris at gmail.com (Bryan Harris) Date: Fri, 26 Feb 2021 14:38:40 -0500 Subject: [CentralOH] Web API usage demo In-Reply-To: References: Message-ID: Every single time I see some of your code, you're using some new feature of Python I've never seen before. I had to look up what the f-strings were for. Bryan Harris brywilharris at gmail.com On Thu, Feb 25, 2021 at 8:19 PM Catherine Devlin wrote: > > Hi, folks! I did a little demo at Thursday's dojo of using requests to get JSON data from a RESTful API, so here's the code: > > import requests > BASE_URL = 'https://ghibliapi.herokuapp.com' > url = f"{BASE_URL}/people" > people = requests.get(url).json() > for person in people: > print(person['name']) > for film in person['films']: > film_response = requests.get(film) > print(f" {film_response.json()['title']}") > > Of course, you'll need to `pip install requests` first... > > -- > - Catherine > http://catherinedevlin.blogspot.com > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From catherine.devlin at gmail.com Fri Feb 26 20:31:50 2021 From: catherine.devlin at gmail.com (Catherine Devlin) Date: Fri, 26 Feb 2021 20:31:50 -0500 Subject: [CentralOH] Web API usage demo In-Reply-To: References: Message-ID: Ha, glad to hear it! f-strings are for *everything*. They're really wonderful... and also a little bit terrifying. f-strings and all their evolutionary ancestors in the string templating world would be a good dojo topic, now that I think about it. On Fri, Feb 26, 2021 at 2:39 PM Bryan Harris wrote: > Every single time I see some of your code, you're using some new > feature of Python I've never seen before. I had to look up what the > f-strings were for. > > Bryan Harris > brywilharris at gmail.com > > On Thu, Feb 25, 2021 at 8:19 PM Catherine Devlin > wrote: > > > > Hi, folks! I did a little demo at Thursday's dojo of using requests to > get JSON data from a RESTful API, so here's the code: > > > > import requests > > BASE_URL = 'https://ghibliapi.herokuapp.com' > > url = f"{BASE_URL}/people" > > people = requests.get(url).json() > > for person in people: > > print(person['name']) > > for film in person['films']: > > film_response = requests.get(film) > > print(f" {film_response.json()['title']}") > > > > Of course, you'll need to `pip install requests` first... > > > > -- > > - Catherine > > http://catherinedevlin.blogspot.com > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -- - Catherine http://catherinedevlin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From catherine.devlin at gmail.com Sat Feb 27 09:52:17 2021 From: catherine.devlin at gmail.com (Catherine Devlin) Date: Sat, 27 Feb 2021 09:52:17 -0500 Subject: [CentralOH] Threading materials? Message-ID: Hi, COHPy! Can somebody convey my thanks to Jon Bennett for his great threading presentation? It helped my understanding quite a bit. I'd love to reuse it at one of Dayton PyFri events, if his code is available. If his contact info and/or materials were already posted, sorry I missed it - I didn't see it in the Gather chat or on the mailing list. Thanks! -- - Catherine http://catherinedevlin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: