Michael Kocher (@ElevenPhonons) header
Michael Kocher (@ElevenPhonons) profile picture

@PacBio R&D Alumni, Former core member of Materials Project (@persson_group) at @BerkeleyLab. Material Science Ph.D. Currently enjoying Scala and Python.

San Francisco, CA
Joined June 2019
Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)Photo by Michael Kocher (@ElevenPhonons)
Kicking the tires on creating CLI tools with #ZIO and scala-cli. I really enjoy the core compositional ethos of ZIO. scala-cli is a very welcomed and promising addition to the #scala community. There's a lot of potential here. mpkocher.github.io/2022/06/0… scala-cli.virtuslab.org
2
3
18
I submitted a patch to cpython that fixes issues with the repr of Popen. The old behavior was creating friction points when grepping log files and fixes a bug when using Path with Popen. The patch is available in the upcoming 3.10 release and was backported to 3.9.6. #Python
New release of pydantic_cli with improved support for boolean fields and better output from --help. Support for List/Set add (via @__mvn__) as well as enhanced Enum handling. Great way to turn #pydantic defined data models in #Python into CLI tools. github.com/mpkocher/pydantic…
2
1
Here's a #GeoJson list of 3200+ TV/film locations in the Bay Area. There's a map view courtesy of @github and a downloadable CSV file if you're interested in exploring the data. Original data from SF Film Commission (@film_sf) utilizing @datasf github.com/mpkocher/sf-film-…
Find the Python GIL elusive? With the article, I try to shine a light on where the GIL is active in your multithreaded Python code. maartenbreddels.com/perf/jup… #Python #GIL
4
40
2
136
New release of pydantic-cli that has zsh/bash shell autocompletion support by leveraging #shtab from @DVCorg. Turn #Pydantic defined data models in #Python into CLI Tools. pip install "pydantic-cli[shtab]" to get started. github.com/mpkocher/pydantic…
1
4
Improved typing support in #pydantic-cli to enable users to proactively catch type errors in their #python commandline tools by leveraging #mypy. No more of those pesky runtime AttributeErrors from argparse's Namespace instance. github.com/mpkocher/pydantic…
Create command line tools with #python using #pydantic data models using pydantic-cli. Now supports loading values from JSON. Useful for creating terse, flexible and customizable CLI tools without the boilerplate. Leverages #argparse github.com/mpkocher/pydantic…
qpyson: a #JQ-ish thin Commandline Tool to Explore, Transform, and Munge #JSON using #Python. pip install qpyson to get started. github.com/mpkocher/qpyson#q…
1
2
Exploring TypedDict in #Python with @mypyproject TypedDict + mypy is a great model to improve amorphous dictionary-mania interfaces and improve the overall robustness of your code. mpkocher.github.io/2019/09/1…
1
Kicking the tires on Panel from @PyViz_org Really digging the iterative model of developing dashboard components directly within @ProjectJupyter notebooks. mpkocher.github.io/2019/06/2…
4
9
Created a 4 Part Series that explores Functional centric design style and patterns in #Python mpkocher.github.io/2019/03/0…
1
1