PythonHub
2.43K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
SymPy: Solving Math Equations in Python and Jupyter

https://codesolid.com/sympy-solving-math-equations-in-python/
Bayesian Age/Period/Cohort Models in Python with PyMC

This post shows how to use pymc to build Bayesian APC models in Python and presents a series of increasingly sophistocated systems of priors to resolve the inferential challenges these models pose.

https://austinrochford.com/posts/apc-pymc.html
The Jupyter+git problem is now solved

Jupyter notebooks don’t work with git by default. With nbdev2, the Jupyter+git problem has been totally solved. It provides a set of hooks which provide clean git diffs, solve most git conflicts automatically, and ensure that any remaining conflicts can be resolved entirely within the standard Jupyter notebook environment. To

https://www.fast.ai/2022/08/25/jupyter-git/
5 Tips To Achieve Low Coupling In Your Python Code

In this video I share 5 tips to help you write code that has low coupling. I'll show you several examples and also share a story of a technique I used several times in the past that has really helped me reduce coupling and solve more complex software design problems.

https://www.youtube.com/watch?v=qR4-PBLUZNw
Building a backend from scratch using only OpenAI Codex

Developing with Codex is a bit special, and it sometimes takes a few attempts to get it to write exactly what you want it to. But in broad strokes, getting from nothing to something in just 10 prompts is really impressive and encouraging.

https://codeball.ai/blog/codex-todo-mvc
Stable Diffusion with Diffusers

In this post, we want to show how to use Stable Diffusion with the Diffusers library, explain how the model works and finally dive a bit deeper into how diffusers allows one to customize the image generation pipeline.

https://huggingface.co/blog/stable_diffusion
facebookresearch / esm

Evolutionary Scale Modeling (esm): Pretrained language models for proteins

https://github.com/facebookresearch/esm
stable-diffusion

Stable Diffusion is a latent text-to-image diffusion model. Similar to Google's Imagen, this model uses a frozen CLIP ViT-L/14 text encoder to condition the model on text prompts. With its 860M UNet and 123M text encoder, the model is relatively lightweight and runs on a GPU with at least 10GB VRAM.

https://github.com/CompVis/stable-diffusion
Accelerate Python code 100x by import taichi as ti

There is no universal solution to all optimization problems. That's partially why Python is fascinating. You can always find/create an easy-to-use tool that can precisely solve your problem at hand. In terms of scientific computing, Taichi is an ideal option within Python that can help you achieve performance comparable to C/C++.

https://docs.taichi-lang.org/blog/accelerate-python-code-100x