February meeting
Date: Monday, February 12th @ 7pm
Princeton Python Monthly: Feb 2024
Happy February!
Our next meeting is a week from Monday!
As usual we will start with a beginner-friendly code opener, then everyone's introductions/updates;
and finally Mike's link review, Python news and the usual mix of the latest tools, testing, and tutorials at https://www.princetonpy.org/next-meeting/.
And as always, your questions/ideas/doings are welcome--so join us! Let's share what we've been doing lately.
But first, check out AI Study Group this Sunday!
Rick says: We'll review spatial computing, locally hosting LLMs, and a demo of using crewAI for project maintenance and upkeep. Also, do some planning for spring projects. I want to check back in with OpenCV next month.
Note our unchanging meeting url--use the Jitsi meeting link on our home page.
events:
sun04feb 2p AI Study Group [first sundays]
mon12feb 7p princetonpy meeting [second mondays]
links:
February links: https://www.princetonpy.org/next-meeting/
AI Study Group: https://fubarlabs.org/schedule/
OpenCV: https://opencv.org/
Links:
- Add mapping methods to types.SimpleNamespace
- I found myself wondering if you could add item access to SimpleNamespace (monkeypatch?), and found that Ray Hettinger already raised this idea
- example:
>>> ns = SimpleNamespace(hello="foo", world="bar")
>>> ns["hello"] == ns.hello
True - As RHettinger says, this would be fantastic with object_hook in the json module loads method, since you'd be able to do nested attribute access on the serialized json obj (SimpleNamespace) with stdlib, a nice "battery" to have in the stdlib, so to speak
- discussion moved to: [Python-Dev] Improvement to SimpleNamespace
- Solving the Dining Philosophers Problem with systemd
- Using Python & Poetry inside Docker
- Bakery algorithm
- direnv
- unclutter your .profile: checks for .envrc, runs it in a *bash* subshell which captures exported variables and loads them into the current shell
- itertools.pairwise
- I recall this may have been covered in discussion of the Python 3.10 release. Well I finally used it...perhaps a good candidate for a novice nugget?
- Subtests in Python
- ast-grep
- I will never restart! Automatic hot reloading in CPython(Raphael Gaschignard)