adafruit-circuitpython-week.../2024/2024-08-05.md
2024-08-05 15:45:55 -04:00

17 KiB
Raw Permalink Blame History

CircuitPython Weekly Meeting for August 5, 2024

Video is available on YouTube.

Join here for the chat all week: http://adafru.it/discord.

The CircuitPython Weekly Meeting normally is held at 2pm US ET/11am PT on Mondays. Check the #circuitpython channel on Discord for notices of change in time and links to past meetings. Meeting times are also available in iCal format for use with standard calendar applications and can also be viewed in your browser.

If you want to be able to participate in the meeting by speaking, you will need to be added to the @circuitpythonistas role on Discord. Please ask any of the moderators or admins to add you if youd like to join.

CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from https://adafruit.com.

Reminders: Podcast available on most services. Let us know if were missing some. The canonical URL for the podcast version is https://adafruit-podcasts.s3.amazonaws.com/circuitpython_weekly_meeting/audio-podcast.xml which you may be able to enter directly into compatible podcast apps.

2:14 Community News

CircuitPython Day 2024 is August 16th

Its that time of year! Adafruit has determined that August 16, 2024 is the snakiest day of the year and designated it CircuitPython Day! Adafruit will have special shows and more! Are you working with CircuitPython? Tag your projects #CircuitPythonDay2024 on social media and Adafruit will look to highlight them. Do you have events youd like folks to attend or have projects in the works? Also tag your events #CircuitPythonDay2024. Stay tuned for additional details - Adafruit Blog.

4:10 HackSpace Magazine Says Farewell

HackSpace Magazine, Issue 81 just released, will be the last as the publication is folded into The MagPi Magazine. HackSpace featured a good amount of MicroPython/CircuitPython/Python content. Added pages to The MagPi will feature HackSpace content - Raspberry Pi News.

4:45 This is the Two Hundred Ninety Ninth Newsletter

Next week will be the 300th issue of the Python on Microcontrollers newsletter, on the heels of CircuitPython Day 2024. Thanks to all our subscribers in advance for your loyalty! If you have any special content you'd like considered for the special issue, please send links to cpnews(at)adafruit(dot)com - Adafruit Daily.

5:20 Newsletter Details

The Python on Microcontrollers Weekly Newsletter is a CircuitPython-community-run newsletter emailed every Monday. The complete archives are here. It highlights the latest Python on hardware related news from around the web including CircuitPython, Python and MicroPython developments. To contribute your own news or project, edit next week's draft on GitHub and submit a pull request with the changes. You may also or email cpnews@adafruit.com, or tag a post with #CircuitPython on Mastodon, Bluesky, or X (formerly known as Twitter),.

5:40 State of CircuitPython, Libraries and Blinka

This report contains information from the previous seven days. Any changes (PRs merged, etc.) made today are not included in this report.

Overall

  • 15 pull requests merged
    • 9 authors - simonldwg, weblate, grandinquisitor, deshipu, rpavlik, ch4nsuk3, FoamyGuy, BlitzCityDIY, justmobilize
    • 3 reviewers - makermelissa, FoamyGuy, tannewt
  • 6 closed issues by 3 people, 11 opened by 10 people

6:35 Core

8:15 Libraries

Library PyPI Weekly Download Stats

  • Total Library Stats
    • 166667 PyPI downloads over 331 libraries
  • Top 10 Libraries by PyPI Downloads
    • Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 11956
    • Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 11091
    • Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 9850
    • Adafruit CircuitPython Register (adafruit-circuitpython-register): 2528
    • Adafruit CircuitPython ADS1x15 (adafruit-circuitpython-ads1x15): 2133
    • Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 1642
    • Adafruit CircuitPython Wiznet5k (adafruit-circuitpython-wiznet5k): 1500
    • Adafruit CircuitPython DHT (adafruit-circuitpython-dht): 1363
    • Adafruit CircuitPython ESP32SPI (adafruit-circuitpython-esp32spi): 1290
    • Adafruit CircuitPython Pixelbuf (adafruit-circuitpython-pixelbuf): 1283

Library updates in the last seven days:

12:00 Blinka

12:45 Hug reports

13:15 @danh (hosting)

  • Thanks to translators who are keeping up with message changes.
  • @deshipu for graphics improvements

13:55 @anne

  • Thanks for everyone participating in CircuitPython Day
  • Thanks to all who contribute to the Python on Microcontrollers newsletter (www.adafruitdaily.com)

16:45 @CGrover (text only)

  • @foamyguy, @ch4nsuk3, and @deshipu for working on and improving .png imageload. Looking forward to a better life, graphically speaking.

17:00 @deshipu (text only)

  • @foamyguy for inspiring me to work on the imageload library and reviewing my patches
  • @Ch4nsuk3 for imageload improvements and inspiration as well

17:21 @DJDevon3 (text only)

  • @JerryN for their initial commit on combining both RFM 95 & RFM 69 libraries into a single library and having it become an official Adafruit library. Adafruit_CircuitPython_RFM
  • @Ch4nsuk3 & @Deshipu for steamrolling through full PNG support this week.🎉 Its been a long time coming for transparency and true color PNG.
  • @FoamyGuy for livestreaming PR reviews for imageload JPG & PNG on both Friday & Saturday.
  • @Squid.jpg for a phenomenal secret lunchbox puzzle playground note.
  • @Todbot for a cool Youtube video on investigating audio pops in circuit python on an oscilloscope.
  • @MakerMelissa for continually improving the online Circuit Python Code Editor.
  • @Scott & @DanH for all the work on BLE, ESP32-S3, and MicroPython merges.
  • @Jepler for sharing the wonderful safari vacation pictures, hope youre enjoying it out there. Please watch out for lions!
  • @Group Hug

