rovr: a modern, customizable, and aesthetically pleasing terminal file explorer.
source code: https://github.com/nspc911/rovr
what my project does:
- its a file manager in the terminal, made with the textual framework
comparision:
- rovr based on my testing can only compete with superfile.
- as a python project, it cannot compete in performance with yazi at all, nor can it compete with an ncurses focused ranger.
- the main point of rovr was to make it a nice experience in the terminal, and to also have touch support, something that lacked, or just felt weird, when using them
hey guys! just wanted to introduce yall to my latest project, rovr!
rovr is something that stemmed from an issue i faced in superfile which was that threaded rendering wasn't supported yet. back then, i also just discovered textual and really wanted to push its limits.
so after 3 months, and 4 minor releases, here we are! there are quite some issues that i found, hence why i havent given it the major bump, i dont feel safe doing so unlike my other projects.
the documentation is available at https://nspc911.github.io/rovr, I had quite the fun messing around with astro, my first actual web framework.
rovr is extremely customisable. I'm hoping for plugin support soon, but id like to fix as much bugs as possible,
/r/Python
https://redd.it/1mx7zzj
source code: https://github.com/nspc911/rovr
what my project does:
- its a file manager in the terminal, made with the textual framework
comparision:
- rovr based on my testing can only compete with superfile.
- as a python project, it cannot compete in performance with yazi at all, nor can it compete with an ncurses focused ranger.
- the main point of rovr was to make it a nice experience in the terminal, and to also have touch support, something that lacked, or just felt weird, when using them
hey guys! just wanted to introduce yall to my latest project, rovr!
rovr is something that stemmed from an issue i faced in superfile which was that threaded rendering wasn't supported yet. back then, i also just discovered textual and really wanted to push its limits.
so after 3 months, and 4 minor releases, here we are! there are quite some issues that i found, hence why i havent given it the major bump, i dont feel safe doing so unlike my other projects.
the documentation is available at https://nspc911.github.io/rovr, I had quite the fun messing around with astro, my first actual web framework.
rovr is extremely customisable. I'm hoping for plugin support soon, but id like to fix as much bugs as possible,
/r/Python
https://redd.it/1mx7zzj
GitHub
GitHub - NSPC911/rovr: A post-modern terminal file manager.
A post-modern terminal file manager. Contribute to NSPC911/rovr development by creating an account on GitHub.
complexipy v4.0: cognitive complexity analysis for Python
Hey everyone,
I'm excited to announce the release of complexipy v4.0.0!
This version brings important improvements to configuration, performance, and documentation, along with a breaking change in complexity calculation that makes results more accurate.
What my project does
Target Audience
- Python developers who care about readable, maintainable code.
- Teams who want to enforce quality standards in CI/CD pipelines.
- Open-source maintainers looking for automated complexity checks.
- Developers who want real-time feedback in their editors or pre-commit hooks.
Whether you're working solo or in a team,
Comparison to Alternatives
To my knowledge, complexipy is still the only dedicated tool focusing specifically on cognitive complexity analysis for Python with strong performance and integrations.
It complements other linters and code quality tools by focusing on a metric that directly impacts code readability and maintainability.
Highlights of v4.0
- Configurable via pyproject.toml: You can now define default arguments in
/r/Python
https://redd.it/1mxbp9i
Hey everyone,
I'm excited to announce the release of complexipy v4.0.0!
This version brings important improvements to configuration, performance, and documentation, along with a breaking change in complexity calculation that makes results more accurate.
What my project does
complexipy is a high-performance command-line tool and library that calculates the cognitive complexity of Python code. Unlike cyclomatic complexity, which measures how complex code is to test, cognitive complexity measures how difficult code is for humans to read and understand.Target Audience
complexipy is built for:- Python developers who care about readable, maintainable code.
- Teams who want to enforce quality standards in CI/CD pipelines.
- Open-source maintainers looking for automated complexity checks.
- Developers who want real-time feedback in their editors or pre-commit hooks.
Whether you're working solo or in a team,
complexipy helps you keep complexity under control.Comparison to Alternatives
To my knowledge, complexipy is still the only dedicated tool focusing specifically on cognitive complexity analysis for Python with strong performance and integrations.
It complements other linters and code quality tools by focusing on a metric that directly impacts code readability and maintainability.
Highlights of v4.0
- Configurable via pyproject.toml: You can now define default arguments in
[tool.complexipy] inside pyproject.toml or use a standalone complexipy.toml. This improves workflow consistency and/r/Python
https://redd.it/1mxbp9i
Reddit
From the Python community on Reddit: complexipy v4.0: cognitive complexity analysis for Python
Explore this post and more from the Python community
Complete Python Learning Guide
Hey everyone! 👋
I’ve created a Python Developer Roadmap designed to guide beginners to mid-level learners through a structured path in Python.
If you’re interested, feel free to explore it, suggest improvements, or contribute via PRs!
Check it out here: Python Developer Roadmap
/r/Python
https://redd.it/1mxaxzv
Hey everyone! 👋
I’ve created a Python Developer Roadmap designed to guide beginners to mid-level learners through a structured path in Python.
If you’re interested, feel free to explore it, suggest improvements, or contribute via PRs!
Check it out here: Python Developer Roadmap
/r/Python
https://redd.it/1mxaxzv
GitHub
GitHub - santoshvandari/Python-Developer-Roadmap: Proper Guided Roadmap to learn the Python programming language.
Proper Guided Roadmap to learn the Python programming language. - santoshvandari/Python-Developer-Roadmap
Roadmap to Become Python Developer
Hey everyone! 👋
I’ve created a Python Developer Roadmap designed to guide beginners to mid-level learners through a structured path in Python.
If you’re interested, feel free to explore it, suggest improvements, or contribute via PRs!
Check it out here: Python Developer Roadmap
/r/djangolearning
https://redd.it/1mxaxjn
Hey everyone! 👋
I’ve created a Python Developer Roadmap designed to guide beginners to mid-level learners through a structured path in Python.
If you’re interested, feel free to explore it, suggest improvements, or contribute via PRs!
Check it out here: Python Developer Roadmap
/r/djangolearning
https://redd.it/1mxaxjn
GitHub
GitHub - santoshvandari/Python-Developer-Roadmap: Proper Guided Roadmap to learn the Python programming language.
Proper Guided Roadmap to learn the Python programming language. - santoshvandari/Python-Developer-Roadmap
How do I achieve zero-downtime deployment for my Django app (Gunicorn + Nginx + DigitalOcean)?
I have a django application on DigitalOcean droplets. I’m using Gunicorn, nginx and git actions for deployment . Currently the app is serving 300 rps . How can I deploy without any downtime ?
/r/django
https://redd.it/1mxgvj7
I have a django application on DigitalOcean droplets. I’m using Gunicorn, nginx and git actions for deployment . Currently the app is serving 300 rps . How can I deploy without any downtime ?
/r/django
https://redd.it/1mxgvj7
Reddit
From the django community on Reddit
Explore this post and more from the django community
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
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!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1mxmm6l
# Weekly Thread: Resource Request and Sharing 📚
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!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1mxmm6l
Amazon
Fluent Python: Clear, Concise, and Effective Programming
Fluent Python: Clear, Concise, and Effective Programming [Ramalho, Luciano] on Amazon.com. *FREE* shipping on qualifying offers. Fluent Python: Clear, Concise, and Effective Programming
Django ABAC implementation - handling fine-grained permissions across API boundaries?
Hey everyone, working on a Django + DRF project where I need to implement attribute-based access control that goes beyond the standard Django permissions model.
Context: I've got a dashboard frontend that needs to conditionally render UI components based on user permissions that are determined server-side. Think stuff like:
Showing/hiding specific tabs or sections based on user attributes + resource properties
Enabling/disabling actions on list items based on ownership, department, or time-based rules
Dynamic form field access based on user role + object state
Right now I'm using Django's built-in permissions for basic CRUD, but I need something more flexible that can handle rules like "users can edit documents they created, but only if the document is in draft status and they're in the same department as the original author."
The challenge: I want to send these permission decisions to the frontend efficiently - probably just bundle them with API responses or have a lightweight endpoint that returns permission maps for specific resources.
I've looked at django-guardian (solid but seems clunky with DRF) and drf-access-policy (looks abandoned?). I'm trying to avoid external services like Keycloak for this.
Question: How are you folks handling ABAC in Django? Are you rolling your own permission classes, extending Django's framework, or using
/r/django
https://redd.it/1mxrf1z
Hey everyone, working on a Django + DRF project where I need to implement attribute-based access control that goes beyond the standard Django permissions model.
Context: I've got a dashboard frontend that needs to conditionally render UI components based on user permissions that are determined server-side. Think stuff like:
Showing/hiding specific tabs or sections based on user attributes + resource properties
Enabling/disabling actions on list items based on ownership, department, or time-based rules
Dynamic form field access based on user role + object state
Right now I'm using Django's built-in permissions for basic CRUD, but I need something more flexible that can handle rules like "users can edit documents they created, but only if the document is in draft status and they're in the same department as the original author."
The challenge: I want to send these permission decisions to the frontend efficiently - probably just bundle them with API responses or have a lightweight endpoint that returns permission maps for specific resources.
I've looked at django-guardian (solid but seems clunky with DRF) and drf-access-policy (looks abandoned?). I'm trying to avoid external services like Keycloak for this.
Question: How are you folks handling ABAC in Django? Are you rolling your own permission classes, extending Django's framework, or using
/r/django
https://redd.it/1mxrf1z
Reddit
From the django community on Reddit
Explore this post and more from the django community
Glyph.Flow: a minimalist project and task manager
**Hey everyone,**
I’ve been working on a project called **Glyph.Flow**, a minimalist workflow manager written in **Python** with [Textual](https://github.com/Textualize/textual) (and Rich).
It’s basically a text-based project/phase/task/subtask manager that runs in the terminal.
[GitHub](https://github.com/daemonic01/Glyph.Flow)
**What My Project Does**
Glyph.Flow is a **text-based workflow manager** written in Python with [Textual](https://github.com/Textualize/textual).
It manages projects hierarchically (Project → Phase → Task → Subtask) and tracks progress as subtasks are marked complete.
Commands are typed like in a little shell, and now defined declaratively through a central **command registry**.
The plan is to build a full **TUI interface** on top of this backend once the CLI core is stable.
**Target Audience**
Right now it’s a **prototype / devlog project**.
It’s not production-ready, but intended for:
* developers who like working inside the terminal,
* folks curious about **Textual/Rich** as a platform for building non-trivial apps,
* anyone who wants a lightweight project/task manager without web/app overhead.
**Comparison**
Most workflow managers are web-based or GUI-driven.
* Compared to **taskwarrior** or **todo.txt**: Glyph.Flow emphasizes **hierarchical structures** (phases, tasks, subtasks) rather than flat task lists.
* Compared to existing **Python CLI tools**: it’s built on Textual, aiming to evolve into a TUI with styled logs, tables, and panels, closer to
/r/Python
https://redd.it/1mxj62r
**Hey everyone,**
I’ve been working on a project called **Glyph.Flow**, a minimalist workflow manager written in **Python** with [Textual](https://github.com/Textualize/textual) (and Rich).
It’s basically a text-based project/phase/task/subtask manager that runs in the terminal.
[GitHub](https://github.com/daemonic01/Glyph.Flow)
**What My Project Does**
Glyph.Flow is a **text-based workflow manager** written in Python with [Textual](https://github.com/Textualize/textual).
It manages projects hierarchically (Project → Phase → Task → Subtask) and tracks progress as subtasks are marked complete.
Commands are typed like in a little shell, and now defined declaratively through a central **command registry**.
The plan is to build a full **TUI interface** on top of this backend once the CLI core is stable.
**Target Audience**
Right now it’s a **prototype / devlog project**.
It’s not production-ready, but intended for:
* developers who like working inside the terminal,
* folks curious about **Textual/Rich** as a platform for building non-trivial apps,
* anyone who wants a lightweight project/task manager without web/app overhead.
**Comparison**
Most workflow managers are web-based or GUI-driven.
* Compared to **taskwarrior** or **todo.txt**: Glyph.Flow emphasizes **hierarchical structures** (phases, tasks, subtasks) rather than flat task lists.
* Compared to existing **Python CLI tools**: it’s built on Textual, aiming to evolve into a TUI with styled logs, tables, and panels, closer to
/r/Python
https://redd.it/1mxj62r
GitHub
GitHub - Textualize/textual: The lean application framework for Python. Build sophisticated user interfaces with a simple Python…
The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser. - Textualize/textual
Looking for ppl to Collaborate with!!!
Hey everyone,
I’ve recently graduated from college and I’m currently working as a Software Engineer in Pune, India. I’m looking to connect with people who’d like to collaborate on projects — both to grow my knowledge and for networking.
If you have any project ideas we could build together, or even if you just want to brainstorm and see where it leads, feel free to DM me!
A little about me:
* Fluent in **Python** 🐍
* Experience with frameworks like **Django**, **FastAPI**, and some **Streamlit**
* Recently started exploring **Django Ninja** for a more Pydantic-style experience
Always excited to learn and work on fun projects with like-minded people.
/r/Python
https://redd.it/1mxvre9
Hey everyone,
I’ve recently graduated from college and I’m currently working as a Software Engineer in Pune, India. I’m looking to connect with people who’d like to collaborate on projects — both to grow my knowledge and for networking.
If you have any project ideas we could build together, or even if you just want to brainstorm and see where it leads, feel free to DM me!
A little about me:
* Fluent in **Python** 🐍
* Experience with frameworks like **Django**, **FastAPI**, and some **Streamlit**
* Recently started exploring **Django Ninja** for a more Pydantic-style experience
Always excited to learn and work on fun projects with like-minded people.
/r/Python
https://redd.it/1mxvre9
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
A Simple TUI SSH Manager
# What My Project Does:
This is a TUI (Terminal User Interface) python app that shows a list of hosts configured from a yaml file and when that host is selected will ssh directly into that host. The goal is SSH Management for those who manage a large number of hosts that you SSH into on a regular basis.
# Target Audience:
* System Administrator's
* DevOps
* ITOps
# Comparison:
I have been searching for a simple to use SSH Manager that runs in the terminal yet I cam across some that don't work or function the way I wanted, and others that are only web-based or use a paid Desktop GUI. So I decided to write my own in python. I wonder if this is beneficial to anyone so maybe I can expand on it?
**Tested & Compatible OS's:** Windows 11, macOS, Linux, FreeBSD and OpenBSD
**GitHub Source Code:** [https://github.com/WMRamadan/sshup-tui](https://github.com/WMRamadan/sshup-tui)
**PyPi Library:** [https://pypi.org/project/sshup/](https://pypi.org/project/sshup/)
/r/Python
https://redd.it/1mxtbt1
# What My Project Does:
This is a TUI (Terminal User Interface) python app that shows a list of hosts configured from a yaml file and when that host is selected will ssh directly into that host. The goal is SSH Management for those who manage a large number of hosts that you SSH into on a regular basis.
# Target Audience:
* System Administrator's
* DevOps
* ITOps
# Comparison:
I have been searching for a simple to use SSH Manager that runs in the terminal yet I cam across some that don't work or function the way I wanted, and others that are only web-based or use a paid Desktop GUI. So I decided to write my own in python. I wonder if this is beneficial to anyone so maybe I can expand on it?
**Tested & Compatible OS's:** Windows 11, macOS, Linux, FreeBSD and OpenBSD
**GitHub Source Code:** [https://github.com/WMRamadan/sshup-tui](https://github.com/WMRamadan/sshup-tui)
**PyPi Library:** [https://pypi.org/project/sshup/](https://pypi.org/project/sshup/)
/r/Python
https://redd.it/1mxtbt1
GitHub
GitHub - WMRamadan/sshup-tui: A Simple SSH Manager TUI
A Simple SSH Manager TUI. Contribute to WMRamadan/sshup-tui development by creating an account on GitHub.
D AAAI considered 2nd tier now?
Isn’t AAAI in the same tier as NeurIPS/ICML/ICLR?
ICLR literally has >30% acceptance rate.
/r/MachineLearning
https://redd.it/1mxrt1y
Isn’t AAAI in the same tier as NeurIPS/ICML/ICLR?
ICLR literally has >30% acceptance rate.
/r/MachineLearning
https://redd.it/1mxrt1y
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Python devs, what’s the feature you still can’t live without after years of coding?
I’ve been coding in Python for about 4 years now, and even after all this time, I still catch myself appreciating the little things that make it so enjoyable. Clean syntax, readability, and just how “pythonic” solutions often feel! it’s hard to beat.
Some features have become second nature for me, like list comprehensions,
Would love to hear your go-to gems, whether it’s something obvious or a lesser-known trick you can’t live without 👇
/r/Python
https://redd.it/1mxxrvn
I’ve been coding in Python for about 4 years now, and even after all this time, I still catch myself appreciating the little things that make it so enjoyable. Clean syntax, readability, and just how “pythonic” solutions often feel! it’s hard to beat.
Some features have become second nature for me, like list comprehensions,
enumerate(), and Python’s super flexible dictionaries. But I’m curious what it’s like for others who work with Python daily.Would love to hear your go-to gems, whether it’s something obvious or a lesser-known trick you can’t live without 👇
/r/Python
https://redd.it/1mxxrvn
Reddit
From the Python community on Reddit: [ Removed by moderator ]
Posted by NullPointerMood_1 - 61 votes and 78 comments
Stop refreshing Google Flights - build your own flight price tracker!
In my latest tutorial, I'll show you how to scrape real-time flight data (prices, airlines, layovers, even logos) using Python, Flask, and SerpAPI - all displayed in a simple web app you control.
This is perfect if you:
\- Want the cheapest flights without checking manually every day
\- Are a dev curious about scraping + automation
\- Need a starter project for building a full flight tracker with alerts
Tools: Python, Flask, SerpAPI, Bootstrap
Check the video here: YouTube video
📌 Bonus: In my next video, I'll show you how to add price drop alerts via Telegram/Email
/r/flask
https://redd.it/1my6rd8
In my latest tutorial, I'll show you how to scrape real-time flight data (prices, airlines, layovers, even logos) using Python, Flask, and SerpAPI - all displayed in a simple web app you control.
This is perfect if you:
\- Want the cheapest flights without checking manually every day
\- Are a dev curious about scraping + automation
\- Need a starter project for building a full flight tracker with alerts
Tools: Python, Flask, SerpAPI, Bootstrap
Check the video here: YouTube video
📌 Bonus: In my next video, I'll show you how to add price drop alerts via Telegram/Email
/r/flask
https://redd.it/1my6rd8
YouTube
Python + Flask: Create a Real-Time Flight Price Scraper
Tired of refreshing Google Flights every day? 🚫
In this step-by-step tutorial, I’ll show you how to build your own flight price scraper using Python, Flask, and SerpAPI to get real-time airline data — including prices, layovers, airline logos, and more!…
In this step-by-step tutorial, I’ll show you how to build your own flight price scraper using Python, Flask, and SerpAPI to get real-time airline data — including prices, layovers, airline logos, and more!…
I wrote a guide on Layered Reward Architecture (LRA) to fix the "single-reward fallacy" in
I wanted to share a framework for making RLHF more robust, especially for complex systems that chain LLMs, RAG, and tools.
We all know a single scalar reward is brittle. It gets gamed, starves components (like the retriever), and is a nightmare to debug. I call this the "single-reward fallacy."
My post details the **Layered Reward Architecture (LRA)**, which decomposes the reward into a vector of verifiable signals from specialized models and rules. The core idea is to fail fast and reward granularly.
The layers I propose are:
* **Structural:** Is the output format (JSON, code syntax) correct?
* **Task-Specific:** Does it pass unit tests or match a ground truth?
* **Semantic:** Is it factually grounded in the provided context?
* **Behavioral/Safety:** Does it pass safety filters?
* **Qualitative:** Is it helpful and well-written? (The final, expensive check)
In the guide, I cover the architecture, different methods for weighting the layers (including regressing against human labels), and provide code examples for Best-of-N reranking and PPO integration.
Would love to hear how you all are approaching this problem. Are you using multi-objective rewards? How are you handling credit assignment in chained systems?
**Full guide here:**[The Layered Reward Architecture (LRA): A Complete Guide to Multi-Layer, Multi-Model Reward Mechanisms | by Pavan Kunchala | Aug, 2025 | Medium](https://pavankunchalapk.medium.com/the-layered-reward-architecture-lra-a-complete-guide-to-multi-layer-multi-model-reward-631405e1c1af)
**TL;DR:** Single rewards in
/r/Python
https://redd.it/1mydedk
I wanted to share a framework for making RLHF more robust, especially for complex systems that chain LLMs, RAG, and tools.
We all know a single scalar reward is brittle. It gets gamed, starves components (like the retriever), and is a nightmare to debug. I call this the "single-reward fallacy."
My post details the **Layered Reward Architecture (LRA)**, which decomposes the reward into a vector of verifiable signals from specialized models and rules. The core idea is to fail fast and reward granularly.
The layers I propose are:
* **Structural:** Is the output format (JSON, code syntax) correct?
* **Task-Specific:** Does it pass unit tests or match a ground truth?
* **Semantic:** Is it factually grounded in the provided context?
* **Behavioral/Safety:** Does it pass safety filters?
* **Qualitative:** Is it helpful and well-written? (The final, expensive check)
In the guide, I cover the architecture, different methods for weighting the layers (including regressing against human labels), and provide code examples for Best-of-N reranking and PPO integration.
Would love to hear how you all are approaching this problem. Are you using multi-objective rewards? How are you handling credit assignment in chained systems?
**Full guide here:**[The Layered Reward Architecture (LRA): A Complete Guide to Multi-Layer, Multi-Model Reward Mechanisms | by Pavan Kunchala | Aug, 2025 | Medium](https://pavankunchalapk.medium.com/the-layered-reward-architecture-lra-a-complete-guide-to-multi-layer-multi-model-reward-631405e1c1af)
**TL;DR:** Single rewards in
/r/Python
https://redd.it/1mydedk
Medium
The Layered Reward Architecture (LRA): A Complete Guide to Multi-Layer, Multi-Model Reward Mechanisms
Why This Guide?
I’m starting a series on Python performance optimizations, Looking for real-world use cases!
Hey everyone,
I’m planning to start a series (not sure yet if it’ll be a blog, video, podcast, or something else) focused on **Python performance**. The idea is to explore concrete ways to:
* Make Python code run faster
* Optimize memory usage
* Reduce infrastructure costs (e.g., cloud bills)
I’d love to base this on **real-world use cases** instead of just micro-benchmarks or contrived examples.
If you’ve ever run into performance issues in Python whether it’s slow scripts, web backends costing too much to run, or anything else I’d really appreciate if you could share your story.
These will serve as case studies for me to propose optimizations, compare approaches, and hopefully make the series valuable for the community.
Thanks in advance for any examples you can provide!
/r/Python
https://redd.it/1my65vc
Hey everyone,
I’m planning to start a series (not sure yet if it’ll be a blog, video, podcast, or something else) focused on **Python performance**. The idea is to explore concrete ways to:
* Make Python code run faster
* Optimize memory usage
* Reduce infrastructure costs (e.g., cloud bills)
I’d love to base this on **real-world use cases** instead of just micro-benchmarks or contrived examples.
If you’ve ever run into performance issues in Python whether it’s slow scripts, web backends costing too much to run, or anything else I’d really appreciate if you could share your story.
These will serve as case studies for me to propose optimizations, compare approaches, and hopefully make the series valuable for the community.
Thanks in advance for any examples you can provide!
/r/Python
https://redd.it/1my65vc
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1myh2vu
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1myh2vu
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
D How did JAX fare in the post transformer world?
A few years ago, there was a lot of buzz around JAX, with some enthusiasts going as far as saying it would disrupt PyTorch. Every now and then, some big AI lab would release stuff in JAX or a PyTorch dev would write a post about it, and some insightful and inspired discourse would ensue with big prospects. However, chatter and development have considerably quieted down since transformers, large multimodal models, and the ongoing LLM fever. Is it still promising?
Or at least, this is my impression, which I concede might be myopic due to my research and industry needs.
/r/MachineLearning
https://redd.it/1mybwih
A few years ago, there was a lot of buzz around JAX, with some enthusiasts going as far as saying it would disrupt PyTorch. Every now and then, some big AI lab would release stuff in JAX or a PyTorch dev would write a post about it, and some insightful and inspired discourse would ensue with big prospects. However, chatter and development have considerably quieted down since transformers, large multimodal models, and the ongoing LLM fever. Is it still promising?
Or at least, this is my impression, which I concede might be myopic due to my research and industry needs.
/r/MachineLearning
https://redd.it/1mybwih
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
I made a MkDocs plugin to embed interactive jupyter notebooks in your docs via jupyterlite.
I made https://github.com/NickCrews/mkdocs-jupyterlite after being disappointed with the existing options for sharing notebooks on my doc site:
\- Binder: sharable, interactive environments. Requires a full docker environment and a remote server. Hosted separately from your docs, so a user has to click away. Takes 30-60 seconds to boot up. Similar to this would be a link to a google colab notebook.
\- mkdocs-jupyter: A MkDocs plugin that embeds static Jupyter notebooks into your MkDocs site. Easy to use, but with the main downside that all the content is static. Users can't play around with the notebook.
\- jupyterlite-sphinx: A Sphinx extension that integrates JupyterLite within your Sphinx docs site. Nearly exactly what I wanted, but I use MkDocs, not sphinx.
I just wanted to share this project here as an FYI. I would love to see people file issues and PRs to make this useful to a larger community!
/r/Python
https://redd.it/1myfkuw
I made https://github.com/NickCrews/mkdocs-jupyterlite after being disappointed with the existing options for sharing notebooks on my doc site:
\- Binder: sharable, interactive environments. Requires a full docker environment and a remote server. Hosted separately from your docs, so a user has to click away. Takes 30-60 seconds to boot up. Similar to this would be a link to a google colab notebook.
\- mkdocs-jupyter: A MkDocs plugin that embeds static Jupyter notebooks into your MkDocs site. Easy to use, but with the main downside that all the content is static. Users can't play around with the notebook.
\- jupyterlite-sphinx: A Sphinx extension that integrates JupyterLite within your Sphinx docs site. Nearly exactly what I wanted, but I use MkDocs, not sphinx.
I just wanted to share this project here as an FYI. I would love to see people file issues and PRs to make this useful to a larger community!
/r/Python
https://redd.it/1myfkuw
GitHub
GitHub - NickCrews/mkdocs-jupyterlite: A MkDocs plugin for embedding interactive jupyter notebooks in your docs via jupyterlite.
A MkDocs plugin for embedding interactive jupyter notebooks in your docs via jupyterlite. - NickCrews/mkdocs-jupyterlite
Authorization and Workflow Engine
Hi,
So Authorization takes care of thing where a user can only access certain resources we can make it no access, view only or everything as per business requirement by using custom permission, permit io, django guardian and also by writing inefficient bunch of if else conditions.
My Scenario:
Example : Building a HRMS (Human Resource Management Service) portal
RM = Reporting Manager , AM = Assistant Manager , GM = Group Manager
A employee applies for leave.
Case 1: 1 day leave, RM is available. RM will receive a notification, he can see and approve the leave.
Case 2: 3 Days Leave, RM will approve and post that it will go to AM for approval. Both will be notified.
Case 3: 1 Week Leave, Directly go to GM for approval, RM & AM can't see it even on their end.
Case 4: 1 day leave, RM himself in on vacation, AM will get notification and he can approve.
Case 5: 3 day leave, RM is on leave, GM is available. Directly GM will get notification.
Case 6: 1 leave leave, RM is on leave but before going on leave he assigned someone in his team the power of approving leave, no leave
/r/django
https://redd.it/1mypuqg
Hi,
So Authorization takes care of thing where a user can only access certain resources we can make it no access, view only or everything as per business requirement by using custom permission, permit io, django guardian and also by writing inefficient bunch of if else conditions.
My Scenario:
Example : Building a HRMS (Human Resource Management Service) portal
RM = Reporting Manager , AM = Assistant Manager , GM = Group Manager
A employee applies for leave.
Case 1: 1 day leave, RM is available. RM will receive a notification, he can see and approve the leave.
Case 2: 3 Days Leave, RM will approve and post that it will go to AM for approval. Both will be notified.
Case 3: 1 Week Leave, Directly go to GM for approval, RM & AM can't see it even on their end.
Case 4: 1 day leave, RM himself in on vacation, AM will get notification and he can approve.
Case 5: 3 day leave, RM is on leave, GM is available. Directly GM will get notification.
Case 6: 1 leave leave, RM is on leave but before going on leave he assigned someone in his team the power of approving leave, no leave
/r/django
https://redd.it/1mypuqg
Reddit
From the django community on Reddit
Explore this post and more from the django community