Date: Sun, 02 Oct 2022 22:15:00 -0400
<div class="wp-block-jetpack-markdown"><h2>Summary</h2> <p>Working on hardware projects often has significant friction involved when compared to pure software. Brian Pugh enjoys tinkering with microcontrollers, but his "weekend projects" often took longer than a weekend to complete, so he created Belay. In this episode he explains how Belay simplifies the interactions involved in developing for MicroPython boards and how you can use it to speed up your own experimentation.</p> <h2>Announcements</h2> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great!</li> <li>When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With their managed Kubernetes platform it’s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. And now you can launch a managed MySQL, Postgres, or Mongo database cluster in minutes to keep your critical data safe with automated backups and failover. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&utm_medium=rss">pythonpodcast.com/linode</a> and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!</li> <li>The biggest challenge with modern data systems is understanding what data you have, where it is located, and who is using it. Select Star’s data discovery platform solves that out of the box, with a fully automated catalog that includes lineage from where the data originated, all the way to which dashboards rely on it and who is viewing them every day. Just connect it to your dbt, Snowflake, Tableau, Looker, or whatever you’re using and Select Star will set everything up in just a few hours. Go to <a href="https://www.pythonpodcast.com/selectstar?utm_source=rss&utm_medium=rss">pythonpodcast.com/selectstar</a> today to double the length of your free trial and get a swag package when you convert to a paid plan.</li> <li>Your host as usual is Tobias Macey and today I’m interviewing Brian Pugh about Belay, a python library that enables the rapid development of projects that interact with hardware via a micropython-compatible board.</li> </ul> <h2>Interview</h2> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you describe what Belay is and the story behind it?</li> <li>Who are the target users for Belay?</li> <li>What are some of the points of friction involved in developing for hardware projects? <ul> <li>What are some of the features of Belay that make that a smoother process?</li> </ul> </li> <li>What are some of the ways that simplifying the develop/debug cycles can improve the overall experience of developing for hardware platforms? <ul> <li>What are some of the inherent limitations of constrained hardware that Belay is unable to paper over?</li> </ul> </li> <li>Can you describe how Belay is implemented?</li> <li>What does the workflow look like when using Belay as compared to using MicroPython directly?</li> <li>What are some of the ways that you are using Belay in your own projects?</li> <li>What are the most interesting, innovative, or unexpected ways that you have seen Belay used?</li> <li>What are the most interesting, unexpected, or challenging lessons that you have learned while working on Belay?</li> <li>When is Belay the wrong choice?</li> <li>What do you have planned for the future of Belay?</li> </ul> <h2>Keep In Touch</h2> <ul> <li><a href="https://github.com/BrianPugh?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">BrianPugh</a> on GitHub</li> <li><a href="https://www.linkedin.com/in/briannpugh/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> </ul> <h2>Picks</h2> <ul> <li>Tobias <ul> <li><a href="https://gunnar.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Gunnar Computer Glasses</a></li> </ul> </li> </ul> <h2>Closing Announcements</h2> <ul> <li>Thank you for listening! Don’t forget to check out our other shows. The <a href="https://www.dataengineeringpodcast.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast</a> covers the latest on modern data management. The <a href="https://www.themachinelearningpodcast.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Machine Learning Podcast</a> helps you go from idea to production with machine learning.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you’ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&uo=6&at=&ct=&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> </ul> <h2>Links</h2> <ul> <li><a href="https://github.com/brianpugh/belay?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Belay</a></li> <li><a href="https://www.geomagical.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Geomagical</a></li> <li><a href="https://en.wikipedia.org/wiki/PIC_microcontrollers?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">PIC Microcontroller</a></li> <li><a href="https://en.wikipedia.org/wiki/AVR_microcontrollers?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">AVR Microcontroller</a></li> <li><a href="https://www.mathworks.com/products/matlab.html?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Matlab</a></li> <li><a href="https://micropython.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">MicroPython</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-15-damien-george-talks-to-us-about-micropython/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://circuitpython.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CircuitPython</a> <ul> <li><a href="https://www.pythonpodcast.com/circuitpython-hardware-hacking-episode-212/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://docs.celeryq.dev/en/stable/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Celery</a></li> <li><a href="https://en.wikipedia.org/wiki/Potentiometer?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Potentiometer</a></li> <li><a href="https://www.raspberrypi.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Raspberry Pi</a></li> <li><a href="https://www.raspberrypi.com/products/raspberry-pi-pico/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Raspberry Pi Pico</a></li> <li><a href="https://en.wikipedia.org/wiki/Analog-to-digital_converter?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">ADC Converter</a></li> <li><a href="https://thonny.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Thonny</a> <ul> <li><a href="https://www.pythonpodcast.com/thonny-with-aivar-annamaa-episode-153/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://www.adafruit.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Adafruit</a></li> <li><a href="https://store.micropython.org/category/pyboards?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Pyboard</a></li> <li><a href="https://docs.python.org/3/library/inspect.html?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Python Inspect Module</a></li> <li><a href="https://docs.python.org/3/library/tokenize.html?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Python Tokenize</a></li> <li><a href="https://github.com/BrianPugh/magnetometer?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Magnetometer Project</a></li> <li><a href="https://en.wikipedia.org/wiki/Lidar?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Lidar</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&rec=1&url=https%3A%2F%2Fwww.pythonpodcast.com%2Fbelay-micropython-hardware-helper-episode-379%2F&action_name=Complete+Your+Hardware+%22Weekend+Projects%22+In+An+Actual+Weekend+With+Belay+-+Episode+379&urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&utm_source=rss&utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />