1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
GIL removal and the Faster CPython project
https://lwn.net/Articles/939981/
Weird Python "Features" That Might Catch You By Surprise
From time to time, when coding, we all run into weird behaviours of the programming language. Sometimes it's a "feature" we weren't aware of, sometimes it's just quirky behaviour of the language, and sometimes it's borderline bug. Python - as any other programming language - has these eyebrows-raising quirks, so here's a list of weird Python "features" that might catch you off-guard.
https://martinheinz.dev/blog/103
Prism
Prism is the easiest way to develop, orchestrate, and execute data pipelines in Python.
https://github.com/runprism/prism
Nemesis
An offensive data enrichment pipeline.
https://github.com/SpecterOps/Nemesis
Eliminating hallucinations (fast!) in Large Language Models with Finite State Machines
In this blog, we introduce our method for regex-guided generation implemented in Outlines.
https://blog.normalcomputing.ai/posts/2023-07-27-regex-guided-generation/regex-guided-generation.html
a16z-infra / llama2-chatbot
LLaMA v2 Chatbot
https://github.com/a16z-infra/llama2-chatbot
youre-the-os
A game where you are a computer's OS and you have to manage processes, memory and I/O events.
https://github.com/plbrault/youre-the-os
pixi
pixi is a cross-platform, multi-language package manager and workflow tool build on the shoulders of the conda ecosystem. pixi supports Python, R, C/C++, Rust, Ruby, and many other languages.
https://github.com/prefix-dev/pixi
Harvard CS50’s Artificial Intelligence with Python
This course from Harvard University explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like large language models, game-playing engines, handwriting recognition, and machine translation.
https://www.youtube.com/watch?v=5NgNicANyqM
Hacking Github AWS integrations again
Github supports roles instead of credentials of integrating CI/CD with AWS. It’s easy to misconfigure so let’s show the impact.
https://dagrz.com/writing/aws-security/hacking-github-aws-oidc/
modelscope / modelscope
ModelScope: bring the notion of Model-as-a-Service to life.
https://github.com/modelscope/modelscope
What are your best practices for coding in Python in the industry?
https://www.reddit.com/r/Python/comments/15u6fey/what_are_your_best_practices_for_coding_in_python/
Python Hub Weekly Digest for 2023-08-20
https://pythonhub.dev/digest/2023-08-20/
The weirdest Python keyword
SummaryYou can create a very peculiar object using parenthesis on a comprehension:>>> ...
https://www.bitecode.dev/p/the-weirdest-python-keyword
LanceDB
Developer-friendly, serverless vector database for AI applications.
https://github.com/lancedb/lancedb
Fooocus
Focus on prompting and generating.
https://github.com/lllyasviel/Fooocus
viberary
Viberary is a search engine that recommends books based not on genre or title, but vibe by performing semantic search across a set of learned embeddings on a dataset of books from Goodreads and their metadata.
https://github.com/veekaybee/viberary
Practical Business Jinja
A talk covering how to automate document creation using Python-docx and Jinja.
https://www.youtube.com/watch?v=nFymBFcGqYk
AudioLDM2
Text-to-Audio/Music Generation.
https://github.com/haoheliu/AudioLDM2
Introducing Immortal Objects for Python
Instagram has introduced Immortal Objects – PEP-683 – to Python. Now, objects can bypass reference count checks and live throughout the entire execution of the runtime, unlocking exciting avenues for true parallelism.
https://engineering.fb.com/2023/08/15/developer-tools/immortal-objects-for-python-instagram-meta/
How to write Python code people actually want to use
https://www.reddit.com/r/Python/comments/15qx13e/how_to_write_python_code_people_actually_want_to/
The complex simplicity of my static websites
A deep dive into using indentation-based languages like Python and Slim, to build beautiful websites and love the work of doing it till the end.
https://alinpanaitiu.com/blog/complex-simplicity-of-static-websites/
Opendream
An extensible, easy-to-use, and portable diffusion web UI.
https://github.com/varunshenoy/opendream
Videos from Python Web Conf 2023 Available on YouTube
https://sixfeetup.com/company/news/80-talks-and-tutorials-from-2023-python-web-conference-released
FaceChain
FaceChain is a deep-learning toolchain for generating your Digital-Twin.
https://github.com/modelscope/facechain
End-to-end Testing with Python and Playwright
Want to learn how to use Python and Playwright to automate end-to-end testing using GitHub Actions? This post shows you how to get started with Playwright, add an end-to-end test to help test an existing project that is hosted on GitHub, and automate running it using GitHub Actions.
https://sixfeetup.com/blog/end-to-end-testing-python-playwright
What does your Python dev environment look like?
https://www.reddit.com/r/Python/comments/15vezni/what_does_your_python_dev_environment_look_like/
A non-mathematical introduction to Kalman Filters for programmers
The post offers programmers a non-mathematical introduction to Kalman filters, explaining their practical applications and benefits in various fields without delving into complex mathematical details. It serves as a beginner-friendly guide for understanding the fundamentals and potential uses of Kalman filters in a programming context.
https://praveshkoirala.com/2023/06/13/a-non-mathematical-introduction-to-kalman-filters-for-programmers/
huggingface / trl
Train transformer language models with reinforcement learning.
https://github.com/huggingface/trl
Python 3.12.0 release candidate 1 released
https://pythoninsider.blogspot.com/2023/08/python-3120-release-candidate-1-released.html