python
135 posts — page 3
-
Python for HPC
Python is often the first choice for prototyping research ideas, but scaling that prototype to thousands of cores and multi‑node workflows needs a different toolkit.
-
How to use GitHub Copilot for scientific computing
GitHub Copilot is rapidly transforming the landscape of scientific computing by streamlining code development and accelerating research workflows. This guide outlines how computational scientists can leverage Copilot, with a focus on professional and research-oriented use cases.
-
Python and AI coding summer camp in person in San Diego
I'm excited to announce that I'll be teaching a brand new Python and AI Coding Summer Camp in person in San Diego, hosted at the Italian School of San Diego (Kearny Mesa)!
-
PySM 3.4.1 Released
PySM version 3.4.1 is now available. It can be downloaded from PyPI. The release notes detail new features and improvements.
-
healpy 1.18.1 released
Just released healpy 1.18.1, this version includes important bug fixes, please test and open issues at Major improvements in this release:
-
New paper on arXiv about models of Galactic emission in the microwaves for CMB experiments
A new paper has been published on Arxiv discussing models of Galactic emission in the microwaves for Cosmic Microwave Background (CMB) experiments:
-
Deploy an LLM ChatGPT-like service on Jetstream
In this tutorial we will deploy a LLM Chat-GPT like service on a GPU node on Jetstream. However the same instructions can be used to deploy any other model available on the Hugging Face model hub.
-
Tutorial on Python for HPC at the SDSC Summer Institute 2024
Each August the San Diego Supercomputer Center organizes a week-long summer school that teaches a large number of topics related to Supercomputing and AI to early career scientists.
-
Run (part of) healpy in the browser with pyodide
Thanks to the help of @VeerioSDSC and Rick Wagner, I have been able to run part of healpy in the browser. For now only tested reading FITS maps and plotting with projview.
-
Conditional authentication on a single endpoint with FastAPI
Building on my previous tutorial, I have now implemented a toy FastAPI application which requires authentication based on query parameters.
-
Deploy a web server with automatic HTTPS for static website and Django app on Jestream 2
As part of my work to support the Jetstream 2 Openstack deployment at Indiana University, I have developed a tutorial that explains how to create a Virtual Machine that deploys the Caddy web server.
-
Authenticate FastAPI endpoints with a GitHub organization
FastAPI is a framework that simplifies building APIs in Python. Authentication via Google, Github and many more is provided by FastAPI-SSO.
-
Jupyter Notebook frontmatter for Quarto to download source notebook
Quarto is one of the best platforms to create statically generated blogs with Markdown and Jupyter Notebooks. I switched zonca.dev to Quarto back in 2022.
-
2024-05-28-ai-code-assistant-jupyter-nersc
If you are used to Github Copilot on VS Code or on Google Colaboratory as I am, coding without an AI assistant is so slow!
-
Interactive 3D plot of a Planck map with Matplotlib
This is an update of my older tutorial Unfortunately I was not able to make Mayavi properly plot the data, rerunning the same code would give a map that looked like uniform noise.