<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="Python" label="r/Python"/><updated>2026-06-18T01:38:22+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/Python/.rss</id><link rel="self" href="https://www.reddit.com/r/Python/.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/Python/" type="text/html" /><logo>https://b.thumbs.redditmedia.com/8HiO52_EuT_h63Qg.png</logo><subtitle>The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython</subtitle><title>Python</title><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Post all of your code/projects/showcases/AI slop here. &lt;/p&gt; &lt;p&gt;Recycles once a month.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1tws1w7/showcase_thread/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1tws1w7/showcase_thread/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1tws1w7</id><link href="https://www.reddit.com/r/Python/comments/1tws1w7/showcase_thread/" /><updated>2026-06-04T16:05:06+00:00</updated><published>2026-06-04T16:05:06+00:00</published><title>Showcase Thread</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Professional Use, Jobs, and Education 🏢&lt;/h1&gt; &lt;p&gt;Welcome to this week&amp;#39;s discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;.&lt;/p&gt; &lt;hr/&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Talk&lt;/strong&gt;: Discuss using Python in your job, or the job market for Python roles.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Education Q&amp;amp;A&lt;/strong&gt;: Ask or answer questions about Python courses, certifications, and educational resources.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Chat&lt;/strong&gt;: Share your experiences, challenges, or success stories about using Python professionally.&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;. For job postings, please see &lt;a href=&quot;/r/PythonJobs&quot;&gt;r/PythonJobs&lt;/a&gt; or the recruitment thread in the sidebar.&lt;/li&gt; &lt;li&gt;Keep discussions relevant to Python in the professional and educational context.&lt;/li&gt; &lt;/ul&gt; &lt;hr/&gt; &lt;h2&gt;Example Topics:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Paths&lt;/strong&gt;: What kinds of roles are out there for Python developers?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Certifications&lt;/strong&gt;: Are Python certifications worth it?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Course Recommendations&lt;/strong&gt;: Any good advanced Python courses to recommend?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Tools&lt;/strong&gt;: What Python libraries are indispensable in your professional work?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Interview Tips&lt;/strong&gt;: What types of Python questions are commonly asked in interviews?&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;p&gt;Let&amp;#39;s help each other grow in our careers and education. Happy discussing! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u8quph/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u8quph/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u8quph</id><link href="https://www.reddit.com/r/Python/comments/1u8quph/thursday_daily_thread_python_careers_courses_and/" /><updated>2026-06-18T00:00:06+00:00</updated><published>2026-06-18T00:00:06+00:00</published><title>Thursday Daily Thread: Python Careers, Courses, and Furthering Education!</title></entry><entry><author><name>/u/Haunting-Shower1654</name><uri>https://www.reddit.com/user/Haunting-Shower1654</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Building a Python application is often the easy part. Getting it into the hands of users can introduce a completely different set of challenges.&lt;/p&gt; &lt;p&gt;Whether it was packaging, updates, compatibility issues, licensing, documentation, or user support, many developers discover new problems only after release.&lt;/p&gt; &lt;p&gt;Looking back, what is one thing you wish you had known before distributing your first Python application?&lt;/p&gt; &lt;p&gt;It would be interesting to hear the lessons people learned from real-world experience.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Haunting-Shower1654&quot;&gt; /u/Haunting-Shower1654 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7c1nq/what_is_one_thing_you_wish_you_knew_before/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7c1nq/what_is_one_thing_you_wish_you_knew_before/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u7c1nq</id><link href="https://www.reddit.com/r/Python/comments/1u7c1nq/what_is_one_thing_you_wish_you_knew_before/" /><updated>2026-06-16T12:24:40+00:00</updated><published>2026-06-16T12:24:40+00:00</published><title>What is one thing you wish you knew before distributing your first Python application?</title></entry><entry><author><name>/u/warningisnterror</name><uri>https://www.reddit.com/user/warningisnterror</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I wrote a practical comparison of Python task queue libraries in 2026:&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://aleksul.space/posts/choosing-python-task-queue-library/&quot;&gt;https://aleksul.space/posts/choosing-python-task-queue-library/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;It covers Celery, Dramatiq, FastStream, Taskiq, and Repid, with code examples, broker support, async/sync behavior, production tradeoffs and benchmarks.&lt;/p&gt; &lt;p&gt;The main takeaways were:&lt;/p&gt; &lt;p&gt;- When it comes to throughput, it&amp;#39;s important to understand your workload type: I/O or CPU bound makes a huge difference&lt;/p&gt; &lt;p&gt;- Asyncio-native frameworks are significantly faster for high-concurrency I/O-bound jobs&lt;/p&gt; &lt;p&gt;- For CPU-bound jobs, the library matters much less once the CPU is saturated&lt;/p&gt; &lt;p&gt;- Production behavior can vary vastly from framework to framework, same as their philosophy. You have to choose what matters more for your use case&lt;/p&gt; &lt;p&gt;I’d be especially interested to hear from people running these in production. How is your experience running one of these or similar frameworks in production? Is there something that I missed?&lt;/p&gt; &lt;p&gt;Small disclosure: Repid is my project. Take that bias for what it is; the goal is still a useful comparison and a healthy discussion.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/warningisnterror&quot;&gt; /u/warningisnterror &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u775lo/choosing_a_python_task_queue_library_in_2026/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u775lo/choosing_a_python_task_queue_library_in_2026/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u775lo</id><link href="https://www.reddit.com/r/Python/comments/1u775lo/choosing_a_python_task_queue_library_in_2026/" /><updated>2026-06-16T07:59:36+00:00</updated><published>2026-06-16T07:59:36+00:00</published><title>Choosing a Python task queue library in 2026: Celery vs Dramatiq vs FastStream vs Taskiq vs Repid</title></entry><entry><author><name>/u/WarningOut_OfMinD</name><uri>https://www.reddit.com/user/WarningOut_OfMinD</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Over the past few months, we’ve heard from users that LiteLLM has had more bugs and regressions than it should. We take that seriously.&lt;/p&gt; &lt;p&gt;So we’re kicking off a dedicated stability sprint with two goals:&lt;br/&gt; - Close 20 reported bugs in core functionality&lt;br/&gt; - Fix the root causes behind bugs in 3 core areas: MCP, Gateway, and UI&lt;/p&gt; &lt;p&gt;If there&amp;#39;s a bug on LiteLLM thats been affecting you, please reach out to us on discord!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/WarningOut_OfMinD&quot;&gt; /u/WarningOut_OfMinD &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u8i2xq/litellm_stability_announcement/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u8i2xq/litellm_stability_announcement/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u8i2xq</id><link href="https://www.reddit.com/r/Python/comments/1u8i2xq/litellm_stability_announcement/" /><updated>2026-06-17T18:18:55+00:00</updated><published>2026-06-17T18:18:55+00:00</published><title>LiteLLM Stability Announcement</title></entry><entry><author><name>/u/Tosh97</name><uri>https://www.reddit.com/user/Tosh97</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;honestly trying to build any sort of automated trading script in python right now is just miserable &lt;/p&gt; &lt;p&gt;I spent the last two weeks writing this whole async event-driven backtester using pandas and asyncio. the logic works perfectly on local CSVs, but the second I try to connect to a live data feed? absolute garbage. Yfinance keeps randomly dropping connections and all the decent websocket APIs now want like $150 a month just for basic historical tick data &lt;/p&gt; &lt;p&gt;it just sucks how paywalled the whole quant space has become for solo devs. honestly while my script was erroring out for the 5th time today I ended up just zoning out on a trading game just to actually look at some market movement without dealing with endless JSON parsing errors and rate limits &lt;/p&gt; &lt;p&gt;I refuse to pay institutional prices just to test a crappy moving average crossover bot. if there are any reliable free websockets left for tick data Im all ears, otherwise im just gonna scrap this script and go back to making discord bots tbh. Just incredibly frustrating how greedy the data providers are getting&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Tosh97&quot;&gt; /u/Tosh97 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u886u4/financial_data_apis_are_basically_killing/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u886u4/financial_data_apis_are_basically_killing/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u886u4</id><link href="https://www.reddit.com/r/Python/comments/1u886u4/financial_data_apis_are_basically_killing/" /><updated>2026-06-17T12:00:06+00:00</updated><published>2026-06-17T12:00:06+00:00</published><title>Financial data apis are basically killing hobbyist algo trading</title></entry><entry><author><name>/u/chinmay_3107</name><uri>https://www.reddit.com/user/chinmay_3107</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;The idea is to make BDD data tables feel a bit like dataclasses/Pydantic models.&lt;/p&gt; &lt;p&gt;Instead of manually parsing this in a step:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;Given the following users exist: | name | role | active | | Alice | admin | true | | Bob | user | false | &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;You could write:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;class UserTable(RowTable): name = field(&amp;quot;name&amp;quot;, required=True) role = field(&amp;quot;role&amp;quot;, required=True) active: bool = field(&amp;quot;active&amp;quot;) &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;Then:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;users = UserTable.parse(datatable) &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;It would handle required fields, type conversion, custom parsers, validation, and better row/column errors. Business logic would still stay in your own step definitions.&lt;/p&gt; &lt;p&gt;For people using pytest-bdd / Gherkin:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Do your tables ever get annoying to parse manually?&lt;/li&gt; &lt;li&gt;Would a schema layer for tables help, or feel like too much abstraction?&lt;/li&gt; &lt;li&gt;Would you want this as a standalone Python package with pytest support?&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;The more advanced idea is that teams can add their own small table conventions without putting all that parsing logic inside every step definition.&lt;/p&gt; &lt;p&gt;Trying to sanity-check whether this solves a real problem before polishing it further.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/chinmay_3107&quot;&gt; /u/chinmay_3107 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7q9t0/would_typed_schemas_for_pytestbdd_gherkin_tables/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7q9t0/would_typed_schemas_for_pytestbdd_gherkin_tables/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u7q9t0</id><link href="https://www.reddit.com/r/Python/comments/1u7q9t0/would_typed_schemas_for_pytestbdd_gherkin_tables/" /><updated>2026-06-16T21:10:02+00:00</updated><published>2026-06-16T21:10:02+00:00</published><title>Would typed schemas for pytest-bdd / Gherkin tables be useful?</title></entry><entry><author><name>/u/JackBlack436</name><uri>https://www.reddit.com/user/JackBlack436</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I know things like pipreqs exist, but that&amp;#39;s more of an directory scan. If you have a project and you need several requirements.txts (for multiple containers / multiple entrypoints), I haven&amp;#39;t found a way to reliably generate that. Please let me know if things like this do exist, because if not I&amp;#39;d really like to make my own module to do this stuff. And if there is something like that, it would really come in handy for me right now.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/JackBlack436&quot;&gt; /u/JackBlack436 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u74rvm/are_there_any_python_modules_that_automatically/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u74rvm/are_there_any_python_modules_that_automatically/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u74rvm</id><link href="https://www.reddit.com/r/Python/comments/1u74rvm/are_there_any_python_modules_that_automatically/" /><updated>2026-06-16T05:40:15+00:00</updated><published>2026-06-16T05:40:15+00:00</published><title>Are there any python modules that automatically generated a requirements.txt, given an entry point?</title></entry><entry><author><name>/u/Heavy-Candidate1002</name><uri>https://www.reddit.com/user/Heavy-Candidate1002</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey,&lt;/p&gt; &lt;p&gt;I keep hearing that tools like Airflow and Celery work fine until they don&amp;#39;t — and then they really don&amp;#39;t.&lt;/p&gt; &lt;p&gt;For those of you managing workflows at scale:&lt;/p&gt; &lt;p&gt;- Is this still a painful space or have things improved?&lt;/p&gt; &lt;p&gt;- What&amp;#39;s your current stack and what would you change?&lt;/p&gt; &lt;p&gt;- What does a good solution actually need to do that most tools don&amp;#39;t?&lt;/p&gt; &lt;p&gt;Asking because I&amp;#39;m trying to understand the real state of the market — not the marketing version.&lt;/p&gt; &lt;p&gt;Would love honest takes from people in the trenches.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Heavy-Candidate1002&quot;&gt; /u/Heavy-Candidate1002 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u85hdv/honest_question_is_workflow_orchestration_still_a/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u85hdv/honest_question_is_workflow_orchestration_still_a/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u85hdv</id><link href="https://www.reddit.com/r/Python/comments/1u85hdv/honest_question_is_workflow_orchestration_still_a/" /><updated>2026-06-17T09:35:58+00:00</updated><published>2026-06-17T09:35:58+00:00</published><title>Honest question — is workflow orchestration still a solved problem in 2026?</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Wednesday Thread: Advanced Questions 🐍&lt;/h1&gt; &lt;p&gt;Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Ask Away&lt;/strong&gt;: Post your advanced Python questions here.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Expert Insights&lt;/strong&gt;: Get answers from experienced developers.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Resource Pool&lt;/strong&gt;: Share or discover tutorials, articles, and tips.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is for &lt;strong&gt;advanced questions only&lt;/strong&gt;. Beginner questions are welcome in our &lt;a href=&quot;#daily-beginner-thread-link&quot;&gt;Daily Beginner Thread&lt;/a&gt; every Thursday.&lt;/li&gt; &lt;li&gt;Questions that are not advanced may be removed and redirected to the appropriate thread.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Recommended Resources:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;If you don&amp;#39;t receive a response, consider exploring &lt;a href=&quot;/r/LearnPython&quot;&gt;r/LearnPython&lt;/a&gt; or join the &lt;a href=&quot;https://discord.gg/python&quot;&gt;Python Discord Server&lt;/a&gt; for quicker assistance.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Questions:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;How can you implement a custom memory allocator in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for optimizing Cython code for heavy numerical computations?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How do you set up a multi-threaded architecture using Python&amp;#39;s Global Interpreter Lock (GIL)?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How would you go about implementing a distributed task queue using Celery and RabbitMQ?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are some advanced use-cases for Python&amp;#39;s decorators?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How can you achieve real-time data streaming in Python with WebSockets?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the performance implications of using native Python data structures vs NumPy arrays for large-scale data?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Best practices for securing a Flask (or similar) REST API with OAuth 2.0?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for using Python in a microservices architecture? (..and more generally, should I even use microservices?)&lt;/strong&gt;&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s deepen our Python knowledge together. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6xpou/tuesday_daily_thread_advanced_questions/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6xpou/tuesday_daily_thread_advanced_questions/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u6xpou</id><link href="https://www.reddit.com/r/Python/comments/1u6xpou/tuesday_daily_thread_advanced_questions/" /><updated>2026-06-16T00:00:04+00:00</updated><published>2026-06-16T00:00:04+00:00</published><title>Tuesday Daily Thread: Advanced questions</title></entry><entry><author><name>/u/Robowiko123</name><uri>https://www.reddit.com/user/Robowiko123</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Since I&amp;#39;ve fallen in love with Rust&amp;#39;s `iced` recently, I&amp;#39;ve been wondering if there&amp;#39;s been any implementations of native TEA for Python. As it is with such things, I immediately wanted to jump into making my own wrapper around Tkinter, but I figured it&amp;#39;d be wiser to ask first!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Robowiko123&quot;&gt; /u/Robowiko123 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6j8ph/the_elm_architecture_in_python/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6j8ph/the_elm_architecture_in_python/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u6j8ph</id><link href="https://www.reddit.com/r/Python/comments/1u6j8ph/the_elm_architecture_in_python/" /><updated>2026-06-15T15:07:04+00:00</updated><published>2026-06-15T15:07:04+00:00</published><title>The Elm Architecture in Python?</title></entry><entry><author><name>/u/alexmojaki</name><uri>https://www.reddit.com/user/alexmojaki</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;ve written a &lt;a href=&quot;https://pydantic.dev/articles/eval-type-backport&quot;&gt;blog post&lt;/a&gt; explaining how to use the &lt;code&gt;ast&lt;/code&gt; module to parse Python code into a structure that you can understand precisely, manipulate to your will, and execute. This lets you achieve things that are otherwise difficult or impossible.&lt;/p&gt; &lt;p&gt;I&amp;#39;m using the &amp;#39;Discussion&amp;#39; flair instead of &amp;#39;Tutorial&amp;#39; because I want people to read and share their opinions about the last part of the article where I explain why I think metaprogramming like this is a relevant skill, especially in the age of AI. Among other things, I claim that OpenAI acquiring Astral may be more about general purpose agents than coding agents.&lt;/p&gt; &lt;p&gt;I&amp;#39;m planning to do a series of articles about Python metaprogramming, so keen to hear what people think of this post in general.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/alexmojaki&quot;&gt; /u/alexmojaki &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6fb0y/how_and_why_to_run_modified_python_code_using_the/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u6fb0y/how_and_why_to_run_modified_python_code_using_the/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u6fb0y</id><link href="https://www.reddit.com/r/Python/comments/1u6fb0y/how_and_why_to_run_modified_python_code_using_the/" /><updated>2026-06-15T12:33:52+00:00</updated><published>2026-06-15T12:33:52+00:00</published><title>How and why to run modified Python code using the ast module</title></entry><entry><author><name>/u/Junior-Package4807</name><uri>https://www.reddit.com/user/Junior-Package4807</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;So I am in position. Where I can&amp;#39;t go to free studies, but programming and making automations with python is my passion. And I would like to become a junior. However, everyone kind of demotivates me that even the guys who hold a degree they are not finding the job. So for me there is chances almost near impossible. I will also start working a job in a week, so my time range for learning is even less. If anyone were in this kind of situation and became dev. Please I honestly want to hear your story. I understand this path is very hard.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Junior-Package4807&quot;&gt; /u/Junior-Package4807 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7exv2/is_there_even_chances_becoming_python_dev/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u7exv2/is_there_even_chances_becoming_python_dev/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u7exv2</id><link href="https://www.reddit.com/r/Python/comments/1u7exv2/is_there_even_chances_becoming_python_dev/" /><updated>2026-06-16T14:20:59+00:00</updated><published>2026-06-16T14:20:59+00:00</published><title>Is there even chances becoming python dev</title></entry><entry><author><name>/u/MallRight6067</name><uri>https://www.reddit.com/user/MallRight6067</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hey everyone, I&amp;#39;m working on an OMR (Optical Mark Recognition) sheet grading system and ran into a roadblock with phone camera images.&lt;/p&gt; &lt;p&gt;How it currently works:&lt;br/&gt; I maps fixed pixel coordinates from a JSON file as a template to detect and crop the answer bubbles. It works perfectly with clean, flat-scanned PDF/images.&lt;/p&gt; &lt;p&gt;The Issue:&lt;br/&gt; When users upload photos taken from their phones, accuracy drops heavily. The images often have geometric distortions:&lt;br/&gt; - Tilted or rotated angles&lt;br/&gt; - Perspective warp (trapezoid shapes from angled shots)&lt;br/&gt; - Uneven lighting and lens glare&lt;/p&gt; &lt;p&gt;Since the coordinates are fixed, even a tiny shift causes the system to read the wrong areas.&lt;/p&gt; &lt;p&gt;As a beginner in computer vision, what is the best approach to fix this? Should I implement an OpenCV pipeline to detect corners and apply a Perspective Transform to flatten the image first? Or is a coordinate-based system fundamentally flawed for phone photos, meaning I should look into Object Detection (like YOLO) instead?&lt;/p&gt; &lt;p&gt;Would love to hear any advice, keywords, or workflows you&amp;#39;d recommend! Thanks!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/MallRight6067&quot;&gt; /u/MallRight6067 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u74imy/dealing_with_warpedtilted_phone_photos_in/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u74imy/dealing_with_warpedtilted_phone_photos_in/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u74imy</id><link href="https://www.reddit.com/r/Python/comments/1u74imy/dealing_with_warpedtilted_phone_photos_in/" /><updated>2026-06-16T05:26:03+00:00</updated><published>2026-06-16T05:26:03+00:00</published><title>Dealing with warped/tilted phone photos in coordinate-based OMR grading</title></entry><entry><author><name>/u/sheadipeets5</name><uri>https://www.reddit.com/user/sheadipeets5</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I really need the community&amp;#39;s opinion on this. I&amp;#39;ve worked with a lot of ORMs, from Entity Framework to DrizzleORM. SQLAlchemy is the best option we have in the Python ecosystem, but it still sucks compared to ORMs in other ecosystems.&lt;/p&gt; &lt;p&gt;When I was working with Go, I discovered sqlc and loved it. It&amp;#39;s great, but not enough to replace a full ORM because of its limitations (no dynamic queries).&lt;/p&gt; &lt;p&gt;For the last five months, I&amp;#39;ve been building my own equivalent for Python, powered by sqlglot. Unlike sqlc, it has dynamic filters, sorting, and partial updates. It also has a single parameter syntax for all supported dialects (:param), which are Postgres, MySQL, SQLite, DuckDB, and ClickHouse. I borrowed sqlc&amp;#39;s end-to-end test cases, and my version passes all of them now.&lt;/p&gt; &lt;p&gt;It has already replaced SQLAlchemy for me in several microservices. So I guess my question is: is it worth continuing to build it? Because I don’t really know if other Python devs need such tool.&lt;/p&gt; &lt;p&gt;I&amp;#39;ve had a lot of fun building the current version, and I have a long roadmap ahead. That includes migrations (with auto-generation when possible), generators for other languages, and much more.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/sheadipeets5&quot;&gt; /u/sheadipeets5 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u63t90/are_we_happy_with_sqlalchemy/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u63t90/are_we_happy_with_sqlalchemy/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u63t90</id><link href="https://www.reddit.com/r/Python/comments/1u63t90/are_we_happy_with_sqlalchemy/" /><updated>2026-06-15T02:23:37+00:00</updated><published>2026-06-15T02:23:37+00:00</published><title>Are we happy with SQLAlchemy?</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Project Ideas 💡&lt;/h1&gt; &lt;p&gt;Welcome to our weekly Project Ideas thread! Whether you&amp;#39;re a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Suggest a Project&lt;/strong&gt;: Comment your project idea—be it beginner-friendly or advanced.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Build &amp;amp; Share&lt;/strong&gt;: If you complete a project, reply to the original comment, share your experience, and attach your source code.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Explore&lt;/strong&gt;: Looking for ideas? Check out Al Sweigart&amp;#39;s &lt;a href=&quot;https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242&quot;&gt;&amp;quot;The Big Book of Small Python Projects&amp;quot;&lt;/a&gt; for inspiration.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Clearly state the difficulty level.&lt;/li&gt; &lt;li&gt;Provide a brief description and, if possible, outline the tech stack.&lt;/li&gt; &lt;li&gt;Feel free to link to tutorials or resources that might help.&lt;/li&gt; &lt;/ul&gt; &lt;h1&gt;Example Submissions:&lt;/h1&gt; &lt;h2&gt;Project Idea: Chatbot&lt;/h2&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Intermediate&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python, NLP, Flask/FastAPI/Litestar &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Create a chatbot that can answer FAQs for a website.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=a37BL0stIuM&quot;&gt;Building a Chatbot with Python&lt;/a&gt;&lt;/p&gt; &lt;h1&gt;Project Idea: Weather Dashboard&lt;/h1&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Beginner&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: HTML, CSS, JavaScript, API&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Build a dashboard that displays real-time weather information using a weather API.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=9P5MY_2i7K8&quot;&gt;Weather API Tutorial&lt;/a&gt;&lt;/p&gt; &lt;h2&gt;Project Idea: File Organizer&lt;/h2&gt; &lt;p&gt;&lt;strong&gt;Difficulty&lt;/strong&gt;: Beginner&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tech Stack&lt;/strong&gt;: Python, File I/O&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Create a script that organizes files in a directory into sub-folders based on file type.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Resources&lt;/strong&gt;: &lt;a href=&quot;https://automatetheboringstuff.com/2e/chapter9/&quot;&gt;Automate the Boring Stuff: Organizing Files&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Let&amp;#39;s help each other grow. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u60skc/monday_daily_thread_project_ideas/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u60skc/monday_daily_thread_project_ideas/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u60skc</id><link href="https://www.reddit.com/r/Python/comments/1u60skc/monday_daily_thread_project_ideas/" /><updated>2026-06-15T00:00:06+00:00</updated><published>2026-06-15T00:00:06+00:00</published><title>Monday Daily Thread: Project ideas!</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: What&amp;#39;s Everyone Working On This Week? 🛠️&lt;/h1&gt; &lt;p&gt;Hello &lt;a href=&quot;/r/Python&quot;&gt;r/Python&lt;/a&gt;! It&amp;#39;s time to share what you&amp;#39;ve been working on! Whether it&amp;#39;s a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you&amp;#39;re up to!&lt;/p&gt; &lt;h1&gt;How it Works:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Show &amp;amp; Tell&lt;/strong&gt;: Share your current projects, completed works, or future ideas.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Discuss&lt;/strong&gt;: Get feedback, find collaborators, or just chat about your project.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Inspire&lt;/strong&gt;: Your project might inspire someone else, just as you might get inspired here.&lt;/li&gt; &lt;/ol&gt; &lt;h1&gt;Guidelines:&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;Feel free to include as many details as you&amp;#39;d like. Code snippets, screenshots, and links are all welcome.&lt;/li&gt; &lt;li&gt;Whether it&amp;#39;s your job, your hobby, or your passion project, all Python-related work is welcome here.&lt;/li&gt; &lt;/ul&gt; &lt;h1&gt;Example Shares:&lt;/h1&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Machine Learning Model&lt;/strong&gt;: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Web Scraping&lt;/strong&gt;: Built a script to scrape and analyze news articles. It&amp;#39;s helped me understand media bias better.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Automation&lt;/strong&gt;: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s build and grow together! Share your journey and learn from others. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u5601h/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u5601h/sunday_daily_thread_whats_everyone_working_on/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u5601h</id><link href="https://www.reddit.com/r/Python/comments/1u5601h/sunday_daily_thread_whats_everyone_working_on/" /><updated>2026-06-14T00:00:13+00:00</updated><published>2026-06-14T00:00:13+00:00</published><title>Sunday Daily Thread: What's everyone working on this week?</title></entry><entry><author><name>/u/flying_dutchman00</name><uri>https://www.reddit.com/user/flying_dutchman00</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I love ty server for python. For those who font know what ty is, it&amp;#39;s a language server for python made by ASTRAL.sh, creators of UV and ruff.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;The one thing i love the most is type hints kike in rust, so if a function has type annotations, uts return type is automatically labelled as that type.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;But it&amp;#39;s still not mature. For one, if a python string represents a module, like configuring installed apps or views in django, we dont get any feature to click on it and go to the module.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/flying_dutchman00&quot;&gt; /u/flying_dutchman00 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u5mtpv/ty_is_still_not_professionally_good/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u5mtpv/ty_is_still_not_professionally_good/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u5mtpv</id><link href="https://www.reddit.com/r/Python/comments/1u5mtpv/ty_is_still_not_professionally_good/" /><updated>2026-06-14T14:37:27+00:00</updated><published>2026-06-14T14:37:27+00:00</published><title>TY is still not professionally good</title></entry><entry><author><name>/u/riklaunim</name><uri>https://www.reddit.com/user/riklaunim</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;It&amp;#39;s rather easy to gather basic system performance metrics and info. Still, with game performance metrics like FPS, Python has to use existing specialized apps and parse their output or read their shared memory.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Tutorial link&lt;/strong&gt;: &lt;a href=&quot;https://rkblog.dev/posts/pc-performance/performance-monitoring-with-python/&quot;&gt;https://rkblog.dev/posts/pc-performance/performance-monitoring-with-python/&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/riklaunim&quot;&gt; /u/riklaunim &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4n10a/system_and_game_performance_monitoring_with_python/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4n10a/system_and_game_performance_monitoring_with_python/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u4n10a</id><link href="https://www.reddit.com/r/Python/comments/1u4n10a/system_and_game_performance_monitoring_with_python/" /><updated>2026-06-13T10:04:37+00:00</updated><published>2026-06-13T10:04:37+00:00</published><title>System and game performance monitoring with Python</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Resource Request and Sharing 📚&lt;/h1&gt; &lt;p&gt;Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Request&lt;/strong&gt;: Can&amp;#39;t find a resource on a particular topic? Ask here!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Share&lt;/strong&gt;: Found something useful? Share it with the community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Review&lt;/strong&gt;: Give or get opinions on Python resources you&amp;#39;ve used.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Please include the type of resource (e.g., book, video, article) and the topic.&lt;/li&gt; &lt;li&gt;Always be respectful when reviewing someone else&amp;#39;s shared resource.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Shares:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Book&lt;/strong&gt;: &lt;a href=&quot;https://www.amazon.com/Fluent-Python-Concise-Effective-Programming/dp/1491946008&quot;&gt;&amp;quot;Fluent Python&amp;quot;&lt;/a&gt; - Great for understanding Pythonic idioms.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Video&lt;/strong&gt;: &lt;a href=&quot;https://www.youtube.com/watch?v=pkYVOmU3MgA&quot;&gt;Python Data Structures&lt;/a&gt; - Excellent overview of Python&amp;#39;s built-in data structures.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Article&lt;/strong&gt;: &lt;a href=&quot;https://realpython.com/primer-on-python-decorators/&quot;&gt;Understanding Python Decorators&lt;/a&gt; - A deep dive into decorators.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Example Requests:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Looking for&lt;/strong&gt;: Video tutorials on web scraping with Python.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Need&lt;/strong&gt;: Book recommendations for Python machine learning.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Share the knowledge, enrich the community. Happy learning! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4bs1t/saturday_daily_thread_resource_request_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4bs1t/saturday_daily_thread_resource_request_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u4bs1t</id><link href="https://www.reddit.com/r/Python/comments/1u4bs1t/saturday_daily_thread_resource_request_and/" /><updated>2026-06-13T00:00:11+00:00</updated><published>2026-06-13T00:00:11+00:00</published><title>Saturday Daily Thread: Resource Request and Sharing! Daily Thread</title></entry><entry><author><name>/u/roudra</name><uri>https://www.reddit.com/user/roudra</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;A while back, I built a lightweight, in-memory &lt;code&gt;asyncio&lt;/code&gt; rate limiter. It was perfect for standard single-node Python scripts where I just needed to prevent a local loop from spamming an API.&lt;/p&gt; &lt;p&gt;But recently, the requirements scaled up. I was building a background monitoring pipeline deployed across multiple Kubernetes pods. The pipeline does two things:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Ingests heavy project metrics from PowerBI APIs.&lt;/li&gt; &lt;li&gt;Shoots that data downstream to an LLM to generate automated insights and warnings.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;I dropped my trusty local rate limiter into the cluster, expecting it to just work. The moment the K8s pods woke up and triggered their &lt;code&gt;asyncio.gather()&lt;/code&gt; loops, they fired concurrent requests in the exact same millisecond. PowerBI instantly panicked, slapped me with 429s, and dropped connections.&lt;/p&gt; &lt;p&gt;Local in-memory queues obviously don&amp;#39;t sync across pods. When I tried to implement a standard Redis-backed &amp;quot;Leaky Bucket&amp;quot; with active background queues to fix it, it caused nasty lock contention and race conditions across the cluster under heavy load.&lt;/p&gt; &lt;p&gt;So, I ended up rewriting and extending the library into a distributed traffic-shaping engine called Throttlekit.&lt;/p&gt; &lt;p&gt;I realized this pipeline actually needed two completely different algorithms to handle the upstream and downstream bottlenecks:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;For PowerBI Ingestion (Strict Pacing):&lt;/strong&gt; I used GCRA (Generic Cell Rate Algorithm) for the Leaky Bucket. PowerBI is brittle and hates bursts. GCRA uses stateless timestamp math instead of a background queue. If 20 concurrent pods hit it, it calculates the exact millisecond each one is allowed to fire and spaces them out perfectly (e.g., 1 call every 200ms). It syncs via a single atomic Redis check.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;For LLM Insights (Bursty Quotas):&lt;/strong&gt; I kept the standard Token Bucket. When the data finally trickles through from PowerBI, the pods need answers now. The Token Bucket allows the distributed pods to instantly consume a massive burst of concurrent LLM calls, leveraging the full capacity of our API tier without artificial pacing, right up until the minute&amp;#39;s quota is exhausted.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Because of how it evolved, the API is designed to let you seamlessly transition from local testing to distributed production. Here is what the dual-gate architecture looks like in code (stripped down to the core logic for the sake of the post!):&lt;/p&gt; &lt;pre&gt;&lt;code&gt;import asyncio import redis.asyncio as aioredis from throttlekit import ( DistributedLeakyBucket, DistributedTokenBucket, RedisBackend ) redis_client = aioredis.from_url(&amp;quot;redis://redis-cluster:6379&amp;quot;) backend = RedisBackend(redis_client) powerbi_limiter = DistributedLeakyBucket( backend=backend, rate=5.0, max_queue_size=100, name=&amp;quot;powerbi_ingestion&amp;quot; ) llm_limiter = DistributedTokenBucket( backend=backend, max_tokens=50, refill_interval=60.0, name=&amp;quot;llm_agents&amp;quot; ) @powerbi_limiter.limit(key=&amp;quot;shared_tenant&amp;quot;, block=True) async def fetch_powerbi_data(project_id: str) -&amp;gt; str: await asyncio.sleep(0.1) return f&amp;quot;raw_data_{project_id}&amp;quot; @llm_limiter.limit(key=&amp;quot;shared_llm_quota&amp;quot;, block=True) async def generate_warning(data: str) -&amp;gt; str: # Pods can execute these in massive simultaneous bursts when tokens are available await asyncio.sleep(0.2) return &amp;quot;warning_insight&amp;quot; async def process_project(project_id: str): data = await fetch_powerbi_data(project_id) insight = await generate_warning(data) print(f&amp;quot;Processed {project_id}: {insight}&amp;quot;) async def main(): async with asyncio.TaskGroup() as tg: for i in range(20): tg.create_task(process_project(f&amp;quot;proj_{i}&amp;quot;)) if __name__ == &amp;quot;__main__&amp;quot;: asyncio.run(main()) &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;I also built in complete FastAPI integration (&lt;code&gt;Depends&lt;/code&gt; injection and Middleware) if you happen to need this to protect incoming web endpoints instead of outbound workers.&lt;/p&gt; &lt;p&gt;I&amp;#39;m curious about how you guys are handling outbound rate limits across K8s right now. Are you just using heavy message brokers like Celery/RabbitMQ to manage ingestion pacing, or have you found lighter ways to enforce cross-pod API limits?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/roudra&quot;&gt; /u/roudra &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4qbzz/i_scaled_my_local_async_rate_limiter_for/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u4qbzz/i_scaled_my_local_async_rate_limiter_for/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u4qbzz</id><link href="https://www.reddit.com/r/Python/comments/1u4qbzz/i_scaled_my_local_async_rate_limiter_for/" /><updated>2026-06-13T12:58:34+00:00</updated><published>2026-06-13T12:58:34+00:00</published><title>I scaled my local async rate limiter for distributed PowerBI ingestion and everything broke.</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Meta Discussions and Free Talk Friday 🎙️&lt;/h1&gt; &lt;p&gt;Welcome to Free Talk Friday on &lt;a href=&quot;/r/Python&quot;&gt;/r/Python&lt;/a&gt;! This is the place to discuss the &lt;a href=&quot;/r/Python&quot;&gt;r/Python&lt;/a&gt; community (meta discussions), Python news, projects, or anything else Python-related!&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Open Mic&lt;/strong&gt;: Share your thoughts, questions, or anything you&amp;#39;d like related to Python or the community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Pulse&lt;/strong&gt;: Discuss what you feel is working well or what could be improved in the &lt;a href=&quot;/r/python&quot;&gt;/r/python&lt;/a&gt; community.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;News &amp;amp; Updates&lt;/strong&gt;: Keep up-to-date with the latest in Python and share any news you find interesting.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;All topics should be related to Python or the &lt;a href=&quot;/r/python&quot;&gt;/r/python&lt;/a&gt; community.&lt;/li&gt; &lt;li&gt;Be respectful and follow Reddit&amp;#39;s &lt;a href=&quot;https://www.redditinc.com/policies/content-policy&quot;&gt;Code of Conduct&lt;/a&gt;.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Topics:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;New Python Release&lt;/strong&gt;: What do you think about the new features in Python 3.11?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Events&lt;/strong&gt;: Any Python meetups or webinars coming up?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Learning Resources&lt;/strong&gt;: Found a great Python tutorial? Share it here!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Job Market&lt;/strong&gt;: How has Python impacted your career?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Hot Takes&lt;/strong&gt;: Got a controversial Python opinion? Let&amp;#39;s hear it!&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Community Ideas&lt;/strong&gt;: Something you&amp;#39;d like to see us do? tell us.&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s keep the conversation going. Happy discussing! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u3fmnq/friday_daily_thread_rpython_meta_and_freetalk/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u3fmnq/friday_daily_thread_rpython_meta_and_freetalk/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u3fmnq</id><link href="https://www.reddit.com/r/Python/comments/1u3fmnq/friday_daily_thread_rpython_meta_and_freetalk/" /><updated>2026-06-12T00:00:22+00:00</updated><published>2026-06-12T00:00:22+00:00</published><title>Friday Daily Thread: r/Python Meta and Free-Talk Fridays</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Thread: Professional Use, Jobs, and Education 🏢&lt;/h1&gt; &lt;p&gt;Welcome to this week&amp;#39;s discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;.&lt;/p&gt; &lt;hr/&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Talk&lt;/strong&gt;: Discuss using Python in your job, or the job market for Python roles.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Education Q&amp;amp;A&lt;/strong&gt;: Ask or answer questions about Python courses, certifications, and educational resources.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Chat&lt;/strong&gt;: Share your experiences, challenges, or success stories about using Python professionally.&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is &lt;strong&gt;not for recruitment&lt;/strong&gt;. For job postings, please see &lt;a href=&quot;/r/PythonJobs&quot;&gt;r/PythonJobs&lt;/a&gt; or the recruitment thread in the sidebar.&lt;/li&gt; &lt;li&gt;Keep discussions relevant to Python in the professional and educational context.&lt;/li&gt; &lt;/ul&gt; &lt;hr/&gt; &lt;h2&gt;Example Topics:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Career Paths&lt;/strong&gt;: What kinds of roles are out there for Python developers?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Certifications&lt;/strong&gt;: Are Python certifications worth it?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Course Recommendations&lt;/strong&gt;: Any good advanced Python courses to recommend?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Workplace Tools&lt;/strong&gt;: What Python libraries are indispensable in your professional work?&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Interview Tips&lt;/strong&gt;: What types of Python questions are commonly asked in interviews?&lt;/li&gt; &lt;/ol&gt; &lt;hr/&gt; &lt;p&gt;Let&amp;#39;s help each other grow in our careers and education. Happy discussing! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u2j6v4/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u2j6v4/thursday_daily_thread_python_careers_courses_and/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u2j6v4</id><link href="https://www.reddit.com/r/Python/comments/1u2j6v4/thursday_daily_thread_python_careers_courses_and/" /><updated>2026-06-11T00:00:05+00:00</updated><published>2026-06-11T00:00:05+00:00</published><title>Thursday Daily Thread: Python Careers, Courses, and Furthering Education!</title></entry><entry><author><name>/u/JanGiacomelli</name><uri>https://www.reddit.com/user/JanGiacomelli</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;For example, FastAPI introduced a breaking change in a minor version upgrade. By default, it started rejecting requests without a &lt;code&gt;Content-Type&lt;/code&gt; header. With only the major version pinned, &lt;code&gt;uv lock --upgrade&lt;/code&gt; upgrades to the latest version. A similar thing has happened with google-auth-oauthlib. And that&amp;#39;s what bit us.&lt;/p&gt; &lt;p&gt;In our case, everything was fine after the upgrade according to the end-to-end test suite, since most modern HTTP clients add the &lt;code&gt;Content-Type&lt;/code&gt; header by default. The issue arose when calls were made using some older Java versions. The customer didn&amp;#39;t explicitly add the header, so calls were rejected once their cron had started.&lt;/p&gt; &lt;p&gt;Since reading every release note for every dependency is a very dull and time-consuming task, we wrote a Python script that downloads all release notes and added a Claude command to read them, update dependency versions, and update code as required by breaking changes, while keeping the existing state. So far, it&amp;#39;s working great.&lt;/p&gt; &lt;p&gt;Anyhow, curious to hear how others are dealing with these things? I assume you&amp;#39;re not reading every release note for every dependency?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/JanGiacomelli&quot;&gt; /u/JanGiacomelli &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u262w7/whats_your_approach_for_breaking_changes_inside/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u262w7/whats_your_approach_for_breaking_changes_inside/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u262w7</id><link href="https://www.reddit.com/r/Python/comments/1u262w7/whats_your_approach_for_breaking_changes_inside/" /><updated>2026-06-10T15:51:03+00:00</updated><published>2026-06-10T15:51:03+00:00</published><title>What's your approach for breaking changes inside minor version upgrades of your dependencies</title></entry><entry><author><name>/u/AutoModerator</name><uri>https://www.reddit.com/user/AutoModerator</uri></author><category term="Python" label="r/Python"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;h1&gt;Weekly Wednesday Thread: Advanced Questions 🐍&lt;/h1&gt; &lt;p&gt;Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.&lt;/p&gt; &lt;h2&gt;How it Works:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Ask Away&lt;/strong&gt;: Post your advanced Python questions here.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Expert Insights&lt;/strong&gt;: Get answers from experienced developers.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Resource Pool&lt;/strong&gt;: Share or discover tutorials, articles, and tips.&lt;/li&gt; &lt;/ol&gt; &lt;h2&gt;Guidelines:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;This thread is for &lt;strong&gt;advanced questions only&lt;/strong&gt;. Beginner questions are welcome in our &lt;a href=&quot;#daily-beginner-thread-link&quot;&gt;Daily Beginner Thread&lt;/a&gt; every Thursday.&lt;/li&gt; &lt;li&gt;Questions that are not advanced may be removed and redirected to the appropriate thread.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Recommended Resources:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;If you don&amp;#39;t receive a response, consider exploring &lt;a href=&quot;/r/LearnPython&quot;&gt;r/LearnPython&lt;/a&gt; or join the &lt;a href=&quot;https://discord.gg/python&quot;&gt;Python Discord Server&lt;/a&gt; for quicker assistance.&lt;/li&gt; &lt;/ul&gt; &lt;h2&gt;Example Questions:&lt;/h2&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;How can you implement a custom memory allocator in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for optimizing Cython code for heavy numerical computations?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How do you set up a multi-threaded architecture using Python&amp;#39;s Global Interpreter Lock (GIL)?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How would you go about implementing a distributed task queue using Celery and RabbitMQ?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are some advanced use-cases for Python&amp;#39;s decorators?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;How can you achieve real-time data streaming in Python with WebSockets?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the performance implications of using native Python data structures vs NumPy arrays for large-scale data?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Best practices for securing a Flask (or similar) REST API with OAuth 2.0?&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;What are the best practices for using Python in a microservices architecture? (..and more generally, should I even use microservices?)&lt;/strong&gt;&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;Let&amp;#39;s deepen our Python knowledge together. Happy coding! 🌟&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/AutoModerator&quot;&gt; /u/AutoModerator &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u0p4h3/tuesday_daily_thread_advanced_questions/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/Python/comments/1u0p4h3/tuesday_daily_thread_advanced_questions/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_1u0p4h3</id><link href="https://www.reddit.com/r/Python/comments/1u0p4h3/tuesday_daily_thread_advanced_questions/" /><updated>2026-06-09T00:00:05+00:00</updated><published>2026-06-09T00:00:05+00:00</published><title>Tuesday Daily Thread: Advanced questions</title></entry></feed>