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/1p9a5ab
# 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/1p9a5ab
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
Interview questions for 2-3 yoe Django/DRF developer
Hi!
Could any recruiter or senior Django developer share some interview questions you usually ask or have encountered in your interviews?
Your help and time would be greatly appreciated.
/r/djangolearning
https://redd.it/1p6ltr0
Hi!
Could any recruiter or senior Django developer share some interview questions you usually ask or have encountered in your interviews?
Your help and time would be greatly appreciated.
/r/djangolearning
https://redd.it/1p6ltr0
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
PyPermission: A Python native RBAC authorization library!
Hello everyone at r/python!
At our company, we repeatedly needed to integrate authorization into Python projects and found the ecosystem a bit lacking.
# Comparison With Other Solutions
Django's permission system wasn't enough
Casbin, Keto and OPA offer flexible solutions, but can be hard to integrate
We wanted something Python-native, without a policy DSL and with auditing support
# What My Project Does
Knowing that authorization comes with many pitfalls, we decided to build an RBAC model focussing on an intuitive API and extensive testing. PyPermission is the result and draws on what we learned implementing RBAC across multiple projects (with and without third party solutions).
NIST RBAC Level 2a (supports general role hierarchies)
Framework independent, Free and Open Source
Additional capabilities from the ANSI RBAC model
A simple and tested python API
Persistency via PostgreSQL or Sqlite (SQLAlchemy)
# Target Audience
Developers looking for a simple authz solution without enterprise complexities, but a well established RBAC model.
The core implementation of the library is feature complete and heavily tested (overall test coverage of 97%) and we desire to have everything battle tested now. This is why we are excited to share our project with you and want to hear your feedback!
Repo: [https://github.com/DigonIO/pypermission](https://github.com/DigonIO/pypermission)
Docs: https://pypermission.digon.io/
/r/Python
https://redd.it/1p9ebul
Hello everyone at r/python!
At our company, we repeatedly needed to integrate authorization into Python projects and found the ecosystem a bit lacking.
# Comparison With Other Solutions
Django's permission system wasn't enough
Casbin, Keto and OPA offer flexible solutions, but can be hard to integrate
We wanted something Python-native, without a policy DSL and with auditing support
# What My Project Does
Knowing that authorization comes with many pitfalls, we decided to build an RBAC model focussing on an intuitive API and extensive testing. PyPermission is the result and draws on what we learned implementing RBAC across multiple projects (with and without third party solutions).
NIST RBAC Level 2a (supports general role hierarchies)
Framework independent, Free and Open Source
Additional capabilities from the ANSI RBAC model
A simple and tested python API
Persistency via PostgreSQL or Sqlite (SQLAlchemy)
# Target Audience
Developers looking for a simple authz solution without enterprise complexities, but a well established RBAC model.
The core implementation of the library is feature complete and heavily tested (overall test coverage of 97%) and we desire to have everything battle tested now. This is why we are excited to share our project with you and want to hear your feedback!
Repo: [https://github.com/DigonIO/pypermission](https://github.com/DigonIO/pypermission)
Docs: https://pypermission.digon.io/
/r/Python
https://redd.it/1p9ebul
GitHub
GitHub - DigonIO/pypermission: PyPermission - The python RBAC library for projects where SQLAlchemy is a valid option.
PyPermission - The python RBAC library for projects where SQLAlchemy is a valid option. - DigonIO/pypermission
Is anyone else choosing not to use AI for programming?
For the time being, I have chosen not to use generative AI tools for programming, both at work and for hobby projects. I imagine that this puts me in the minority, but I'd love to hear from others who have a similar approach.
These are my main reasons for avoiding AI for the time being:
I imagine that, if I made AI a central component of my workflow, my own ability to write and debug code [might start to fade away](https://lucianonooijen.com/blog/why-i-stopped-using-ai-code-editors/). I think this risk outweighs the possible (but [not guaranteed](https://arxiv.org/pdf/2507.09089)) time-saving benefits of AI.
AI models might inadvertently spit out large copies of copyleft code; thus, if I incorporated these into my programs, I might then need to release the entire program under a similar copyleft license. This would be frustrating for hobby projects and a potential nightmare for professional ones.
I find the experience of writing my own code very fulfilling, and I imagine that using AI might take [some of that fulfillment away](https://colton.dev/blog/curing-your-ai-10x-engineer-imposter-syndrome/#its-okay-to-be-less-productive).
LLMs rely on huge amounts of human-generated code and text in order to produce their output. Thus, even if these tools become ubiquitous, I think there will always be a need (and demand) for programmers
/r/Python
https://redd.it/1p9wluw
For the time being, I have chosen not to use generative AI tools for programming, both at work and for hobby projects. I imagine that this puts me in the minority, but I'd love to hear from others who have a similar approach.
These are my main reasons for avoiding AI for the time being:
I imagine that, if I made AI a central component of my workflow, my own ability to write and debug code [might start to fade away](https://lucianonooijen.com/blog/why-i-stopped-using-ai-code-editors/). I think this risk outweighs the possible (but [not guaranteed](https://arxiv.org/pdf/2507.09089)) time-saving benefits of AI.
AI models might inadvertently spit out large copies of copyleft code; thus, if I incorporated these into my programs, I might then need to release the entire program under a similar copyleft license. This would be frustrating for hobby projects and a potential nightmare for professional ones.
I find the experience of writing my own code very fulfilling, and I imagine that using AI might take [some of that fulfillment away](https://colton.dev/blog/curing-your-ai-10x-engineer-imposter-syndrome/#its-okay-to-be-less-productive).
LLMs rely on huge amounts of human-generated code and text in order to produce their output. Thus, even if these tools become ubiquitous, I think there will always be a need (and demand) for programmers
/r/Python
https://redd.it/1p9wluw
Lucianonooijen
Why I stopped using AI code editors ·
Luciano Nooijen
Luciano Nooijen
In the past I used AI code editors for all of my programming, but I stopped using it and recommend others to consider this as well
I built a tool that converts your Python script into a shareable web app
I love writing simple Python scripts to fulfill niche tasks, but sharing them with less technical people always creates problems.
Comparison With Other Solutions
Sharing raw scripts leads to pip/dependency issues
Non-technical users often give up before even running the tool
The amazing tools our community develops never reach people who need them most
We needed something to bridge the gap between developers and end users
What My Project Does
I decided to build SimpleScript to make Python scripts accessible to everyone through beautiful, easy-to-use web interfaces. The platform automatically transforms your scripts into deployable web apps with minimal configuration.
Automatic script analysis and UI generation
Works with any Python script
Simple 3-step process: connect repo → auto-detect configs → deploy
Handles arguments, outputs, and user input automatically
Target Audience
Developers who want to share their Python tools with non-technical users without dealing with installation headaches or building full web applications.
Platform: [https://simple-script.com/](https://simple-script.com/)
Examples: https://simple-script.com/browse
You can also add a badge to your Github page like seen here
https://github.com/TobiasPankner/Letterboxd-to-IMDb
/r/Python
https://redd.it/1p9wkbi
I love writing simple Python scripts to fulfill niche tasks, but sharing them with less technical people always creates problems.
Comparison With Other Solutions
Sharing raw scripts leads to pip/dependency issues
Non-technical users often give up before even running the tool
The amazing tools our community develops never reach people who need them most
We needed something to bridge the gap between developers and end users
What My Project Does
I decided to build SimpleScript to make Python scripts accessible to everyone through beautiful, easy-to-use web interfaces. The platform automatically transforms your scripts into deployable web apps with minimal configuration.
Automatic script analysis and UI generation
Works with any Python script
Simple 3-step process: connect repo → auto-detect configs → deploy
Handles arguments, outputs, and user input automatically
Target Audience
Developers who want to share their Python tools with non-technical users without dealing with installation headaches or building full web applications.
Platform: [https://simple-script.com/](https://simple-script.com/)
Examples: https://simple-script.com/browse
You can also add a badge to your Github page like seen here
https://github.com/TobiasPankner/Letterboxd-to-IMDb
/r/Python
https://redd.it/1p9wkbi
Simple-Script
SimpleScript - Turn Python Scripts Into Web Apps
Create beautiful web interfaces for your Python scripts with GitHub integration, instant deployment, and no frontend knowledge required.
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/1pa3qvx
# 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/1pa3qvx
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
I created my own Homehub in Python (D_Ei_Why_Hub)
Hey everyone,
(The link for the people who don't care about my yap)
([https://github.com/Grefendor/D\_Ei\_Why\_Hub](https://github.com/Grefendor/D_Ei_Why_Hub))
**What My Project Does:**
I used to always look for a project I can tackle to actually build something. So I started to build myself a pantry manager. This quickly escalated big time and now I have a fully modular homehub with different apps and widgets. There definetelly are still some errors every now and then. Specifically when it comes to the interface. It is intended to run on a tablet or like py with touchscreen and it will become more touch friendly in the future but for now there are some cool features:
\- it is multi lingual
\- it somewhat supports different resolutions (This will come I am just tired for today)
\-the pantry manager just needs a barcode and pulls the rest from the internet
\-there is homeassistant integration I have never tested, since I don't have home assistant (I really don't know why I did this, Dream big I guess)
\-A Taskboard
\-A simple calender and calendar widget
\-A clock (Revolutionary I know)
Planned features:
\- Spotify and Airplay integration (I have airplay speakers and want to use them via my
/r/Python
https://redd.it/1pa1lbt
Hey everyone,
(The link for the people who don't care about my yap)
([https://github.com/Grefendor/D\_Ei\_Why\_Hub](https://github.com/Grefendor/D_Ei_Why_Hub))
**What My Project Does:**
I used to always look for a project I can tackle to actually build something. So I started to build myself a pantry manager. This quickly escalated big time and now I have a fully modular homehub with different apps and widgets. There definetelly are still some errors every now and then. Specifically when it comes to the interface. It is intended to run on a tablet or like py with touchscreen and it will become more touch friendly in the future but for now there are some cool features:
\- it is multi lingual
\- it somewhat supports different resolutions (This will come I am just tired for today)
\-the pantry manager just needs a barcode and pulls the rest from the internet
\-there is homeassistant integration I have never tested, since I don't have home assistant (I really don't know why I did this, Dream big I guess)
\-A Taskboard
\-A simple calender and calendar widget
\-A clock (Revolutionary I know)
Planned features:
\- Spotify and Airplay integration (I have airplay speakers and want to use them via my
/r/Python
https://redd.it/1pa1lbt
I built SentinelNav, a zero-dependency binary file visualization tool to map file structure
Hi everyone,
I’ve just released SentinelNav, a pure Python tool that creates interactive spectral maps of binary files to visualize their internal "geography." It runs entirely on the standard library (no
What My Project Does
Analyzing raw binary files (forensics, reverse engineering, or file validation) is difficult because:
Hex Dumps are dense: Reading 50MB of hex code to find where a text section ends and an encrypted payload begins is mentally exhausting and slow.
Pattern Recognition: It is hard to distinguish between compressed data, random noise, and machine code just by looking at values.
Dependency Hell: Many existing visualization tools require heavy GUI frameworks (Qt) or complex environment setups just to perform a quick check.
The Solution: SentinelNav
I built a deterministic engine that transforms binary data into visual clusters:
Spectral Mapping: It maps byte values to RGB colors. High-bit bytes (compiled code/media) appear Red, printable ASCII appears Green, and nulls/padding appear Blue. This allows you to visually identify file headers and sections instantly.
Architecture Heuristics: It scans raw binary chunks to detect headers (PE, ELF, Mach-O) and attempts to guess the CPU architecture (x86 vs ARM64) based on instruction alignment and opcode frequency.
Entropy Analysis: It calculates Shannon entropy per block
/r/Python
https://redd.it/1pa91j5
Hi everyone,
I’ve just released SentinelNav, a pure Python tool that creates interactive spectral maps of binary files to visualize their internal "geography." It runs entirely on the standard library (no
pip install required).What My Project Does
Analyzing raw binary files (forensics, reverse engineering, or file validation) is difficult because:
Hex Dumps are dense: Reading 50MB of hex code to find where a text section ends and an encrypted payload begins is mentally exhausting and slow.
Pattern Recognition: It is hard to distinguish between compressed data, random noise, and machine code just by looking at values.
Dependency Hell: Many existing visualization tools require heavy GUI frameworks (Qt) or complex environment setups just to perform a quick check.
The Solution: SentinelNav
I built a deterministic engine that transforms binary data into visual clusters:
Spectral Mapping: It maps byte values to RGB colors. High-bit bytes (compiled code/media) appear Red, printable ASCII appears Green, and nulls/padding appear Blue. This allows you to visually identify file headers and sections instantly.
Architecture Heuristics: It scans raw binary chunks to detect headers (PE, ELF, Mach-O) and attempts to guess the CPU architecture (x86 vs ARM64) based on instruction alignment and opcode frequency.
Entropy Analysis: It calculates Shannon entropy per block
/r/Python
https://redd.it/1pa91j5
Reddit
From the Python community on Reddit: I built SentinelNav, a zero-dependency binary file visualization tool to map file structure
Explore this post and more from the Python community
Django cheat sheet for newbies (sort off): Tailwind, decorators, Auth, Nginx, Background tasks
There are some random things I do in Django, from setting up S3 storage to customizing the auth. Some concepts are basic, some not so much, so it's a mixed bag; maybe it'll be useful to you if you're learning Django or want to see some practical examples.
https://kevincoder.co.za/django-cheat-sheet
/r/django
https://redd.it/1p9n75c
There are some random things I do in Django, from setting up S3 storage to customizing the auth. Some concepts are basic, some not so much, so it's a mixed bag; maybe it'll be useful to you if you're learning Django or want to see some practical examples.
https://kevincoder.co.za/django-cheat-sheet
/r/django
https://redd.it/1p9n75c
Kevin Coder
Django cheat sheet
A simple collection of useful django snippets
Built a small open-source tool (fasthook) to quickly create local webhook endpoints
I’ve been working on a lot of API integrations lately, and one thing that kept slowing me down was testing webhooks. Whenever I needed to see what an external service was sending to my endpoint, I had to set up a tunnel, open a dashboard, or mess with some configuration. Most of the time, I just wanted to see the raw request quickly so I could keep working.
So I ended up building a small Python tool called fasthook. The idea is really simple. You install it, run one command, and you instantly get a local webhook endpoint that shows you everything that hits it. No accounts, no external services, nothing complicated.
/r/Python
https://redd.it/1p9cnqq
I’ve been working on a lot of API integrations lately, and one thing that kept slowing me down was testing webhooks. Whenever I needed to see what an external service was sending to my endpoint, I had to set up a tunnel, open a dashboard, or mess with some configuration. Most of the time, I just wanted to see the raw request quickly so I could keep working.
So I ended up building a small Python tool called fasthook. The idea is really simple. You install it, run one command, and you instantly get a local webhook endpoint that shows you everything that hits it. No accounts, no external services, nothing complicated.
/r/Python
https://redd.it/1p9cnqq
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
What should be the license of a library created by me using LLMs?
I have created a [plugin for mypy ](https://github.com/diegojromerolopez/mypy-pure)that checks the presence of "impure" functions (functions with side-effects) in user functions. I've leveraged the use of AI for it (mainly for the AST visitor part). The main issue is that there are some controversies about the potential use of copyrighted code in the learning datasets of the LLMs.
I've set the project to MIT license but I don't mind user other license, or even putting the code in public domain (it's just an experiment). I've also introduced a disclaimer about the use of LLMs in the project.
Here I have some questions:
* What do you do in this case? Avoid LLMs completely? Ask them about their sources of data? I'm based in Europe (Spain, concretely).
* Does PyPI have any policy about LLM-generated code?
* Would this be a handicap with respect to the adoption of a library?
/r/Python
https://redd.it/1pac4x0
I have created a [plugin for mypy ](https://github.com/diegojromerolopez/mypy-pure)that checks the presence of "impure" functions (functions with side-effects) in user functions. I've leveraged the use of AI for it (mainly for the AST visitor part). The main issue is that there are some controversies about the potential use of copyrighted code in the learning datasets of the LLMs.
I've set the project to MIT license but I don't mind user other license, or even putting the code in public domain (it's just an experiment). I've also introduced a disclaimer about the use of LLMs in the project.
Here I have some questions:
* What do you do in this case? Avoid LLMs completely? Ask them about their sources of data? I'm based in Europe (Spain, concretely).
* Does PyPI have any policy about LLM-generated code?
* Would this be a handicap with respect to the adoption of a library?
/r/Python
https://redd.it/1pac4x0
GitHub
GitHub - diegojromerolopez/mypy-pure: A mypy extension that provides a decorator to mark functions as pure
A mypy extension that provides a decorator to mark functions as pure - diegojromerolopez/mypy-pure
app.run() not recommended for development server?
For me it would be convenient to run the Flask development server with
> It is not recommended to use this function for development with automatic reloading as this is badly supported. Instead you should be using the flask command line script’s run support.
Documentation link: https://flask.palletsprojects.com/en/stable/api/#flask.Flask.run
Instead they suggest to use the command line
But I wonder how its different. Why is Flask.run not recommended?
/r/flask
https://redd.it/1p9t86o
For me it would be convenient to run the Flask development server with
Flask.run() however the documentation says:> It is not recommended to use this function for development with automatic reloading as this is badly supported. Instead you should be using the flask command line script’s run support.
Documentation link: https://flask.palletsprojects.com/en/stable/api/#flask.Flask.run
Instead they suggest to use the command line
flask run which I currently do.But I wonder how its different. Why is Flask.run not recommended?
/r/flask
https://redd.it/1p9t86o
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Do I need to remove WSGI_APPLICATION in settings.py ?
I just installed channels and in the docs I see ASGI\_APPLICATION but they never mentioned whether to remove
`WSGI_APPLICATION = 'myproject.wsgi.application'`
How does this settings affect production if I have only ASGI_APPLICATION variable. as I am planning to use **uvicorn** in production.
/r/django
https://redd.it/1pafm64
I just installed channels and in the docs I see ASGI\_APPLICATION but they never mentioned whether to remove
`WSGI_APPLICATION = 'myproject.wsgi.application'`
How does this settings affect production if I have only ASGI_APPLICATION variable. as I am planning to use **uvicorn** in production.
/r/django
https://redd.it/1pafm64
Reddit
From the django community on Reddit
Explore this post and more from the django community
Birds Vs Bats - A Python Shell Game
Project Link: https://github.com/Onheiron/PY-birds-vs-bats
What My Project Does: It's a videogame for the command shell! Juggle birds and defeat bats!
Target Audience: Hobby project
Comparison: It has minimalist ASCII art and cool new mechanics!
SCORE: 75 | LEVEL: 1 | NEXT: 3400 | LIVES: ●●●●●
=============================================
. .
/r/Python
https://redd.it/1padhh7
Project Link: https://github.com/Onheiron/PY-birds-vs-bats
What My Project Does: It's a videogame for the command shell! Juggle birds and defeat bats!
Target Audience: Hobby project
Comparison: It has minimalist ASCII art and cool new mechanics!
SCORE: 75 | LEVEL: 1 | NEXT: 3400 | LIVES: ●●●●●
=============================================
. .
/r/Python
https://redd.it/1padhh7
GitHub
GitHub - Onheiron/PY-birds-vs-bats: A terminal game in python
A terminal game in python. Contribute to Onheiron/PY-birds-vs-bats development by creating an account on GitHub.
Advanced, Overlooked Python Typing
While quantitative research in software engineering is difficult to trust most of the time, some studies claim that type checking can reduce bugs by about 15% in Python. This post covers advanced typing features such as never types, type guards, concatenate, etc., that are often overlooked but can make a codebase more maintainable and easier to work with
https://martynassubonis.substack.com/p/advanced-overlooked-python-typing
/r/Python
https://redd.it/1paocj5
While quantitative research in software engineering is difficult to trust most of the time, some studies claim that type checking can reduce bugs by about 15% in Python. This post covers advanced typing features such as never types, type guards, concatenate, etc., that are often overlooked but can make a codebase more maintainable and easier to work with
https://martynassubonis.substack.com/p/advanced-overlooked-python-typing
/r/Python
https://redd.it/1paocj5
Substack
Advanced, Overlooked Python Typing
There is a common debate in Python circles: if you want static typing, why choose Python to begin with?
I built a fast Advent of Code helper CLI for Python called elf
Hi all! With Advent of Code about to start, I wanted to share a tool I built to make the workflow smoother for Python users.
What My Project Does
elf is a command line tool that handles the repetitive parts of Advent of Code. It fetches your puzzle input and caches it, submits answers safely, and pulls private leaderboards. It uses Typer and Rich for a clean CLI and Pydantic models for structured data. The goal is to reduce boilerplate so you can focus on solving puzzles.
GitHub: https://github.com/cak/elf
PyPI: https://pypi.org/project/elf/
Target Audience
This tool is meant for anyone solving Advent of Code in Python. It is designed for day to day AoC usage. It aims to help both new participants and long time AoC users who want a smoother daily workflow.
Comparison
There are a few existing AoC helpers, but most require manual scripting or lack caching, leaderboard support, or guardrails for answer submission. elf focuses on being fast, simple, and safe to use every day during AoC. It emphasizes clear output, transparent caching, and a consistent interface.
If you try it out, I would love any feedback: bugs, ideas, missing features, anything. Hope it helps make Day 1 a little smoother for you.
Happy coding and good
/r/Python
https://redd.it/1paj821
Hi all! With Advent of Code about to start, I wanted to share a tool I built to make the workflow smoother for Python users.
What My Project Does
elf is a command line tool that handles the repetitive parts of Advent of Code. It fetches your puzzle input and caches it, submits answers safely, and pulls private leaderboards. It uses Typer and Rich for a clean CLI and Pydantic models for structured data. The goal is to reduce boilerplate so you can focus on solving puzzles.
GitHub: https://github.com/cak/elf
PyPI: https://pypi.org/project/elf/
Target Audience
This tool is meant for anyone solving Advent of Code in Python. It is designed for day to day AoC usage. It aims to help both new participants and long time AoC users who want a smoother daily workflow.
Comparison
There are a few existing AoC helpers, but most require manual scripting or lack caching, leaderboard support, or guardrails for answer submission. elf focuses on being fast, simple, and safe to use every day during AoC. It emphasizes clear output, transparent caching, and a consistent interface.
If you try it out, I would love any feedback: bugs, ideas, missing features, anything. Hope it helps make Day 1 a little smoother for you.
Happy coding and good
/r/Python
https://redd.it/1paj821
GitHub
GitHub - cak/elf: A modern Advent of Code helper that fetches inputs, submits answers, and tracks your progress.
A modern Advent of Code helper that fetches inputs, submits answers, and tracks your progress. - cak/elf
[D] Can you add an unpublished manuscript to PhD application CV?
/r/MachineLearning
https://redd.it/1pa8472
/r/MachineLearning
https://redd.it/1pa8472
context-async-sqlalchemy - The best way to use sqlalchemy in an async python application
Hello! I’d like to introduce my new library - **context-async-sqlalchemy**. It makes working with SQLAlchemy in asynchronous Python applications incredibly easy. The library requires minimal code for simple use cases, yet offers maximum flexibility for more complex scenarios.
What My Project Does: greatly simplifies integrating sqlalchemy into an asynchronous Python application
Target Audience: Backend developers, use in production or hobby or anywhere
Comparison: There are no competitors with this approach. A couple of examples in the text below demonstrate why the library is superior.
Let’s briefly review the theory behind SQLAlchemy - what it consists of and how it integrates into a Python application. We’ll explore some of the nuances and see how **context-async-sqlalchemy** helps you work with it more conveniently. Note that everything here refers to asynchronous Python.
# Short Summary of SQLAlchemy
SQLAlchemy provides an Engine, which manages the database connection pool, and a Session, through which SQL queries are executed. Each session uses a single connection that it obtains from the engine.
The engine should have a long lifespan to keep the connection pool active. Sessions, on the other hand, should be short-lived, returning their connections to the pool as quickly as possible.
# Integration and Usage in an Application
# Direct Usage
Let’s start with the simplest
/r/Python
https://redd.it/1pamid8
Hello! I’d like to introduce my new library - **context-async-sqlalchemy**. It makes working with SQLAlchemy in asynchronous Python applications incredibly easy. The library requires minimal code for simple use cases, yet offers maximum flexibility for more complex scenarios.
What My Project Does: greatly simplifies integrating sqlalchemy into an asynchronous Python application
Target Audience: Backend developers, use in production or hobby or anywhere
Comparison: There are no competitors with this approach. A couple of examples in the text below demonstrate why the library is superior.
Let’s briefly review the theory behind SQLAlchemy - what it consists of and how it integrates into a Python application. We’ll explore some of the nuances and see how **context-async-sqlalchemy** helps you work with it more conveniently. Note that everything here refers to asynchronous Python.
# Short Summary of SQLAlchemy
SQLAlchemy provides an Engine, which manages the database connection pool, and a Session, through which SQL queries are executed. Each session uses a single connection that it obtains from the engine.
The engine should have a long lifespan to keep the connection pool active. Sessions, on the other hand, should be short-lived, returning their connections to the pool as quickly as possible.
# Integration and Usage in an Application
# Direct Usage
Let’s start with the simplest
/r/Python
https://redd.it/1pamid8
GitHub
GitHub - krylosov-aa/context-async-sqlalchemy: A convenient way to configure and work with an async SQLAlchemy session through…
A convenient way to configure and work with an async SQLAlchemy session through context in asynchronous applications - krylosov-aa/context-async-sqlalchemy
Monday Daily Thread: Project ideas!
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1paxlzf
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1paxlzf
YouTube
Build & Integrate your own custom chatbot to a website (Python & JavaScript)
In this fun project you learn how to build a custom chatbot in Python and then integrate this to a website using Flask and JavaScript.
Starter Files: https://github.com/patrickloeber/chatbot-deployment
Get my Free NumPy Handbook: https://www.python-engi…
Starter Files: https://github.com/patrickloeber/chatbot-deployment
Get my Free NumPy Handbook: https://www.python-engi…
Join the Advent of Code Challenge with Python!
# Join the Advent of Code Challenge with Python!
Hey Pythonistas! 🐍
It's almost that exciting time of the year again! The Advent of Code is just around the corner, and we're inviting everyone to join in the fun!
## What is Advent of Code?
Advent of Code is an annual online event that runs from December 1st to December 25th. Each day, a new coding challenge is released—two puzzles that are part of a continuing story. It's a fantastic way to improve your coding skills and get into the holiday spirit!
You can read more about it here.
## Why Python?
Python is a great choice for these challenges due to its readability and wide range of libraries. Whether you're a beginner or an experienced coder, Python makes solving these puzzles both fun and educational.
## How to Participate?
1. **Sign Up/In**.
2. Join the r/Python private leaderboard with code
3. Start solving the puzzles released each day using Python.
4. Share your solutions and discuss strategies with the community.
## Join the r/Python Leaderboard!
We can have up to 200 people in a private leaderboard, so this may go over poorly - but you can join us with the following code:
## How to Share Your Solutions?
You can join the Python
/r/Python
[https://redd.it/1pb2jch
# Join the Advent of Code Challenge with Python!
Hey Pythonistas! 🐍
It's almost that exciting time of the year again! The Advent of Code is just around the corner, and we're inviting everyone to join in the fun!
## What is Advent of Code?
Advent of Code is an annual online event that runs from December 1st to December 25th. Each day, a new coding challenge is released—two puzzles that are part of a continuing story. It's a fantastic way to improve your coding skills and get into the holiday spirit!
You can read more about it here.
## Why Python?
Python is a great choice for these challenges due to its readability and wide range of libraries. Whether you're a beginner or an experienced coder, Python makes solving these puzzles both fun and educational.
## How to Participate?
1. **Sign Up/In**.
2. Join the r/Python private leaderboard with code
2186960-67024e323. Start solving the puzzles released each day using Python.
4. Share your solutions and discuss strategies with the community.
## Join the r/Python Leaderboard!
We can have up to 200 people in a private leaderboard, so this may go over poorly - but you can join us with the following code:
2186960-67024e32## How to Share Your Solutions?
You can join the Python
/r/Python
[https://redd.it/1pb2jch
Django Third-party App Ecosystem
https://frankwiles.com/posts/django-third-party-apps/
/r/django
https://redd.it/1pajxgc
https://frankwiles.com/posts/django-third-party-apps/
/r/django
https://redd.it/1pajxgc
Frankwiles
Django Third-party App Ecosystem
Third-party applications are the unsung heroes of the Django ecosystem. Core Django covers a wide range of common application needs, but it obviously cannot be everything to everyone. Django's third-party app ecosystem fills this role.