5 Horrifying Python Techniques to get you fired
Python is a great language, with a few... exploits. While a lot of implementation details make it easier to work with, they also lead to quirks - quirks which can be exploited for fun (and profit?). Whether it's variables, match statements, type hinting, imports, or even just trying to fit everything on one line, this talk has more than a few slithering tricks up its sleeve.
https://www.youtube.com/watch?v=t863QfAOmlY
Python is a great language, with a few... exploits. While a lot of implementation details make it easier to work with, they also lead to quirks - quirks which can be exploited for fun (and profit?). Whether it's variables, match statements, type hinting, imports, or even just trying to fit everything on one line, this talk has more than a few slithering tricks up its sleeve.
https://www.youtube.com/watch?v=t863QfAOmlY
YouTube
⚡ 5 Horrifying Python Techniques to get you fired - Andrew L
Python is a great language, with a few... cursed exploits. While a lot of implementation details make it easier to work with, they also lead to quirks - quirks which can be exploited for fun (and profit?). Whether it's variables, match statements, type hinting…
facebookresearch / AnimatedDrawings
Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
https://github.com/facebookresearch/AnimatedDrawings
Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
https://github.com/facebookresearch/AnimatedDrawings
GitHub
GitHub - facebookresearch/AnimatedDrawings: Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
Code to accompany "A Method for Animating Children's Drawings of the Human Figure" - facebookresearch/AnimatedDrawings
Deploy a Voice-Based Chatbot with BentoML, LangChain, and Gradio
The article provides a tutorial on how to deploy a voice-based chatbot using several open-source tools, including BentoML, LangChain, and Gradio. It covers the steps for building and training a chatbot model, integrating it with voice commands, and deploying the model as a web service for real-time interactions with users.
https://towardsdatascience.com/deploy-a-voice-based-chatbot-with-bentoml-langchain-and-gradio-7f25af3e45df
The article provides a tutorial on how to deploy a voice-based chatbot using several open-source tools, including BentoML, LangChain, and Gradio. It covers the steps for building and training a chatbot model, integrating it with voice commands, and deploying the model as a web service for real-time interactions with users.
https://towardsdatascience.com/deploy-a-voice-based-chatbot-with-bentoml-langchain-and-gradio-7f25af3e45df
Medium
Deploy a Voice-Based Chatbot with BentoML, LangChain, and Gradio
BentoML is Like Lego for ML engineers
Bevy v2.0 - The Simple Python Dependency Injection Framework
Modern software can be complex, with many components that depend on each other. It can be hard to manage those dependencies without your project becoming a mess of spaghetti code. This article introduces you to Bevy v2.0, a robust Dependency Injection framework that will help you simplify your Python applications.
https://blog.zech.codes/bevy-v2
Modern software can be complex, with many components that depend on each other. It can be hard to manage those dependencies without your project becoming a mess of spaghetti code. This article introduces you to Bevy v2.0, a robust Dependency Injection framework that will help you simplify your Python applications.
https://blog.zech.codes/bevy-v2
Zech Zimmerman
Bevy v2.0 - The Simple Python Dependency Injection Framework
Bevy v2.0 - The Python Dependency Injection Framework That Empowers You to Build Better Applications
farshadz1997 / Microsoft-Rewards-bot
A simple bot that uses Selenium to farm Microsoft Rewards written in Python
https://github.com/farshadz1997/Microsoft-Rewards-bot
A simple bot that uses Selenium to farm Microsoft Rewards written in Python
https://github.com/farshadz1997/Microsoft-Rewards-bot
GitHub
farshadz1997/Microsoft-Rewards-bot
A simple bot that uses Selenium to farm Microsoft Rewards written in Python - farshadz1997/Microsoft-Rewards-bot
Extending web applications with WebAssembly and Python
https://wasmlabs.dev/articles/wasm-host-to-python/
https://wasmlabs.dev/articles/wasm-host-to-python/
wasmlabs.dev
Extending web applications with WebAssembly and Python
How to leverage Python and WebAssembly to securely extend your web application capabilities using Suborbital and Wasm Labs tooling and language runtimes.
Real Multithreading is Coming to Python — Learn How You Can Use It Now
True multi-core concurrency is coming to Python in 3.12 release and here’s how you can use it right now using sub-interpreter API
https://betterprogramming.pub/real-multithreading-is-coming-to-python-learn-how-you-can-use-it-now-90dd7fb81bdf
True multi-core concurrency is coming to Python in 3.12 release and here’s how you can use it right now using sub-interpreter API
https://betterprogramming.pub/real-multithreading-is-coming-to-python-learn-how-you-can-use-it-now-90dd7fb81bdf
Medium
Real Multithreading is Coming to Python — Learn How You Can Use It Now
True multi-core concurrency is coming to Python in 3.12 release and here’s how you can use it right now using sub-interpreter API
If you are lost in the ocean of python packaging, take a look at this book.
https://www.reddit.com/r/learnpython/comments/13h7azi/if_you_are_lost_in_the_ocean_of_python_packaging/
https://www.reddit.com/r/learnpython/comments/13h7azi/if_you_are_lost_in_the_ocean_of_python_packaging/
Reddit
r/learnpython on Reddit: If you are lost in the ocean of python packaging, take a look at this book.
Posted by u/Desperate_Cold6274 - 202 votes and 26 comments
privateGPT
Interact privately with your documents using the power of GPT, 100% privately, no data leaks.
https://github.com/imartinez/privateGPT
Interact privately with your documents using the power of GPT, 100% privately, no data leaks.
https://github.com/imartinez/privateGPT
GitHub
GitHub - zylon-ai/private-gpt: Interact with your documents using the power of GPT, 100% privately, no data leaks
Interact with your documents using the power of GPT, 100% privately, no data leaks - zylon-ai/private-gpt
“Externally managed environments”: when PEP 668 breaks pip
You’re on a new version of Linux, you try a pip install, and it errors out, talking about “externally managed environments” and “PEP 668”. What’s going on? How do you solve this?
https://pythonspeed.com/articles/externally-managed-environment-pep-668/
You’re on a new version of Linux, you try a pip install, and it errors out, talking about “externally managed environments” and “PEP 668”. What’s going on? How do you solve this?
https://pythonspeed.com/articles/externally-managed-environment-pep-668/
Python⇒Speed
“Externally managed environments”: when PEP 668 breaks pip
Getting a externally-managed-environment/PEP 668 error when you pip install? Here’s how to fix it.
Python Port of 600 Line Bash Script: rsync-time-machine.py for Rsync Backups
https://github.com/basnijholt/rsync-time-machine.py
https://github.com/basnijholt/rsync-time-machine.py
GitHub
GitHub - basnijholt/rsync-time-machine.py: Ultralight Time Machine-style backups using rsync
Ultralight Time Machine-style backups using rsync. Contribute to basnijholt/rsync-time-machine.py development by creating an account on GitHub.
linyiLYi / street-fighter-ai
This is an AI agent for Street Fighter II Champion Edition.
https://github.com/linyiLYi/street-fighter-ai
This is an AI agent for Street Fighter II Champion Edition.
https://github.com/linyiLYi/street-fighter-ai
GitHub
GitHub - linyiLYi/street-fighter-ai: This is an AI agent for Street Fighter II Champion Edition.
This is an AI agent for Street Fighter II Champion Edition. - linyiLYi/street-fighter-ai
Trusted Publishing; how to publish to PyPI with Github Actions
https://pgjones.dev/blog/trusted-plublishing-2023/
https://pgjones.dev/blog/trusted-plublishing-2023/
Intro to PDB, the Python Debugger
Looks like crap, but tastes great
https://bitecode.substack.com/p/intro-to-pdb-the-python-debugger
Looks like crap, but tastes great
https://bitecode.substack.com/p/intro-to-pdb-the-python-debugger
www.bitecode.dev
Intro to PDB, the Python Debugger
Looks like crap, but tastes great
quivr
Dump all your files and thoughts into your GenerativeAI brain and chat with it.
https://github.com/StanGirard/quivr
Dump all your files and thoughts into your GenerativeAI brain and chat with it.
https://github.com/StanGirard/quivr
GitHub
GitHub - QuivrHQ/quivr: Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration…
Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstor...