PythonHub
2.41K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Robot Dad

This is an article about a father who created a chatbot named Robot Dad to answer his son’s questions. The chatbot is able to access and process information from the real world through Google Search. Robot Dad can also be used to translate languages.

https://blog.untrod.com/2023/11/robot-dad.html
Building a small REPL in Python

In a lot of my previous interpreter/compiler projects written in Python I hand-rolled a REPL (read-eval-print-loop). It turns out that Python comes with a bunch of batteries included and this is totally unnecessary—you get a lot of goodies for free. Let’s take a look at how to use them, starting from embedding a normal Python REPL in your project.

https://bernsteinbear.com/blog/simple-python-repl/
sysaidmin

Sysaidmin is a GPT-powered sysadmin for your machine. You can ask it to solve a problem, and it will run commands on your system (with your permission) to debug what's going on.

https://github.com/skorokithakis/sysaidmin/
Spinning Up in Deep RL

An educational resource produced by OpenAI that makes it easier to learn about deep reinforcement learning (deep RL).

https://spinningup.openai.com/en/latest/
Intro to Large Language Models

Andrej Karpathy's talk on introduction to Large Language Models covering the core technical component behind systems like ChatGPT, Claude, and Bard. What they are, where they are headed, comparisons and analogies to present-day operating systems, and some of the security-related challenges of this new computing paradigm.

https://www.youtube.com/watch?v=zjkBMFhNj_g
Building a Bootstrap styled form in vanilla Django

In this post, David Smith explores creating a Bootstrap-styled form in vanilla Django without relying on third-party packages. He discusses customizing form widgets, adding CSS classes, and creating a custom field template.

https://smithdc.uk/blog/2023/bootstrap_form_in_vanilla_django
Skyfield: Elegant Astronomy for Python

https://rhodesmill.org/skyfield/
Running Python Parallel Applications with Sub Interpreters

Python 3.12 introduced a new API for “sub interpreters”, which are a different parallel execution model for Python that provide a nice compromise between the true parallelism of multiprocessing, but with a much faster startup time. This post will explain what a sub interpreter is, why it’s important for parallel code execution in Python and how it compares with other approaches.

https://tonybaloney.github.io/posts/sub-interpreter-web-workers.html