On a related note, this weekend I learned that my Python library #pyparsing is being used as part of the user interface to Microsoft Guidance, a templating package for automating interactions with Large Language Models.https://pub.towardsai.net/inside-guidance-microsofts-new-open-source-framework-for-improving-the-control-in-llm-apps-3e5e4158027a #python #llms #microsoft
#pyparsing #python #llms #microsoft
I just released version 3.1.0 of #pyparsing. Compatibility with Python 3.12 and the latest version of railroad-diagrams. Many bugfixes and new features, all the details are here: https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 #python
#pyconus Now starting, Open Space to talk about the latest with #pyparsing in 250C, with as many demos as anyone cares to see.
Pyparsing open space Friday afternoon from 2-3 in 250C. Come to hear about pyparsing 3.1.0 coming out, share pyparsing learnings, issues #pyconUS #pyparsing
I just pushed release 3.1.0b1 of pyparsing. 3.1.0 will include support for python 3.12, and will be the last release to support 3.6 and 3.7. If your project uses pyparsing, *please* download this beta release (using "pip install -U pyparsing==3.1.0b1") and open any compatibility issues you might have at the pyparsing GitHub repo (https://github.com/pyparsing/pyparsing). #pyparsing #python
Aaaaaand... it's out! Pyparsing 3.1.0a1 pre-release available for testing. As easy as firing up a new virtual environment and then `pip install pyparsing==3.1.0a1`! #pyparsing #python #parsers
Not having time until now means speedrunning through #adventofcode over today and tomorrow.
Just finished 11. Used #pyparsing for the first time. It's pretty slick and reminds me of how much I love parsec (and its brethren) in #haskell
#adventofcode #pyparsing #haskell
I've been fiddling around with pyparsing for sometime now trying to parse some simple things and I have to give up. The API is a bit confusing for me and I just don't understand the railroad diagrams that it generates. #python #pyparsing
I've written a couple of #PyScript (#python in the browser) demos using #pyparsing:
a railroad diagram of a simple street address parser: http://ptmcg.com/dev/pyscript/pyparsing_railroad_diagram.html
an arithmetic expression parser/evaluator: http://ptmcg.com/dev/pyscript/pyparsing_arith_parse_eval_demo.html
(I'm not sure I have the pyscript bits exactly right, you may have to refresh and/or clear cache to get these to run cleanly.)
RT @ptmcguire
Using #pyscript to display #pyparsing generated railroad diagrams and parsed output
(Source code here: https://gist.github.com/ptmcg/09b5be0cb3623a478851100488788821)