Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1neoksd
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1neoksd
Redditinc
Reddit Rules
Reddit Rules - Reddit
What is the quickest and easiest way to fix indentation errors?
Context - I've been writing Python for a good number of years and I still find indentation errors annoying. Also I'm using VScode with the Python extension.
How often do you encounter them? How are you dealing with them?
Because in Javascript land (and other languages too), there are some linters that look to be taking care of that.
/r/Python
https://redd.it/1neno5h
Context - I've been writing Python for a good number of years and I still find indentation errors annoying. Also I'm using VScode with the Python extension.
How often do you encounter them? How are you dealing with them?
Because in Javascript land (and other languages too), there are some linters that look to be taking care of that.
/r/Python
https://redd.it/1neno5h
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Starting Django, lost now
Started learning Django recently and searched firstly on YouTube for courses, all I found were either project focused courses which I can't understand how people learn from , there aren't many theory-heavy focused courses , I'm searching online rn and I can use any help to direct me to the right path , seriously anything just shoot me.
/r/djangolearning
https://redd.it/1nead8e
Started learning Django recently and searched firstly on YouTube for courses, all I found were either project focused courses which I can't understand how people learn from , there aren't many theory-heavy focused courses , I'm searching online rn and I can use any help to direct me to the right path , seriously anything just shoot me.
/r/djangolearning
https://redd.it/1nead8e
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
fp-style pattern matching implemented in python
I'm recently working on a functional programming library in python. One thing I've really want in python was a pattern matching that is expression and works well with other fp stuff in python. I went through similar fp libs in python such as `toolz` but didn't yet found a handy pattern matching solution in python. Therefore, I implement this simple pattern matching that works with most of objects (through itemgetter and attrgetter), iterables (just iter through), and literals (just comparison) in python.
- target audience
There's [link](https://github.com/BrandenXia/fp-cate) to the github repo. Note that it's still in very early development and also just a personal toy project, so it's not meant to be used in production at all.
There's some example I wrote using this library. I'd like to get some advice and suggestions about possible features and improvements I make for this functionality :)
```py
from dataclasses import dataclass
from fp_cate import pipe, match, case, matchV, _any, _rest, default
# works with any iterables
a = "test"
print(
matchV(a)(
case("tes") >> (lambda x: "one"),
case(["a", _rest]) >> (lambda x, xs: f"list starts with a, rest is {xs}"),
/r/Python
https://redd.it/1nem1ty
I'm recently working on a functional programming library in python. One thing I've really want in python was a pattern matching that is expression and works well with other fp stuff in python. I went through similar fp libs in python such as `toolz` but didn't yet found a handy pattern matching solution in python. Therefore, I implement this simple pattern matching that works with most of objects (through itemgetter and attrgetter), iterables (just iter through), and literals (just comparison) in python.
- target audience
There's [link](https://github.com/BrandenXia/fp-cate) to the github repo. Note that it's still in very early development and also just a personal toy project, so it's not meant to be used in production at all.
There's some example I wrote using this library. I'd like to get some advice and suggestions about possible features and improvements I make for this functionality :)
```py
from dataclasses import dataclass
from fp_cate import pipe, match, case, matchV, _any, _rest, default
# works with any iterables
a = "test"
print(
matchV(a)(
case("tes") >> (lambda x: "one"),
case(["a", _rest]) >> (lambda x, xs: f"list starts with a, rest is {xs}"),
/r/Python
https://redd.it/1nem1ty
GitHub
GitHub - BrandenXia/fp-cate
Contribute to BrandenXia/fp-cate development by creating an account on GitHub.
Best way to install python package with all its dependencies on an offline pc. -- Part 2
This is a follow up post to https://www.reddit.com/r/Python/comments/1keaeft/best\_way\_to\_install\_python\_package\_with\_all\_its/
I followed one of the techniques shown in that post and it worked quite well.
So in short what i do is
first do
then
then do the actual installation of the package with
then i do a
and finally i download the wheels using this requirements.txt.
For that i create a folder called wheel and then I do a
then i copy over the wheels folder to the offline pc and create a venv over there and do the install using that wheel folder.
So all this works quite well as long as there as only wheel files in the package.
Lately I see that there are packages that need some dependencies that need to be built from source so instead of the
Is there a way
/r/Python
https://redd.it/1ner9mj
This is a follow up post to https://www.reddit.com/r/Python/comments/1keaeft/best\_way\_to\_install\_python\_package\_with\_all\_its/
I followed one of the techniques shown in that post and it worked quite well.
So in short what i do is
first do
python -m venv . ( in a directory) then
.\Scripts\activate then do the actual installation of the package with
pip install <packagename> then i do a
pip freeze > requirements.txt and finally i download the wheels using this requirements.txt.
For that i create a folder called wheel and then I do a
pip download -r requirements.txt then i copy over the wheels folder to the offline pc and create a venv over there and do the install using that wheel folder.
So all this works quite well as long as there as only wheel files in the package.
Lately I see that there are packages that need some dependencies that need to be built from source so instead of the
whl file a tar.gz file gets downloaded in the wheel folder. And somehow that tar.gz doesn't get built on the offline pc due to lack of dependencies or sometimes buildtools or setuptools version mismatch.Is there a way
/r/Python
https://redd.it/1ner9mj
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
html2pic: transform basic html&css to image, without a browser (experimental)
Hey everyone,
For the past few months, I've been working on a personal graphics library called [PicTex](https://github.com/francozanardi/pictex). As an experiment, I got curious to see if I could build a lightweight HTML/CSS to image converter on top of it, without the overhead of a full browser engine like Selenium or Playwright.
**Important**: this is a proof-of-concept, and a large portion of the code was generated with AI assistance (primarily Claude) to quickly explore the idea. It's definitely not production-ready and likely has plenty of bugs and unhandled edge cases.
I'm sharing it here to show what I've been exploring, maybe it could be useful for someone.
Here's the link to the repo: [https://github.com/francozanardi/html2pic](https://github.com/francozanardi/html2pic)
---
### What My Project Does
`html2pic` takes a subset of HTML and CSS and renders it into a PNG, JPG, or SVG image, using Python + Skia. It also uses BeautifulSoup4 for HTML parsing, tinycss2 for CSS parsing.
Here’s a basic example:
```python
from html2pic import Html2Pic
html = '''
<div class="card">
<div class="avatar"></div>
<div class="user-info">
<h2>pictex_dev</h2>
<p>@python_renderer</p>
</div>
</div>
'''
css = '''
.card {
font-family: "Segoe UI";
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
/r/Python
https://redd.it/1neuyit
Hey everyone,
For the past few months, I've been working on a personal graphics library called [PicTex](https://github.com/francozanardi/pictex). As an experiment, I got curious to see if I could build a lightweight HTML/CSS to image converter on top of it, without the overhead of a full browser engine like Selenium or Playwright.
**Important**: this is a proof-of-concept, and a large portion of the code was generated with AI assistance (primarily Claude) to quickly explore the idea. It's definitely not production-ready and likely has plenty of bugs and unhandled edge cases.
I'm sharing it here to show what I've been exploring, maybe it could be useful for someone.
Here's the link to the repo: [https://github.com/francozanardi/html2pic](https://github.com/francozanardi/html2pic)
---
### What My Project Does
`html2pic` takes a subset of HTML and CSS and renders it into a PNG, JPG, or SVG image, using Python + Skia. It also uses BeautifulSoup4 for HTML parsing, tinycss2 for CSS parsing.
Here’s a basic example:
```python
from html2pic import Html2Pic
html = '''
<div class="card">
<div class="avatar"></div>
<div class="user-info">
<h2>pictex_dev</h2>
<p>@python_renderer</p>
</div>
</div>
'''
css = '''
.card {
font-family: "Segoe UI";
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
/r/Python
https://redd.it/1neuyit
GitHub
GitHub - francozanardi/pictex: A powerful Python library for creating complex visual compositions and beautifully styled images
A powerful Python library for creating complex visual compositions and beautifully styled images - francozanardi/pictex
D Math foundations to understand Convergence proofs?
Good day everyone, recently I've become interested in proofs of convergence for federated (and non-federated) algorithms, something like what's seen in appendix A of the FedProx paper (one page of it attached below)
I managed to go through the proof once and learn things like first order convexity condition from random blogs, but I don't think I will be able to do serious math with hackjobs like that. I need to get my math foundations up to a level where I can write one such proof intuitively.
So my question is: What resources must I study to get my math foundations up to par? Convex optimization by Boyd doesn't go through convergence analysis at all and even the convex optimization books that do, none of them use expectations over the iteration to proof convergence. Thanks for your time
https://preview.redd.it/481lxdf47lof1.png?width=793&format=png&auto=webp&s=6771d3ffe8a533155aa145b2ec691181a30968b9
/r/MachineLearning
https://redd.it/1nehy84
Good day everyone, recently I've become interested in proofs of convergence for federated (and non-federated) algorithms, something like what's seen in appendix A of the FedProx paper (one page of it attached below)
I managed to go through the proof once and learn things like first order convexity condition from random blogs, but I don't think I will be able to do serious math with hackjobs like that. I need to get my math foundations up to a level where I can write one such proof intuitively.
So my question is: What resources must I study to get my math foundations up to par? Convex optimization by Boyd doesn't go through convergence analysis at all and even the convex optimization books that do, none of them use expectations over the iteration to proof convergence. Thanks for your time
https://preview.redd.it/481lxdf47lof1.png?width=793&format=png&auto=webp&s=6771d3ffe8a533155aa145b2ec691181a30968b9
/r/MachineLearning
https://redd.it/1nehy84
16 reproducible bugs every Django learner hits (and how to fix them before they grow)
when i was learning Django and tried to connect it with modern AI workflows (RAG, embeddings, async tasks), i kept hitting weird bugs. each time i patched one, another came back in a different form.
so i built a Problem Map: a catalog of 16 reproducible failure modes. it’s written as a learning tool — you can open any item, see the minimal diagnosis, and apply a fix without needing extra SDKs or infra.
### why it matters for Django learners
* early projects often fail silently: OCR splits headers wrong, pgvector returns “nearest” but semantically wrong, or Celery starts before your index is ready.
* with this map, you can see the bug class before it happens. the fix is small but structural, and once applied, the same bug never reappears.
* it’s not a black box — each page is a step-by-step explainer, so you understand *why* the fix works.
### before vs after
* before: patch after output, firefight each bug, add regex, rerankers, tool hacks. ceiling \~70–80% stability.
* after: run acceptance checks before output (ΔS, λ, coverage). only stable states generate. ceiling moves to 90–95%+, and fixes stay permanent.
### quick use
you don’t need to read everything at once. just keep the map bookmarked.
/r/djangolearning
https://redd.it/1nd8xr5
when i was learning Django and tried to connect it with modern AI workflows (RAG, embeddings, async tasks), i kept hitting weird bugs. each time i patched one, another came back in a different form.
so i built a Problem Map: a catalog of 16 reproducible failure modes. it’s written as a learning tool — you can open any item, see the minimal diagnosis, and apply a fix without needing extra SDKs or infra.
### why it matters for Django learners
* early projects often fail silently: OCR splits headers wrong, pgvector returns “nearest” but semantically wrong, or Celery starts before your index is ready.
* with this map, you can see the bug class before it happens. the fix is small but structural, and once applied, the same bug never reappears.
* it’s not a black box — each page is a step-by-step explainer, so you understand *why* the fix works.
### before vs after
* before: patch after output, firefight each bug, add regex, rerankers, tool hacks. ceiling \~70–80% stability.
* after: run acceptance checks before output (ΔS, λ, coverage). only stable states generate. ceiling moves to 90–95%+, and fixes stay permanent.
### quick use
you don’t need to read everything at once. just keep the map bookmarked.
/r/djangolearning
https://redd.it/1nd8xr5
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
D Larry Ellison: “Inference is where the money is going to be made.”
In Oracle’s recent call, Larry Ellison said something that caught my attention:
“All this money we’re spending on training is going to be translated into products that are sold — which is all inferencing. There’s a huge amount of demand for inferencing… We think we’re better positioned than anybody to take advantage of it.”
It’s striking to see a major industry figure frame inference as the real revenue driver, not training. Feels like a shift in narrative: less about who can train the biggest model, and more about who can serve it efficiently, reliably, and at scale.
Not sure if the industry is really moving in this direction? Or will training still dominate the economics for years to come?
/r/MachineLearning
https://redd.it/1nfav96
In Oracle’s recent call, Larry Ellison said something that caught my attention:
“All this money we’re spending on training is going to be translated into products that are sold — which is all inferencing. There’s a huge amount of demand for inferencing… We think we’re better positioned than anybody to take advantage of it.”
It’s striking to see a major industry figure frame inference as the real revenue driver, not training. Feels like a shift in narrative: less about who can train the biggest model, and more about who can serve it efficiently, reliably, and at scale.
Not sure if the industry is really moving in this direction? Or will training still dominate the economics for years to come?
/r/MachineLearning
https://redd.it/1nfav96
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Update: Should I give away my app to my employer for free?
Link to original post - https://www.reddit.com/r/Python/s/UMQsQi8lAX
Hi, since my post gained a lot of attention the other day and I had a lot of messages, questions on the thread etc. I thought I would give an update.
I didn’t make it clear in my previous post but I developed this app in my own time, but using company resources.
I spoke to a friend in the HR team and he explained a similar scenario happened a few years ago, someone built an automation tool for outlook, which managed a mailbox receiving 500+ emails a day (dealing/contract notes) and he simply worked on a fund pricing team and only needed to view a few of those emails a day but realised the mailbox was a mess. He took the idea to senior management and presented the cost saving and benefits. Once it was deployed he was offered shares in the company and then a cash bonus once a year of realised savings was achieved.
I’ve been advised by my HR friend to approach senior management with my proposal, explain that I’ve already spoken to my manager and detail the cost savings I can make, ask for a salary increase to provide ongoing
/r/Python
https://redd.it/1nf57hb
Link to original post - https://www.reddit.com/r/Python/s/UMQsQi8lAX
Hi, since my post gained a lot of attention the other day and I had a lot of messages, questions on the thread etc. I thought I would give an update.
I didn’t make it clear in my previous post but I developed this app in my own time, but using company resources.
I spoke to a friend in the HR team and he explained a similar scenario happened a few years ago, someone built an automation tool for outlook, which managed a mailbox receiving 500+ emails a day (dealing/contract notes) and he simply worked on a fund pricing team and only needed to view a few of those emails a day but realised the mailbox was a mess. He took the idea to senior management and presented the cost saving and benefits. Once it was deployed he was offered shares in the company and then a cash bonus once a year of realised savings was achieved.
I’ve been advised by my HR friend to approach senior management with my proposal, explain that I’ve already spoken to my manager and detail the cost savings I can make, ask for a salary increase to provide ongoing
/r/Python
https://redd.it/1nf57hb
Reddit
From the Python community on Reddit
Explore this post and more from the Python 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/1nfiys8
# 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/1nfiys8
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
Flowfile - An open-source visual ETL tool, now with a Pydantic-based node designer.
Hey r/Python,
I built Flowfile, an open-source tool for creating data pipelines both visually and in code. Here's the latest feature: Custom Node Designer.
# What My Project Does
Flowfile creates bidirectional conversion between visual ETL workflows and Python code. You can build pipelines visually and export to Python, or write Python and visualize it. The Custom Node Designer lets you define new visual nodes using Python classes with Pydantic for settings and Polars for data processing.
# Target Audience
Production-ready tool for data engineers who work with ETL pipelines. Also useful for prototyping and teams that need both visual and code representations of their workflows.
# Comparison
* **Alteryx**: Proprietary, expensive. Flowfile is open-source.
* **Apache NiFi**: Java-based, requires infrastructure. Flowfile is pip-installable Python.
* **Prefect/Dagster**: Orchestration-focused. Flowfile focuses on visual pipeline building.
# Custom Node Example
import polars as pl
from flowfile_core.flowfile.node_designer import (
CustomNodeBase, NodeSettings, Section,
ColumnSelector, MultiSelect, Types
)
class TextCleanerSettings(NodeSettings):
cleaning_options: Section = Section(
title="Cleaning Options",
/r/Python
https://redd.it/1nff4dw
Hey r/Python,
I built Flowfile, an open-source tool for creating data pipelines both visually and in code. Here's the latest feature: Custom Node Designer.
# What My Project Does
Flowfile creates bidirectional conversion between visual ETL workflows and Python code. You can build pipelines visually and export to Python, or write Python and visualize it. The Custom Node Designer lets you define new visual nodes using Python classes with Pydantic for settings and Polars for data processing.
# Target Audience
Production-ready tool for data engineers who work with ETL pipelines. Also useful for prototyping and teams that need both visual and code representations of their workflows.
# Comparison
* **Alteryx**: Proprietary, expensive. Flowfile is open-source.
* **Apache NiFi**: Java-based, requires infrastructure. Flowfile is pip-installable Python.
* **Prefect/Dagster**: Orchestration-focused. Flowfile focuses on visual pipeline building.
# Custom Node Example
import polars as pl
from flowfile_core.flowfile.node_designer import (
CustomNodeBase, NodeSettings, Section,
ColumnSelector, MultiSelect, Types
)
class TextCleanerSettings(NodeSettings):
cleaning_options: Section = Section(
title="Cleaning Options",
/r/Python
https://redd.it/1nff4dw
Reddit
From the Python community on Reddit: Flowfile - An open-source visual ETL tool, now with a Pydantic-based node designer.
Explore this post and more from the Python community
I built a from-scratch Python package for classic Numerical Methods (no NumPy/SciPy required!)
Hey everyone,
Over the past few months I’ve been building a Python package called
The idea is to make algorithms transparent and educational, so you can actually see how LU decomposition, power iteration, or RK4 are implemented under the hood. This is especially useful for students, self-learners, or anyone who wants a deeper feel for how numerical methods work beyond calling library functions.
https://github.com/denizd1/numethods
# 🔧 What’s included so far
Linear system solvers: LU (with pivoting), Gauss–Jordan, Jacobi, Gauss–Seidel, Cholesky
Root-finding: Bisection, Fixed-Point Iteration, Secant, Newton’s method
Interpolation: Newton divided differences, Lagrange form
Quadrature (integration): Trapezoidal rule, Simpson’s rule, Gauss–Legendre (2- and 3-point)
Orthogonalization & least squares: Gram–Schmidt, Householder QR, LS solver
Eigenvalue methods: Power iteration, Inverse iteration, Rayleigh quotient iteration, QR iteration
SVD (via eigen-decomposition of ATAA\^T AATA)
ODE solvers: Euler, Heun, RK2, RK4, Backward Euler, Trapezoidal, Adams–Bashforth, Adams–Moulton, Predictor–Corrector, Adaptive RK45
# ✅ Why this might be useful
Great for teaching/learning numerical methods step by step.
Good reference for people writing their own solvers in C/Fortran/Julia.
Lightweight, no dependencies.
Consistent object-oriented API (
# 🚀 What’s next
PDE solvers (heat, wave, Poisson with finite differences)
More optimization
/r/Python
https://redd.it/1nexoe8
Hey everyone,
Over the past few months I’ve been building a Python package called
numethods — a small but growing collection of classic numerical algorithms implemented 100% from scratch. No NumPy, no SciPy, just plain Python floats and list-of-lists.The idea is to make algorithms transparent and educational, so you can actually see how LU decomposition, power iteration, or RK4 are implemented under the hood. This is especially useful for students, self-learners, or anyone who wants a deeper feel for how numerical methods work beyond calling library functions.
https://github.com/denizd1/numethods
# 🔧 What’s included so far
Linear system solvers: LU (with pivoting), Gauss–Jordan, Jacobi, Gauss–Seidel, Cholesky
Root-finding: Bisection, Fixed-Point Iteration, Secant, Newton’s method
Interpolation: Newton divided differences, Lagrange form
Quadrature (integration): Trapezoidal rule, Simpson’s rule, Gauss–Legendre (2- and 3-point)
Orthogonalization & least squares: Gram–Schmidt, Householder QR, LS solver
Eigenvalue methods: Power iteration, Inverse iteration, Rayleigh quotient iteration, QR iteration
SVD (via eigen-decomposition of ATAA\^T AATA)
ODE solvers: Euler, Heun, RK2, RK4, Backward Euler, Trapezoidal, Adams–Bashforth, Adams–Moulton, Predictor–Corrector, Adaptive RK45
# ✅ Why this might be useful
Great for teaching/learning numerical methods step by step.
Good reference for people writing their own solvers in C/Fortran/Julia.
Lightweight, no dependencies.
Consistent object-oriented API (
.solve(), .integrate() etc).# 🚀 What’s next
PDE solvers (heat, wave, Poisson with finite differences)
More optimization
/r/Python
https://redd.it/1nexoe8
GitHub
GitHub - denizd1/numethods: A lightweight, from-scratch, object-oriented Python package implementing classic numerical methods.
A lightweight, from-scratch, object-oriented Python package implementing classic numerical methods. - denizd1/numethods
Thanks r/Python community for reviewing my project Ducky all in one networking tool!
Thanks to this community I received some feedbacks about Ducky that I posted last week on here, I got 42 stars on github as well and some comments for Duckys enhancement. Im thankful for the people who viewed the post and went to see the source code huge thanks to you all.
What Ducky Does:
Ducky is a desktop application that consolidates the essential tools of a network engineer or security enthusiast into a single, easy-to-use interface. Instead of juggling separate applications for terminal connections, network scanning, and diagnostics, Ducky provides a unified workspace to streamline your workflow. Its core features include a tabbed terminal (SSH, Telnet, Serial), an SNMP-powered network topology mapper, a port scanner, and a suite of security utilities like a CVE lookup and hash calculator.
Target Audience:
Ducky is built for anyone who works with network hardware and infrastructure. This includes:
Network Engineers & Administrators: For daily tasks like configuring switches and routers, troubleshooting connectivity, and documenting network layouts.
Cybersecurity Professionals: For reconnaissance tasks like network discovery, port scanning, and vulnerability research.
Students & Hobbyists: For those learning networking (e.g., for CompTIA Network+ or CCNA), Ducky provides a free, hands-on tool to explore and interact with real or virtual network devices.
/r/Python
https://redd.it/1nfdhlu
Thanks to this community I received some feedbacks about Ducky that I posted last week on here, I got 42 stars on github as well and some comments for Duckys enhancement. Im thankful for the people who viewed the post and went to see the source code huge thanks to you all.
What Ducky Does:
Ducky is a desktop application that consolidates the essential tools of a network engineer or security enthusiast into a single, easy-to-use interface. Instead of juggling separate applications for terminal connections, network scanning, and diagnostics, Ducky provides a unified workspace to streamline your workflow. Its core features include a tabbed terminal (SSH, Telnet, Serial), an SNMP-powered network topology mapper, a port scanner, and a suite of security utilities like a CVE lookup and hash calculator.
Target Audience:
Ducky is built for anyone who works with network hardware and infrastructure. This includes:
Network Engineers & Administrators: For daily tasks like configuring switches and routers, troubleshooting connectivity, and documenting network layouts.
Cybersecurity Professionals: For reconnaissance tasks like network discovery, port scanning, and vulnerability research.
Students & Hobbyists: For those learning networking (e.g., for CompTIA Network+ or CCNA), Ducky provides a free, hands-on tool to explore and interact with real or virtual network devices.
/r/Python
https://redd.it/1nfdhlu
Reddit
From the Python community on Reddit: Thanks r/Python community for reviewing my project Ducky all in one networking tool!
Explore this post and more from the Python community
Every Python Built-In Function Explained
Hi there, I just wanted to know more about Python and I had this crazy idea about knowing every built-in function from this language. Hope you learn sth new. Any feedback is welcomed. The source has the intention of sharing learning.
Here's the explanation
/r/Python
https://redd.it/1nfphsi
Hi there, I just wanted to know more about Python and I had this crazy idea about knowing every built-in function from this language. Hope you learn sth new. Any feedback is welcomed. The source has the intention of sharing learning.
Here's the explanation
/r/Python
https://redd.it/1nfphsi
YouTube
Every Python Built-In Function Explained
🌐 Python built-in functions in just 17 minutes! This fast-paced yet beginner-friendly tutorial will break down what each function does, why it’s useful, and how you can apply it to write cleaner, more efficient code.
Know about all the built-in functions…
Know about all the built-in functions…
What Auth/Security do you prefer for api in django ?
Hi all, I have been working on a django app and came to a point where i need to make a decision.
Should i use ?
1. Django(SessionAuthentication)
- Here i was facing issue with CSRF (Is CSRF good to have or must have ?)
2. Django allauth with dj-rest-auth with token based auth or with JWT
Here if i used JWT then what is more secure
\- sending refresh token in response body
\- sending refresh token in headers(cookie)
I just want to make an informed decision by taking help from you experienced devs.
Please enlighten me.
/r/django
https://redd.it/1nfqoib
Hi all, I have been working on a django app and came to a point where i need to make a decision.
Should i use ?
1. Django(SessionAuthentication)
- Here i was facing issue with CSRF (Is CSRF good to have or must have ?)
2. Django allauth with dj-rest-auth with token based auth or with JWT
Here if i used JWT then what is more secure
\- sending refresh token in response body
\- sending refresh token in headers(cookie)
I just want to make an informed decision by taking help from you experienced devs.
Please enlighten me.
/r/django
https://redd.it/1nfqoib
Reddit
From the django community on Reddit
Explore this post and more from the django community
Django deployed on Render gets me forbidden error in post
So recently i deployed backend made on django on render and frontend made on react on vercel so locally it was working perfectly but when i deployed on homepage i was calling an api which was GET request and it also worked perfectly on deployed version as well but on POST request its giving me forbidden error when i looked into it further it was something like CSRF error like from react i have to POST it with CSRF added to it .. so for calling any api i made a file called apiClient.js which i call for every api request (A small API client file that i call that fetches data from the backend, attaches CSRF tokens to non-GET requests, retries on 403 by refreshing the token, and always returns JSON.) and in the code itself i tackle an issue like i was not getting the csrftoken itself , like if i print document.cookies it gave me null all time .. i am trying to solve these issue from past few days tried chatgpt, gemini, deepseek , not solved the error yet . Please help me to fix these error or even if someone tackled the same issue you
/r/djangolearning
https://redd.it/1nbd0ss
So recently i deployed backend made on django on render and frontend made on react on vercel so locally it was working perfectly but when i deployed on homepage i was calling an api which was GET request and it also worked perfectly on deployed version as well but on POST request its giving me forbidden error when i looked into it further it was something like CSRF error like from react i have to POST it with CSRF added to it .. so for calling any api i made a file called apiClient.js which i call for every api request (A small API client file that i call that fetches data from the backend, attaches CSRF tokens to non-GET requests, retries on 403 by refreshing the token, and always returns JSON.) and in the code itself i tackle an issue like i was not getting the csrftoken itself , like if i print document.cookies it gave me null all time .. i am trying to solve these issue from past few days tried chatgpt, gemini, deepseek , not solved the error yet . Please help me to fix these error or even if someone tackled the same issue you
/r/djangolearning
https://redd.it/1nbd0ss
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Django needs a REST story
https://forum.djangoproject.com/t/django-needs-a-rest-story/42814
/r/django
https://redd.it/1nfssaq
https://forum.djangoproject.com/t/django-needs-a-rest-story/42814
/r/django
https://redd.it/1nfssaq
Django Forum
Django needs a REST story
In my DjangoCon US talk, “All the Ways to Use Django”, I had several ideas for how Django could improve as a framework. My first and most actionable idea was for Django to have native support REST APIs. I have been in many discussions about this at DjangoCon…
Built a simple, open-source test planner your team can start using today
https://kingyo-demo.pages.dev
/r/django
https://redd.it/1nfovqz
https://kingyo-demo.pages.dev
/r/django
https://redd.it/1nfovqz
Reddit
Built a simple, open-source test planner your team can start using today : r/django
153K subscribers in the django community. News and links for the Django community.
Seeking better opportunities - Advice needed!
Hi everyone,
I'm a Full-Stack developer from Spain with over 4 years of experience, mainly working with Django and Python. I'm currently the sole tech lead on a project, working remotely. While I love what I do, I feel a bit stuck due to the relatively low salaries in Spain and limited growth opportunities.
I'm looking for advice on how to transition to better opportunities abroad (ideally remote or in another country with a stronger tech scene). Has anyone made a similar move? What platforms, strategies, or skills would you recommend to stand out internationally? Any tips on navigating visas or finding remote roles with higher pay?
Thanks in advance for any advice!
/r/django
https://redd.it/1nfdx6j
Hi everyone,
I'm a Full-Stack developer from Spain with over 4 years of experience, mainly working with Django and Python. I'm currently the sole tech lead on a project, working remotely. While I love what I do, I feel a bit stuck due to the relatively low salaries in Spain and limited growth opportunities.
I'm looking for advice on how to transition to better opportunities abroad (ideally remote or in another country with a stronger tech scene). Has anyone made a similar move? What platforms, strategies, or skills would you recommend to stand out internationally? Any tips on navigating visas or finding remote roles with higher pay?
Thanks in advance for any advice!
/r/django
https://redd.it/1nfdx6j
Reddit
From the django community on Reddit
Explore this post and more from the django community