PythonHub
2.35K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
infinition / Bjorn

Bjorn is a powerful network scanning and offensive security tool for the Raspberry Pi with a 2.13-inch e-Paper HAT. It discovers network targets, identifies open ports, exposed services, and potential vulnerabilities. Bjorn can perform brute force attacks, file stealing, host zombification, and supports custom attack scripts.

https://github.com/infinition/Bjorn
Squashing Django Migrations the Easy Way

The article outlines a step-by-step process for safely squashing Django migrations in large projects, using tools like django-model-info to visualize migration dependencies and identify safe linear paths for squashing. It emphasizes the importance of maintaining the migration graph's integrity, updating dependencies, and carefully deploying changes to reduce migration count without break...

https://jacklinke.com/squashing-django-migrations-the-easy-way
Lazy self-installing Python scripts with uv

The article introduces UV, a Python tool that streamlines script execution by managing dependencies automatically. It enables self-installing scripts with metadata for dependencies, eliminating the need for manual virtual environment setups or packaging. UV also offers tools to replace pipx and pyenv for Python installations and CLI tools.

https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/
👍1
Vanir

Vanir is a source code-based static analysis tool that automatically identifies the list of missing security patches in the target system. By default, Vanir pulls up-to-date CVEs from Open Source Vulnerabilities (OSV) together with their corresponding signatures so that users can transparently scan missing patches for an up-to-date list of CVEs.

https://github.com/google/vanir
👍1
Writing down (and searching through) every UUID

The post describes a creative project to generate and catalog every possible Version 4 UUID, creating a comprehensive searchable database of unique identifiers. The author developed a method to systematically generate all 2^122 possible UUIDs, enabling full-text search and exploration of these globally unique identifiers.

https://eieio.games/blog/writing-down-every-uuid/
Django and Postgres for the Busy Rails Developer

The article compares Django and Ruby on Rails frameworks from a Rails developer's perspective, focusing on database interactions with PostgreSQL. It highlights similarities and differences in language runtime management, library management, migrations, models, and command-line tools, providing insights for developers familiar with Rails who are exploring Django.

https://andyatkinson.com/django-python-postgres-busy-rails-developer