PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Pure Python: Build a full stack ChatGPT-like UI. Reflex, Neon Postgres. Deploy with Docker to a VM

This video tutorial demonstrates how to build a full-stack ChatGPT-like UI using Reflex, a Python framework for web development, integrating it with Neon Postgres database and OpenAI. It covers the entire process from setting up the development environment to deploying the application using Docker, GitHub Actions, and Ansible on a virtual machine.

https://www.youtube.com/watch?v=NuNaI__4xiU
nlp-zero-to-hero

A comprehensive resource for learning Natural Language Processing (NLP) from the basics to advanced topics. It contains Jupyter notebooks covering various NLP concepts, techniques, and implementations, making it a valuable guide for beginners and intermediate learners in the field of NLP.

https://github.com/JUSTSUJAY/nlp-zero-to-hero
PyPI Proxying for Docker Builds

I wanted to improve our CI system by caching PyPI data locally. I saw that there’s a project to do this, but I didn’t see any good examples actually using it.

https://www.robopenguins.com/pypi-proxy/
GraalPy – A high-performance embeddable Python 3 runtime for Java

https://www.graalvm.org/python/
👍1
Revival Hijack – PyPI hijack technique exploited in the wild, puts 22K packages at risk

The article discusses a PyPI supply chain attack technique called "Revival Hijack," where attackers can hijack removed packages by re-registering them. JFrog's research team found that this technique could potentially affect 22,000 existing PyPI packages, leading to hundreds of thousands of malicious downloads, and they took proactive measures to protect the PyPI community by safely rese...

https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/
How We Made Jupyter Notebooks Load 10 Times Faster

When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.

https://www.singlestore.com/blog/how-we-made-notebooks-load-10-times-faster/