18:43 @foamyguy

  • @ch4nsuk3 and @deshipu for improvements to PNG handling inside of ImageLoad
  • @PaulCutler for introducing me to BeeWare project and pointer to a recorded talk that illustrates its usage with Django
  • @Tyeth and @deshipu for introducing me to PyScript which was new to me but looks super cool
  • @Anne and @Liz for coordinating circuitpython day
  • Group hug

19:30 @jerryn

  • Group hug

19:39 @MakerMelissa

  • Thanks to @Dan and @JWCooper for helping with setting up the Beta Code Editor Site
  • Group Hug

19:55 @Paul Cutler

  • @foamyguy for some really good streams Friday & Saturday
  • @Anne for some help with the Python on Hardware newsletter as my fork is messed up and I couldnt submit a PR
  • Group hug

20:28 @tannewt

  • @deshipu for digging into image loading code.
  • @EternityForest for digging into lower power on ESP.
  • @EGJ Moorington for guide feedback on the circuitpython library learn guide.

20:52 @todbot (text only not present)

  • @prcutler for all his work on making The Bootloader podcast happen
  • @Gallaugher for his great tutorial videos on CircuitPython
  • @HeathenUK for work on a VGM player for CircuitPython, could be great way to easily add music for games and such
  • @timchinowsky, @jepler for exploring I2S audio in and opening up possibility of real-time audio filtering, which is very exciting to me

21:30 Status Updates

22:00 @danh (hosting)

  • On vacation last week.
  • Working on MicroPython v1.22 merge. Need to fix several test failures. Light testing of builds is looking good.

22:43 @anne

  • Im working with Liz on scheduling folks for CircuitPython Day
  • Please use hashtag #CircuitPythonDay2024 for any social media on participation, even projects or discussions.
  • This coming Python on Microcontrollers Newsletter is #300!!

24:50 @DJDevon3 (text only)

  • Due to recent updates for soft_keyboard and imageload Ive been updating some of my touchscreen GUIs with the new features. The ability to use a wider variety of image formats while interacting with online APIs is much easier now.
  • Working on new adafruit_requests API examples for basic image downloads with multiple image formats.
  • Have family visiting this week that I havent seen in a decade along with one tiny new family member. Im now a great Uncle, time flies.

25:30 @deshipu (text only)

  • did some old todos around displayio and images
  • I will try working on some sound effects next

25:45 @foamyguy

  • Started merging the previously created PRs from a handful of libraries that switched to ruff after updating them to have the version of configuration that we settled on.
  • Build a quick / minimal PoC of a web app that converts cookiecutter from a CLI into a web page based form. Live Demo Page and Source Code
  • Tested and reviewed a few PRs for the ImageLoad library that added easier support for PNG with transparency, and support for RGB and Grayscale PNGs.
  • Tested a fix in Blinka_DisplayIO for making it compatible with sleep functionality found on some OLED displays
  • Brainstorming ideas for a game to work on for Circuitpython Day Game Jam stream. Built a quick PoC of a breakout style game and dreamed up several ideas to add to it. Still considering a few other options as well.

27:02 @jerryn

  • Finally submitted a PR with the initial commit for a library that combines the RFM69 and RFM9x support. https://github.com/adafruit/Adafruit_CircuitPython_RFM/pull/1 The biggest changes are the usage of asyncio and the addition of FSK/OOK modulation to the RFM9x. RFM69 and RFM9x boards can communicate with each using FSK or OOK modulation. It would be good if someone could take a look at the asyncio implementation and let me know it looks reasonable.

28:55 @makermelissa

  • We have a CircuitPython Code Editor beta website at code-beta.circuitpython.org that has the latest features. If anybody would like to be a beta tester and try out the site, that would be awesome. If you find any issues, just open up a GitHub issue.
  • On that site, Ive:
    • Worked on improving the reliability of the USB Workflow
    • Added features to allow performing multiple file operations at the same time such as file selection, deleting, downloading, and moving.
    • Displaying additional information about the board in all of the workflows
  • Finishing up some other minor improvements today
  • Working on prepping to film video for CP day.

30:15 @Paul Cutler (text only)

  • New episode of The Bootloader podcast with todbot is out today. Todbot and I will be doing a live episode for CircuitPython Day, details coming soon.

30:33 @tannewt

  • Fixed the passcode based encryption for CircuitMatter. So I can now decode the first “secure channel” message.
  • Next is plumbing in the next “interaction model” layer which may be the layer user code works on.
  • Deep Dive on Friday!

31:45 In The Weeds

32:10 @foamyguy - Interest in web based Cookiecutter utility?

Pros:

  • Remove need for end users to install cookiecutter and its requirements
  • Web form is quicker and easier for first time library contributors
  • Available for, and will work the same from any OS by accessing from the browser. In the past cookiecutter or one of its requirements had differing behavior on Windows. Its no longer the case, but having this centralized into a server or other web based utility should prevent any future differences

Cons:

  • Requires some infrastructure. Currently its built as a Django app running inside a linux VPS which would need some level of on-going maintenance and updating in order to remain functional and secure.

50:44 @todbot (text only not present)

  • Is there a command-line tool for interacting with the filesystem via the Web Workflow? circup will do this for libraries, but I dont think for arbitrary files. Im thinking something like mpremote Real-time followup from @danh: Yes, it is being worked on by @foamyguy and is called “wwshell”. Thx @foamyguy!

Current version is available on the branch on this PR: https://github.com/adafruit/circup/pull/223

51:40 Wrap-Up

Next weeks meeting is Monday, August 12, 2024, at the regular time of 2pm US ET / 11 am US PT