PythonHub
2.44K subscribers
2.35K photos
49.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python and SLSA

Supply chain Layers for Software Artifacts (SLSA) is a framework of tools to generate and verify provenance for software artifacts. In the Python ecosystem there are two main types of software artifacts: wheels and source distributions. How can we use the SLSA framework to generate and verify the provenance of Python artifacts?

https://sethmlarson.dev/python-and-slsa
Tracking the Fake GitHub Star Black Market with Dagster, dbt and BigQuery

It's easy for an open-source project to buy fake GitHub stars. We share two approaches for detecting them.

https://dagster.io/blog/fake-stars
The quantum state of a TCP port

If I navigate to https://blog.cloudflare.com/, my browser will connect to a remote TCP address from the local IP address assigned to my machine, and a randomly chosen local TCP port. What happens if I then decide to head to another site? Is it possible to establish a new TCP connection from the same local IP address and port?

https://blog.cloudflare.com/the-quantum-state-of-a-tcp-port/
Working with Large Data Sets Made Easy: Understanding Pandas Data Types

In this video, we'll show you how to use the Pandas library to make working with large datasets easy. You'll learn about the different data types that Pandas supports and see some examples of how to use them to optimize your memory usage.

https://www.youtube.com/watch?v=uVy23GEehpc
Building And Distributing A macOS Application Written in Python

Even with all the great tools we have, getting a macOS application written in Python all the way to a production-ready build suitable for end users can involve a lot of esoteric trivia.

https://blog.glyph.im/2023/03/py-mac-app-for-real.html