A Guide to Python's Weak References Using weakref Module
Chances are that you never touched and maybe haven't even heard about Python's weakref module. While it might not be commonly used in your code, it's fundamental to the inner workings of many libraries, frameworks and even Python itself. So, in this article we will explore what it is, how it is helpful, and how you could incorporate it into your code as well.
https://martinheinz.dev/blog/112
Chances are that you never touched and maybe haven't even heard about Python's weakref module. While it might not be commonly used in your code, it's fundamental to the inner workings of many libraries, frameworks and even Python itself. So, in this article we will explore what it is, how it is helpful, and how you could incorporate it into your code as well.
https://martinheinz.dev/blog/112
martinheinz.dev
A Guide to Python's Weak References Using weakref Module
<p>
Chances are that you never touched and maybe haven't even heard about Python's <code class="inline">weakref</code> module. While it might not be common...
Chances are that you never touched and maybe haven't even heard about Python's <code class="inline">weakref</code> module. While it might not be common...
Run Python code in the browser
Execute you code online with the latest version of the interpreter.
https://www.pynerds.com/compiler/
Execute you code online with the latest version of the interpreter.
https://www.pynerds.com/compiler/
Pynerds
Run Python Code Online - Python Compiler(Interpreter)
Edit, build and run Python code efficiently right on the browser- Python Compiler(Interpreter)
Secrets of the ChatGPT Linux system
Have you noticed that ChatGPT sometimes writes out Python code and somehow executes it? How does that work? What kind of environment is it using? Can we co-opt it for our own ends? Let's find out!
https://incoherency.co.uk/blog/stories/chatgpt-linux.html
Have you noticed that ChatGPT sometimes writes out Python code and somehow executes it? How does that work? What kind of environment is it using? Can we co-opt it for our own ends? Let's find out!
https://incoherency.co.uk/blog/stories/chatgpt-linux.html
xorbitsai / inference
Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inference with any open-source language models, speech recognition models, and multimodal models, whether in the cloud, on-premises, or even on your laptop.
https://github.com/xorbitsai/inference
Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inference with any open-source language models, speech recognition models, and multimodal models, whether in the cloud, on-premises, or even on your laptop.
https://github.com/xorbitsai/inference
GitHub
GitHub - xorbitsai/inference: Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives…
Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inferen...
Are generator-coroutines really the answer?
The video delves into generator co-routines in Python, explaining the distinctions between generators, functions, and generator instances, and the protocols and roles of collections.abc in defining generators. It highlights the advantages of lazy computation with generators, efficient control and data flow management, and addresses challenges in chaining operations and modeling complex p...
https://www.youtube.com/watch?v=Knth0LhQnC0
The video delves into generator co-routines in Python, explaining the distinctions between generators, functions, and generator instances, and the protocols and roles of collections.abc in defining generators. It highlights the advantages of lazy computation with generators, efficient control and data flow management, and addresses challenges in chaining operations and modeling complex p...
https://www.youtube.com/watch?v=Knth0LhQnC0
YouTube
James Powell - Are generator-coroutines really the answer? | PyData London 2024
www.pydata.org
As we all know (or, at least, as I've been trying to tell everyone,) generators in Python are an extremely powerful API design technique. A generator represents the linear decomposition of a single computation into multiple parts, and such…
As we all know (or, at least, as I've been trying to tell everyone,) generators in Python are an extremely powerful API design technique. A generator represents the linear decomposition of a single computation into multiple parts, and such…
My Python code is a neural network
https://blog.gabornyeki.com/2024-07-my-python-code-is-a-neural-network/
https://blog.gabornyeki.com/2024-07-my-python-code-is-a-neural-network/
Gabornyeki
My Python code is a neural network | Gábor Nyéki
This post translates a Python program to a recurrent neural network. It visualizes the network and explains each step of the translation in detail.
A simplified Python simulation of diffusion
https://www.thepythoncodingstack.com/p/python-diffusion-simulation-demo-turtle
https://www.thepythoncodingstack.com/p/python-diffusion-simulation-demo-turtle
Thepythoncodingstack
If Feynman Was Teaching Today… A Simplified Python Simulation of Diffusion (Part 1)
Understanding the real world is not always easy. A Python simulation can help. And let's find ways of making it efficient, too.
Frappe HR
Open Source, modern, and easy-to-use HR and Payroll Software for all organizations
https://github.com/frappe/hrms
Open Source, modern, and easy-to-use HR and Payroll Software for all organizations
https://github.com/frappe/hrms
GitHub
GitHub - frappe/hrms: Open Source HR and Payroll Software
Open Source HR and Payroll Software. Contribute to frappe/hrms development by creating an account on GitHub.
PostHog / posthog
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://github.com/PostHog/posthog
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://github.com/PostHog/posthog
GitHub
GitHub - PostHog/posthog: 🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing…
🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free. - PostHog/posthog
All Set! Looking Under the Hood of Python's Set Data Structure
Learn everything about hash tables, collision handling, and performance optimization.
https://blog.codingconfessions.com/p/cpython-set-implementation
Learn everything about hash tables, collision handling, and performance optimization.
https://blog.codingconfessions.com/p/cpython-set-implementation
Codingconfessions
Looking Under the Hood of Python's Set Data Structure
Learn everything about hash tables, collision handling, and performance optimization
Metatype
Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are.
https://github.com/metatypedev/metatype
Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are.
https://github.com/metatypedev/metatype
GitHub
GitHub - metatypedev/metatype: Declarative API development platform. Build backend components with WASM, Typescript and Python…
Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are. - metatypedev/metatype
I'm a Python Backend Developer, How to Create a Modern and Fast Frontend?
https://www.reddit.com/r/Python/comments/1dwf2sh/im_a_python_backend_developer_how_to_create_a/
https://www.reddit.com/r/Python/comments/1dwf2sh/im_a_python_backend_developer_how_to_create_a/
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Is there a way to host python projects for really free?
https://www.reddit.com/r/learnpython/comments/1dxfucj/is_there_a_way_to_host_python_projects_for_really/
https://www.reddit.com/r/learnpython/comments/1dxfucj/is_there_a_way_to_host_python_projects_for_really/
Reddit
From the learnpython community on Reddit
Explore this post and more from the learnpython community
API integration Course – Modern Python with FastAPI
This video provides a comprehensive overview of building event-driven applications using FastAPI, covering topics from basic setup to advanced features like real-time translation and sentiment analysis. It demonstrates the integration of various technologies and APIs, emphasizing practical implementation, troubleshooting, and optimization techniques for creating functional web applicatio...
https://www.youtube.com/watch?v=rkPIftzu1pQ
This video provides a comprehensive overview of building event-driven applications using FastAPI, covering topics from basic setup to advanced features like real-time translation and sentiment analysis. It demonstrates the integration of various technologies and APIs, emphasizing practical implementation, troubleshooting, and optimization techniques for creating functional web applicatio...
https://www.youtube.com/watch?v=rkPIftzu1pQ
YouTube
API integration Course – Modern Python with FastAPI
Learn about API integration with Python, plus full stack development. The technologies you will learn include FastAPI, third parti API's integration, PostgresQL, JavaScript, and more.
⭐️ Projects ⭐️
➡ 1. Real-Time Translation Service with FastAPI and GPT…
⭐️ Projects ⭐️
➡ 1. Real-Time Translation Service with FastAPI and GPT…
How to use Vue with Django (including Auth)
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app. We'll also add auth Simple and robust. No tokens, no DRF, no JWT.
https://www.youtube.com/watch?v=fUpvQd_5cnA
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app. We'll also add auth Simple and robust. No tokens, no DRF, no JWT.
https://www.youtube.com/watch?v=fUpvQd_5cnA
YouTube
How to use Vue with Django (including Auth) 🔒
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app.
We'll also add auth 🔒 Simple and robust. No tokens, no DRF, no JWT.
I'll also show you 5 things that you'll always want to add, including:
1. Page routing (using…
We'll also add auth 🔒 Simple and robust. No tokens, no DRF, no JWT.
I'll also show you 5 things that you'll always want to add, including:
1. Page routing (using…