Tutorial Processing 10K events/sec with Python WebSockets and time-series storage
Built a guide on handling high-throughput data streams with Python:
\- WebSockets for real-time AIS maritime data
\- MessagePack columnar format for efficiency
\- Time-series database (4.21M records/sec capacity)
\- Grafana visualization
Full code: https://basekick.net/blog/build-real-time-vessel-tracking-system-arc
Focuses on Python optimization patterns for high-volume data.
/r/Python
https://redd.it/1p2ca9x
Built a guide on handling high-throughput data streams with Python:
\- WebSockets for real-time AIS maritime data
\- MessagePack columnar format for efficiency
\- Time-series database (4.21M records/sec capacity)
\- Grafana visualization
Full code: https://basekick.net/blog/build-real-time-vessel-tracking-system-arc
Focuses on Python optimization patterns for high-volume data.
/r/Python
https://redd.it/1p2ca9x
basekick.net
Building a Real-Time Global Vessel Tracking System with Arc | Basekick Labs
From San Francisco Bay to Miami port - build a production-ready maritime tracking system that sustains 4.21M sensor readings per second. Watch thousands of vessels move in real-time on your dashboard.
Looking for a sanity check on an interview assignment
Looking at a new position, with a mission I do care about, but just got their take-home assignment and I am having some 2nd thoughts. I'm mostly a low-level engineer, HPC modeling and simulation and signal processing and the employer knows this. And this sort of thing isn't as the position was described.
I assume this is their standard question, regardless of the candidate:
-----
Please write code to download the current dataset, store the data server-side, create APIs that can retrieve the server-side stored data, and provide a UI to analyze it for items such as word count per department, historical changes over time, and a checksum for each department.
Only implement analysis that would provide meaningful information to the user.
Please add at least one custom metric that you believe may help inform decisions more effectively.
----
Without environment setup, they designed this to take under 6 hours. I can see it taking that long for someone who does this sort of thing every day currently, but with my background, this is completely different.
Just looking to see if I am off-base in my assessment that this is way more than 6 hours of work or if they simply expect me
/r/Python
https://redd.it/1p2wgpx
Looking at a new position, with a mission I do care about, but just got their take-home assignment and I am having some 2nd thoughts. I'm mostly a low-level engineer, HPC modeling and simulation and signal processing and the employer knows this. And this sort of thing isn't as the position was described.
I assume this is their standard question, regardless of the candidate:
-----
Please write code to download the current dataset, store the data server-side, create APIs that can retrieve the server-side stored data, and provide a UI to analyze it for items such as word count per department, historical changes over time, and a checksum for each department.
Only implement analysis that would provide meaningful information to the user.
Please add at least one custom metric that you believe may help inform decisions more effectively.
----
Without environment setup, they designed this to take under 6 hours. I can see it taking that long for someone who does this sort of thing every day currently, but with my background, this is completely different.
Just looking to see if I am off-base in my assessment that this is way more than 6 hours of work or if they simply expect me
/r/Python
https://redd.it/1p2wgpx
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
TerminalTextEffects (TTE) version 0.13.0
I saw the word 'effects', just give me GIFs
Understandable, visit the Effects Showroom first. Then come back if you like what you see.
If you want to test it in your linux terminal with uv:
What My Project Does
TerminalTextEffects (TTE) is a terminal visual effects engine. TTE can be installed as a system application to produce effects in your terminal, or as a Python library to enable effects within your Python scripts/applications. TTE includes a growing library of built-in effects which showcase the engine's features.
Audience
TTE is a terminal toy (and now a Python library) that anybody can use to add visual flair to their terminal or projects. It works in the new Windows terminal and, of course, in pretty much any unix terminal.
Comparison
I don't know of anything quite like this.
Version 0.13.0
New effects:
Smoke
Thunderstorm
Refreshed effects:
Burn
Pour
LaserEtch
minor tweaks to many others.
Here is the ChangeBlog to accompany this release, with lots of animations and a little background info.
0.13.0 - Still Alive
Here's the repo: https://github.com/ChrisBuilds/terminaltexteffects
Check it out if you're interested. I appreciate new ideas and feedback.
/r/Python
https://redd.it/1p2fnvs
I saw the word 'effects', just give me GIFs
Understandable, visit the Effects Showroom first. Then come back if you like what you see.
If you want to test it in your linux terminal with uv:
ls -a | uv tool run terminaltexteffects random_effectWhat My Project Does
TerminalTextEffects (TTE) is a terminal visual effects engine. TTE can be installed as a system application to produce effects in your terminal, or as a Python library to enable effects within your Python scripts/applications. TTE includes a growing library of built-in effects which showcase the engine's features.
Audience
TTE is a terminal toy (and now a Python library) that anybody can use to add visual flair to their terminal or projects. It works in the new Windows terminal and, of course, in pretty much any unix terminal.
Comparison
I don't know of anything quite like this.
Version 0.13.0
New effects:
Smoke
Thunderstorm
Refreshed effects:
Burn
Pour
LaserEtch
minor tweaks to many others.
Here is the ChangeBlog to accompany this release, with lots of animations and a little background info.
0.13.0 - Still Alive
Here's the repo: https://github.com/ChrisBuilds/terminaltexteffects
Check it out if you're interested. I appreciate new ideas and feedback.
/r/Python
https://redd.it/1p2fnvs
chrisbuilds.github.io
Effects Showroom - TerminalTextEffects Docs
TerminalTextEffects Documentation
D How to transition to industry after an AI/ML PhD
Hey Folks!
Feeling anxious, confused and thought to reach out for some advice here.
I am 1.5 yrs out of finishing a PhD in AI/ML from USA but do not have stellar publication record.
I'm in mid thirties and kind of drained out of the whole PhD experience.
Any suggestions as to what roles I can look into to transition to full time if I am not keen on grinding out leetcode (not averse to doing leetcode but just do not want to grinding it out as a mid 20s person) and okay with a decent salary?
/r/MachineLearning
https://redd.it/1p2xvwi
Hey Folks!
Feeling anxious, confused and thought to reach out for some advice here.
I am 1.5 yrs out of finishing a PhD in AI/ML from USA but do not have stellar publication record.
I'm in mid thirties and kind of drained out of the whole PhD experience.
Any suggestions as to what roles I can look into to transition to full time if I am not keen on grinding out leetcode (not averse to doing leetcode but just do not want to grinding it out as a mid 20s person) and okay with a decent salary?
/r/MachineLearning
https://redd.it/1p2xvwi
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Using Claude Code CLI with Django: What’s in your claude.md?
Hi everyone,
I’ve recently started using the Claude Code CLI for a Django project, and I’m trying to optimize the claude.md context file to get the best results.
For those using it, what specific instructions or project context have you added to your claude.md to make it work smoothly with Django's architecture?
Currently, I’m considering adding rules like:
1. ORM Preference: Explicit instructions to prefer the Django ORM over raw SQL or Python-side filtering.
2. Style: Enforcing Function-Based Views vs Class-Based Views.
3. Testing: Instructions to use pytest-django instead of the standard unittest.
4. Exclusions: Reminding it to ignore migrations/ files unless specifically asked to modify schemas.
Has anyone curated a "Golden Standard" claude.md for Django yet? I’d love to see examples of how you describe your apps/structure to the CLI.
Thanks!
/r/django
https://redd.it/1p3226w
Hi everyone,
I’ve recently started using the Claude Code CLI for a Django project, and I’m trying to optimize the claude.md context file to get the best results.
For those using it, what specific instructions or project context have you added to your claude.md to make it work smoothly with Django's architecture?
Currently, I’m considering adding rules like:
1. ORM Preference: Explicit instructions to prefer the Django ORM over raw SQL or Python-side filtering.
2. Style: Enforcing Function-Based Views vs Class-Based Views.
3. Testing: Instructions to use pytest-django instead of the standard unittest.
4. Exclusions: Reminding it to ignore migrations/ files unless specifically asked to modify schemas.
Has anyone curated a "Golden Standard" claude.md for Django yet? I’d love to see examples of how you describe your apps/structure to the CLI.
Thanks!
/r/django
https://redd.it/1p3226w
Claude Code Docs
Claude Code overview - Claude Code Docs
Learn about Claude Code, Anthropic's agentic coding tool that lives in your terminal and helps you turn ideas into code faster than ever before.
How much energy does the internet use? A conversation about Django and digital sustainability
Hi all! I'm a software engineer and I’ve been getting more interested in the environmental impact of the software we build and the energy it takes to keep the internet running.
I recently recorded a conversation with Thibaud Colas, who works on Wagtail and Django and has been pushing for more awareness around digital sustainability. We talked about how much energy the web actually uses, how we can measure it, why performance ends up being an emissions issue, whether rewriting everything in Rust is the magic fix (spoiler: not really), and what kind of accountability we should expect from AI companies and cloud providers.
If you’re curious, I'm posting the link to the episode below. Happy to hear thoughts, feedback, or other perspectives from folks in this community!
https://youtu.be/t4B11C2oGNc
/r/django
https://redd.it/1p2vs66
Hi all! I'm a software engineer and I’ve been getting more interested in the environmental impact of the software we build and the energy it takes to keep the internet running.
I recently recorded a conversation with Thibaud Colas, who works on Wagtail and Django and has been pushing for more awareness around digital sustainability. We talked about how much energy the web actually uses, how we can measure it, why performance ends up being an emissions issue, whether rewriting everything in Rust is the magic fix (spoiler: not really), and what kind of accountability we should expect from AI companies and cloud providers.
If you’re curious, I'm posting the link to the episode below. Happy to hear thoughts, feedback, or other perspectives from folks in this community!
https://youtu.be/t4B11C2oGNc
/r/django
https://redd.it/1p2vs66
YouTube
How To Make Web More Sustainable? – Chat with Thibaud Colas [Full Episode]
In this episode, I’m chatting with Thibaud Colas — Product Lead & Engineering Manager at Torchbox, Wagtail product lead, and current President of the Django Software Foundation. We talk about digital sustainability: why the internet’s energy use matters,…
The Right Gatekeepers: How to secure your Flask app with Flask-Security
This week I wrote a new tutorial for the publication, "Python in Plain English" on how to secure your Flask Admin dashboard with Flask-Security.
https://preview.redd.it/307axi7brl2g1.png?width=1232&format=png&auto=webp&s=4a993eacfe9f3af1b97b11ac924ae0330148f407
There were quite a few steps involved in making Flask Admin and Flask Security work well together. This included having to downgrade to Flask-Security-Too version 4.1.5. Let me know in the comments what you think. I am also using Flask-Admin 1.6.1
If you are not a Medium member you can click the "friend link" at the top of the tutorial: https://python.plainenglish.io/the-right-gatekeepers-secure-your-python-flask-app-with-flask-security-part-2-2-2cf8a7f1e667
/r/flask
https://redd.it/1p2xadr
This week I wrote a new tutorial for the publication, "Python in Plain English" on how to secure your Flask Admin dashboard with Flask-Security.
https://preview.redd.it/307axi7brl2g1.png?width=1232&format=png&auto=webp&s=4a993eacfe9f3af1b97b11ac924ae0330148f407
There were quite a few steps involved in making Flask Admin and Flask Security work well together. This included having to downgrade to Flask-Security-Too version 4.1.5. Let me know in the comments what you think. I am also using Flask-Admin 1.6.1
If you are not a Medium member you can click the "friend link" at the top of the tutorial: https://python.plainenglish.io/the-right-gatekeepers-secure-your-python-flask-app-with-flask-security-part-2-2-2cf8a7f1e667
/r/flask
https://redd.it/1p2xadr
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/1p3ek72
# 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/1p3ek72
YouTube
Data Structures and Algorithms in Python - Full Course for Beginners
A beginner-friendly introduction to common data structures (linked lists, stacks, queues, graphs) and algorithms (search, sorting, recursion, dynamic programming) in Python. This course will help you prepare for coding interviews and assessments.
🔗 Course…
🔗 Course…
eCommerce - Django Oscar vs Mainstream
I've been building online stores with Django Oscar for years.
Because of that, I ended up losing touch with the more popular mainstream solutions like Shopify, WooCommerce, etc.
For those who have used both approaches (custom Django/Oscar stack vs SaaS platforms):
What do you feel are the main downsides of sticking with something like Django Oscar today?And in which cases does a mainstream solution clearly win?
/r/django
https://redd.it/1p2wwq1
I've been building online stores with Django Oscar for years.
Because of that, I ended up losing touch with the more popular mainstream solutions like Shopify, WooCommerce, etc.
For those who have used both approaches (custom Django/Oscar stack vs SaaS platforms):
What do you feel are the main downsides of sticking with something like Django Oscar today?And in which cases does a mainstream solution clearly win?
/r/django
https://redd.it/1p2wwq1
Reddit
From the django community on Reddit
Explore this post and more from the django community
The Pocket Computer: How to Run Computational Workloads Without Cooking Your Phone
https://github.com/DaSettingsPNGN/S25_THERMAL-
I don't know about everyone else, but I didn't want to pay for a server, and didn't want to host one on my computer. I have a flagship phone; an S25+ with Snapdragon 8 and 12 GB RAM. It's ridiculous. I wanted to run intense computational coding on my phone, and didn't have a solution to keep my phone from overheating. So. I built one. This is non-rooted using sys-reads and Termux (found on F-Droid for sensor access) and Termux API (found on F-Droid), so you can keep your warranty. 🔥
What my project does: Monitors core temperatures using sys reads and Termux API. It models thermal activity using Newton's Law of Cooling to predict thermal events before they happen and prevent Samsung's aggressive performance throttling at 42° C.
Target audience: Developers who want to run an intensive server on an S25+ without rooting or melting their phone.
Comparison: I haven't seen other predictive thermal modeling used on a phone before. The hardware is concrete and physics can be very good at modeling phone behavior in relation to workload patterns. Samsung itself uses a reactive and throttling system rather than predicting thermal events. Heat is continuous and temperature isn't an isolated
/r/Python
https://redd.it/1p37186
https://github.com/DaSettingsPNGN/S25_THERMAL-
I don't know about everyone else, but I didn't want to pay for a server, and didn't want to host one on my computer. I have a flagship phone; an S25+ with Snapdragon 8 and 12 GB RAM. It's ridiculous. I wanted to run intense computational coding on my phone, and didn't have a solution to keep my phone from overheating. So. I built one. This is non-rooted using sys-reads and Termux (found on F-Droid for sensor access) and Termux API (found on F-Droid), so you can keep your warranty. 🔥
What my project does: Monitors core temperatures using sys reads and Termux API. It models thermal activity using Newton's Law of Cooling to predict thermal events before they happen and prevent Samsung's aggressive performance throttling at 42° C.
Target audience: Developers who want to run an intensive server on an S25+ without rooting or melting their phone.
Comparison: I haven't seen other predictive thermal modeling used on a phone before. The hardware is concrete and physics can be very good at modeling phone behavior in relation to workload patterns. Samsung itself uses a reactive and throttling system rather than predicting thermal events. Heat is continuous and temperature isn't an isolated
/r/Python
https://redd.it/1p37186
GitHub
GitHub - DaSettingsPNGN/S25_THERMAL-
Contribute to DaSettingsPNGN/S25_THERMAL- development by creating an account on GitHub.
Bobtail - A WSGI Application Framework
I'm just showcasing a project that I have been working on slowly for some time.
https://github.com/joegasewicz/bobtail
# What My Projects Does
It's called Bobtail & it's a WSGI application framework that is inspired by Spring Boot.
It isn't production ready but it is ready to try out & use for hobby projects (I actually now run this in production for a few of my own projects).
# Target Audience
Anyone coming from the Java language or enterprise OOP environments.
# Comparison
Spring Boot obviously but also Tornado, which uses class based routes.
I would be grateful for your feedback, Thanks
#
/r/Python
https://redd.it/1p3c9gi
I'm just showcasing a project that I have been working on slowly for some time.
https://github.com/joegasewicz/bobtail
# What My Projects Does
It's called Bobtail & it's a WSGI application framework that is inspired by Spring Boot.
It isn't production ready but it is ready to try out & use for hobby projects (I actually now run this in production for a few of my own projects).
# Target Audience
Anyone coming from the Java language or enterprise OOP environments.
# Comparison
Spring Boot obviously but also Tornado, which uses class based routes.
I would be grateful for your feedback, Thanks
#
/r/Python
https://redd.it/1p3c9gi
GitHub
GitHub - joegasewicz/bobtail: WSGI application framework
WSGI application framework. Contribute to joegasewicz/bobtail development by creating an account on GitHub.
What is the best Django course today (beginner → advanced)? Books, video, blog… anything.
I’m getting back into learning Django after stopping for a while, and I want to restart with modern learning resources that match the current real-world tech stack (Django 5.x, DRF, async, AI integration, modern tooling, etc.).
I’m looking for recommendations for the best learning path from beginner to advanced, including:
Online courses
YouTube tutorials
Books
Blogs/documentation
Project-based learning resources
Anything that helped you go from “I know nothing” to job-ready
Ideally, I want resources that focus on production-level skills, not just toy apps.
If you’ve learned Django recently (2023–2025), what resources made the biggest difference for you?
Thanks in advance!
/r/django
https://redd.it/1p2tgqx
I’m getting back into learning Django after stopping for a while, and I want to restart with modern learning resources that match the current real-world tech stack (Django 5.x, DRF, async, AI integration, modern tooling, etc.).
I’m looking for recommendations for the best learning path from beginner to advanced, including:
Online courses
YouTube tutorials
Books
Blogs/documentation
Project-based learning resources
Anything that helped you go from “I know nothing” to job-ready
Ideally, I want resources that focus on production-level skills, not just toy apps.
If you’ve learned Django recently (2023–2025), what resources made the biggest difference for you?
Thanks in advance!
/r/django
https://redd.it/1p2tgqx
Reddit
From the django community on Reddit
Explore this post and more from the django community
CAN SOME ONE EXPLAIN THIS?
https://programmers-haven.myshopify.com/
IM CONFUSED ABOUT WHAT THIS GUY IS TRYING TO SELL. IS THIS LEGIT?
/r/Python
https://redd.it/1p3ntd8
https://programmers-haven.myshopify.com/
IM CONFUSED ABOUT WHAT THIS GUY IS TRYING TO SELL. IS THIS LEGIT?
/r/Python
https://redd.it/1p3ntd8
Need help to make small changes
Can any good person help me with my class project? I will fail if i don't do it.need to get it done asaf I need to make some changes all instructions and how to do it are written. But still i don't know much code. The stack used is python flask.
About the software
It's a simple website which has login,admin,user, posting feature. The main goal is to make it free from any cyber vulnerability. Now the software has some vulnerability pointed out by another team. They have given us a report on it and what we should do. We need to make some changes implement 2-3 basic authentication features.
Please help 🙏😭
/r/flask
https://redd.it/1p3ga4p
Can any good person help me with my class project? I will fail if i don't do it.need to get it done asaf I need to make some changes all instructions and how to do it are written. But still i don't know much code. The stack used is python flask.
About the software
It's a simple website which has login,admin,user, posting feature. The main goal is to make it free from any cyber vulnerability. Now the software has some vulnerability pointed out by another team. They have given us a report on it and what we should do. We need to make some changes implement 2-3 basic authentication features.
Please help 🙏😭
/r/flask
https://redd.it/1p3ga4p
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Is there any way to simulate a slow network connection on localhost?
When I build a Flask app and test it on localhost, can I simulate a slow connection? (For example, by a python module that allows me to determine the speed of sending data from the Flask server)
/r/flask
https://redd.it/1p3pypy
When I build a Flask app and test it on localhost, can I simulate a slow connection? (For example, by a python module that allows me to determine the speed of sending data from the Flask server)
/r/flask
https://redd.it/1p3pypy
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Avenv - A Minimal Virtual Environment Script for Python
# What My Project Does
This is a minimal Linux-compatible script that streamlines Python virtual environment management. It creates each environment inside a dedicated directory in your home folder and sources the
Workflow example:
$ avenv -m newvenv
$ source avenv newvenv
# Target Audience
Developers who want a lightweight, zero-overhead method for managing Python virtual environments. Intended for personal workflows and simple development setups, not complex production pipelines.
# Comparison
Compared to tools like
# Background
I built this script for my own use several years ago, and it remains the most efficient workflow I’ve used for handling Python virtual environments.
Link: https://github.com/begbaj/avenv/
/r/Python
https://redd.it/1p3rxb6
# What My Project Does
This is a minimal Linux-compatible script that streamlines Python virtual environment management. It creates each environment inside a dedicated directory in your home folder and sources the
activate script directly. No wrappers, no frameworks, no extra abstractions.Workflow example:
$ avenv -m newvenv
$ source avenv newvenv
# Target Audience
Developers who want a lightweight, zero-overhead method for managing Python virtual environments. Intended for personal workflows and simple development setups, not complex production pipelines.
# Comparison
Compared to tools like
virtualenvwrapper, pipenv, or poetry, this script adds no metadata, no new workflow concepts, and no dependency management. It is a thin wrapper around python -m venv that provides a predictable, minimal interface focused solely on creating and activating environments.# Background
I built this script for my own use several years ago, and it remains the most efficient workflow I’ve used for handling Python virtual environments.
Link: https://github.com/begbaj/avenv/
/r/Python
https://redd.it/1p3rxb6
GitHub
GitHub - begbaj/avenv: A simple virtual environment manager for Bash
A simple virtual environment manager for Bash. Contribute to begbaj/avenv development by creating an account on GitHub.
I’m building a Python-native frontend framework that runs in the browser (Evolve)
I’m currently building a personal project called Evolve \- a Python-native frontend framework using WebAssembly and a minimal JavaScript kernel to manage DOM operations.
The idea: write UI logic in Python, run it in the browser, with a reactive system (no virtual DOM).
Still early stage, - I’ll be posting progress, architecture, and demos soon.
Would love to know: would you try a Python-first frontend framework?
/r/Python
https://redd.it/1p3p00u
I’m currently building a personal project called Evolve \- a Python-native frontend framework using WebAssembly and a minimal JavaScript kernel to manage DOM operations.
The idea: write UI logic in Python, run it in the browser, with a reactive system (no virtual DOM).
Still early stage, - I’ll be posting progress, architecture, and demos soon.
Would love to know: would you try a Python-first frontend framework?
/r/Python
https://redd.it/1p3p00u
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
If one python selling point is data-science and friends, why it discourages map and filter?
… and lambda functions have such a weird syntax and reduce is hidden in functools, etc.? Their usage is quite natural for people working with mathematics.
/r/Python
https://redd.it/1p3mjlc
… and lambda functions have such a weird syntax and reduce is hidden in functools, etc.? Their usage is quite natural for people working with mathematics.
/r/Python
https://redd.it/1p3mjlc
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
How do you implement customizable document templates (like QuickBooks)
I’m building an invoicing module in Django, and right now all my document templates (Quotation, POS Receipt, etc.) are hard-coded as Django HTML templates.
I want to redesign this so that:
- Multiple templates exist per document type
(e.g., Standard Invoice, Minimalist, POS Receipt, Japanese Style, etc.)
- Users can choose which template their organisation uses
(at setup time or inside settings)
- Users can customize parts of the template
(override header, colors, messages, table layout, footer text… basically inject custom HTML blocks)
- Ability to preview templates
(ideally show a small thumbnail preview)
/r/django
https://redd.it/1p43aga
I’m building an invoicing module in Django, and right now all my document templates (Quotation, POS Receipt, etc.) are hard-coded as Django HTML templates.
I want to redesign this so that:
- Multiple templates exist per document type
(e.g., Standard Invoice, Minimalist, POS Receipt, Japanese Style, etc.)
- Users can choose which template their organisation uses
(at setup time or inside settings)
- Users can customize parts of the template
(override header, colors, messages, table layout, footer text… basically inject custom HTML blocks)
- Ability to preview templates
(ideally show a small thumbnail preview)
/r/django
https://redd.it/1p43aga
Reddit
From the django community on Reddit
Explore this post and more from the django community