#python #geochemistry #pyrolite #opensource
If anyone is installing Pyrolite (the excellent python-based geochemical data tool), it currently doesn't install with Python 3.13 and above due to a MatPlotLib compatibility issue. If you're using a managed virtual environment (such as uv), it installs fine with Python 3.12:
% uv init --python 3.12.13
% uv add pyrolite
If you're hosting a workshop and considering hosting JupyterHub to allow people to get hands on with code without the hassle+time sink of self-installation, I've put together a guide covering a self-hosted way to do this: https://fluids.rocks/posts/tljh/
I held a workshop for #pyrolite back in 2024 and tried doing this with a VPS but had a bunch of trouble getting a beefy node for the 40 odd people without having some history with the major cloud players (one even banned and deleted my account for 'suspicious activity' without explanation). Have been frustrated since, so glad to be able to demonstrate an alternative for where you do have some hardware lying around.
Wrapping up last minute prep for #SGTSG2024 - including rebuilding the JupyterHub server on provider number four thanks to recurrrent issues and limitations. Writing it off as 'L&D for deploying cloud VMs'. 😩
For those not at the conference or visiting from the future, you can find the material to peruse at your leisure on GitHub https://github.com/morganjwilliams/202411-sgtsg-pyrolite-workshop #pyrolite #Python #geochemistry
Coming back into conference season, I have a talk at #Goldschmidt tomorrow afternoon AU-time (morning EU-time, for those in Lyon): "Developing reusable tools for geochemical data in Python: the pyrolite roadmap"
https://conf.goldschmidt.info/goldschmidt/2023/goldschmidt/2023/meetingapp.cgi/Paper/17461
Wrapped up the longest pyrolite workshop we've done yet on Sunday, with a five hour introduction to the world of Python as it pertains to #geochemistry.
We covered some #Python basics, key features of #pyrolite, and some useful adjacent libraries for spatial data and ML. For anyone interested, you can find the workshop materials on GitHub (https://github.com/morganjwilliams/202111-SGGMP-pyrolite-workshop), and boot up directly into the notebooks thanks to the #Binder team (https://mybinder.org).
I added a few little infrastructure things to help make these easier in the future - testing notebook content and automatically triggering environment image builds.
While I get back to work, the #SGGMP conference continues down south in Yallingup.