Announcing Traeger 0.2.0, now with Rust bindings (and Python and Go).
Traeger is a portable Actor System written in C++ 17 with bindings for Python, Go and now Rust.
https://github.com/tigrux/traeger
The notable feature since version 0.1.0 is that it now provides bindings for Rust.
The Quickstart has been updated to show examples in the supported languages.
https://github.com/tigrux/traeger?tab=readme-ov-file#quick-start
For version 0.3.0 the plan is to provide support for loadable modules i.e. to instantiate actors from shared objects.
/r/Python
https://redd.it/1kjlcqm
Traeger is a portable Actor System written in C++ 17 with bindings for Python, Go and now Rust.
https://github.com/tigrux/traeger
The notable feature since version 0.1.0 is that it now provides bindings for Rust.
The Quickstart has been updated to show examples in the supported languages.
https://github.com/tigrux/traeger?tab=readme-ov-file#quick-start
For version 0.3.0 the plan is to provide support for loadable modules i.e. to instantiate actors from shared objects.
/r/Python
https://redd.it/1kjlcqm
GitHub
GitHub - tigrux/traeger: A portable Actor System for C++ and Python
A portable Actor System for C++ and Python. Contribute to tigrux/traeger development by creating an account on GitHub.
cybersecurity project using python
heyo! I tried to make a keylogger using python, it works well, any suggestion to make it better.
source: https://github.com/Debang5hu/Keylogger
btw im planning to just focus on windows and rewrite it using c++
kudos
/r/Python
https://redd.it/1kjvs81
heyo! I tried to make a keylogger using python, it works well, any suggestion to make it better.
source: https://github.com/Debang5hu/Keylogger
btw im planning to just focus on windows and rewrite it using c++
kudos
/r/Python
https://redd.it/1kjvs81
GitHub
GitHub - Debang5hu/keylogger: a simple keylogger in python that sends the keystrokes to the server (Telegram)
a simple keylogger in python that sends the keystrokes to the server (Telegram) - Debang5hu/keylogger
🚀 I built a lightweight task management system for Django projects
Hey r/django community!
I wanted to share a library I've been working on called **django-async-manager** \- a lightweight, database-backed task management system for Django projects.
# Why I built this
While working on Django projects, I often needed to run tasks asynchronously but found that Celery was sometimes overkill for simpler projects. I wanted something that:
* Didn't require additional infrastructure like Redis or RabbitMQ
* Was easy to set up and integrate with existing Django projects
* Provided essential task management features without complexity
* Used the database as a reliable task queue
# Key Features
* **Background Tasks**: Run Django functions asynchronously
* **Task Scheduling**: Schedule tasks using cron-like syntax
* **Task Dependencies**: Define dependencies between tasks
* **Priority Queues**: Process important tasks first
* **Automatic Retries**: Configure retries with exponential backoff
* **Multiple Workers**: Run workers using threads or processes
* **Task Timeouts**: Set timeouts for long-running tasks
* **Monitoring**: Track task status, execution time, and errors
# Super Easy to Use
Setting up is straightforward:
# 1. Install
pip install django-async-manager
# 2. Add to INSTALLED_APPS
# 3. Run migrations
python manage.py migrate django_async_manager
# 4. Define a
/r/django
https://redd.it/1kjx8o5
Hey r/django community!
I wanted to share a library I've been working on called **django-async-manager** \- a lightweight, database-backed task management system for Django projects.
# Why I built this
While working on Django projects, I often needed to run tasks asynchronously but found that Celery was sometimes overkill for simpler projects. I wanted something that:
* Didn't require additional infrastructure like Redis or RabbitMQ
* Was easy to set up and integrate with existing Django projects
* Provided essential task management features without complexity
* Used the database as a reliable task queue
# Key Features
* **Background Tasks**: Run Django functions asynchronously
* **Task Scheduling**: Schedule tasks using cron-like syntax
* **Task Dependencies**: Define dependencies between tasks
* **Priority Queues**: Process important tasks first
* **Automatic Retries**: Configure retries with exponential backoff
* **Multiple Workers**: Run workers using threads or processes
* **Task Timeouts**: Set timeouts for long-running tasks
* **Monitoring**: Track task status, execution time, and errors
# Super Easy to Use
Setting up is straightforward:
# 1. Install
pip install django-async-manager
# 2. Add to INSTALLED_APPS
# 3. Run migrations
python manage.py migrate django_async_manager
# 4. Define a
/r/django
https://redd.it/1kjx8o5
Reddit
From the django community on Reddit: 🚀 I built a lightweight task management system for Django projects
Explore this post and more from the django community
I Shared 290+ Python Data Science Videos on YouTube (Tutorials, Projects and Full-Courses)
Hello, I am sharing free Python Data Science Tutorials for over 2 years on YouTube and I wanted to share my playlists. I believe they are great for learning the field, I am sharing them below. Thanks for reading!
Data Science Full Courses & Projects: https://youtube.com/playlist?list=PLTsu3dft3CWiow7L7WrCd27ohlra\_5PGH&si=UTJdXl12Y559xJWj
End-to-End Data Science Projects: https://youtube.com/playlist?list=PLTsu3dft3CWg69zbIVUQtFSRx\_UV80OOg&si=xIU-ja-l-1ys9BmU
AI Tutorials (LangChain, LLMs & OpenAI Api): https://youtube.com/playlist?list=PLTsu3dft3CWhAAPowINZa5cMZ5elpfrxW&si=GyQj2QdJ6dfWjijQ
Machine Learning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhSJh3x5T6jqPWTTg2i6jp1&si=6EqpB3yhCdwVWo2l
Deep Learning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWghrjn4PmFZlxVBileBpMjj&si=H6grlZjgBFTpkM36
Natural Language Processing Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWjYPJi5RCCVAF6DxE28LoKD&si=BDEZb2Bfox27QxE4
Time Series Analysis Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWibrBga4nKVEl5NELXnZ402&si=sLvdV59dP-j1QFW2
Streamlit Based Web App Development Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhBViLMhL0Aqb75rkSz\_CL-&si=G10eO6-uh2TjjBiW
Data Cleaning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhOUPyXdLw8DGy\_1l2oK1yy&si=WoKkxjbfRDKJXsQ1
Data Analysis Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhwPJcaAc-k6a8vAqBx2\_0t&si=gCRR8sW7-f7fquc9
/r/Python
https://redd.it/1kk1hx5
Hello, I am sharing free Python Data Science Tutorials for over 2 years on YouTube and I wanted to share my playlists. I believe they are great for learning the field, I am sharing them below. Thanks for reading!
Data Science Full Courses & Projects: https://youtube.com/playlist?list=PLTsu3dft3CWiow7L7WrCd27ohlra\_5PGH&si=UTJdXl12Y559xJWj
End-to-End Data Science Projects: https://youtube.com/playlist?list=PLTsu3dft3CWg69zbIVUQtFSRx\_UV80OOg&si=xIU-ja-l-1ys9BmU
AI Tutorials (LangChain, LLMs & OpenAI Api): https://youtube.com/playlist?list=PLTsu3dft3CWhAAPowINZa5cMZ5elpfrxW&si=GyQj2QdJ6dfWjijQ
Machine Learning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhSJh3x5T6jqPWTTg2i6jp1&si=6EqpB3yhCdwVWo2l
Deep Learning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWghrjn4PmFZlxVBileBpMjj&si=H6grlZjgBFTpkM36
Natural Language Processing Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWjYPJi5RCCVAF6DxE28LoKD&si=BDEZb2Bfox27QxE4
Time Series Analysis Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWibrBga4nKVEl5NELXnZ402&si=sLvdV59dP-j1QFW2
Streamlit Based Web App Development Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhBViLMhL0Aqb75rkSz\_CL-&si=G10eO6-uh2TjjBiW
Data Cleaning Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhOUPyXdLw8DGy\_1l2oK1yy&si=WoKkxjbfRDKJXsQ1
Data Analysis Tutorials: https://youtube.com/playlist?list=PLTsu3dft3CWhwPJcaAc-k6a8vAqBx2\_0t&si=gCRR8sW7-f7fquc9
/r/Python
https://redd.it/1kk1hx5
YouTube
Data Science Full Courses & Projects
Check out the "Data Science Full Courses & Projects" playlist, your go-to spot for diving deep into Data Analysis, Data Visualization, and Machine Learning. ...
Streamlit Alternatives with better State Management
Hi everyone,
I’m a developer at a small company (max 20 users), focusing on internal projects. I’ve built full applications using Python with FastAPI for the backend and React for the frontend. I also have experience with state management tools like Redux (Thunks, Sagas), Zustand, and Tanstack Query.
While FastAPI + React is powerful, it comes with significant overhead. You have to manage endpoints, handle server and client state separately in two different languages, and ensure schema alignment. This becomes cumbersome and slow.
Streamlit, on the other hand, is great for rapid prototyping. Everything is in Python, which is great for our analytics-heavy workflows. The challenge arises when the app gets more complex, mainly due to Streamlit's core principle of full-page re-renders on user input. It impacts speed, interactivity, and the ghost UI elements that make apps look hacky and unprofessional—poor UX overall. The newer versions with fragments help with rerenders, but only to a degree. Workarounds to avoid rerenders often lead to messy, hard-to-maintain code.
I’ve come across Reflex, which seems more state-centric than Streamlit. However, its user base is smaller, and I’m curious if there’s a reason for that. Does anyone have experience with Reflex and can share their insights? Or
/r/Python
https://redd.it/1kk3xtn
Hi everyone,
I’m a developer at a small company (max 20 users), focusing on internal projects. I’ve built full applications using Python with FastAPI for the backend and React for the frontend. I also have experience with state management tools like Redux (Thunks, Sagas), Zustand, and Tanstack Query.
While FastAPI + React is powerful, it comes with significant overhead. You have to manage endpoints, handle server and client state separately in two different languages, and ensure schema alignment. This becomes cumbersome and slow.
Streamlit, on the other hand, is great for rapid prototyping. Everything is in Python, which is great for our analytics-heavy workflows. The challenge arises when the app gets more complex, mainly due to Streamlit's core principle of full-page re-renders on user input. It impacts speed, interactivity, and the ghost UI elements that make apps look hacky and unprofessional—poor UX overall. The newer versions with fragments help with rerenders, but only to a degree. Workarounds to avoid rerenders often lead to messy, hard-to-maintain code.
I’ve come across Reflex, which seems more state-centric than Streamlit. However, its user base is smaller, and I’m curious if there’s a reason for that. Does anyone have experience with Reflex and can share their insights? Or
/r/Python
https://redd.it/1kk3xtn
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
SmolML: Machine Learning from scratch, explained!
# What my project does
Hello everyone! Some months ago I implemented a whole machine learning library from scratch in Python for educational purposes, just looking at the concepts and math behind. No external libraries used.
I've recently added comprehensive guides explaining every concept from the ground up – from automatic differentiation to backpropagation, n-dimensional arrays and tree-based algorithms. This isn't meant to replace production libraries (it's purposely slow since it's pure Python!), but rather to serve as a learning resource for anyone wanting to understand how ML actually works beneath all the abstractions.
The code is fully open source and available here: https://github.com/rodmarkun/SmolML
# Target audience
Students, developers, educators, or basically anyone who wants to learn how ML works on the inside. If you're learning ML or just curious about the inner workings of libraries like Scikit-learn or PyTorch, I'd love to hear your thoughts or feedback!
# Comparison
While other similar projects use already established libraries like NumPy or Scikit-learn, everything in SmolML is made from scratch. Guides are also provided in order to understand every concept included.
/r/Python
https://redd.it/1kjznn4
# What my project does
Hello everyone! Some months ago I implemented a whole machine learning library from scratch in Python for educational purposes, just looking at the concepts and math behind. No external libraries used.
I've recently added comprehensive guides explaining every concept from the ground up – from automatic differentiation to backpropagation, n-dimensional arrays and tree-based algorithms. This isn't meant to replace production libraries (it's purposely slow since it's pure Python!), but rather to serve as a learning resource for anyone wanting to understand how ML actually works beneath all the abstractions.
The code is fully open source and available here: https://github.com/rodmarkun/SmolML
# Target audience
Students, developers, educators, or basically anyone who wants to learn how ML works on the inside. If you're learning ML or just curious about the inner workings of libraries like Scikit-learn or PyTorch, I'd love to hear your thoughts or feedback!
# Comparison
While other similar projects use already established libraries like NumPy or Scikit-learn, everything in SmolML is made from scratch. Guides are also provided in order to understand every concept included.
/r/Python
https://redd.it/1kjznn4
GitHub
GitHub - rodmarkun/SmolML: A fully functional and simple Machine Learning library made entirely from scratch with Python.
A fully functional and simple Machine Learning library made entirely from scratch with Python. - GitHub - rodmarkun/SmolML: A fully functional and simple Machine Learning library made entirely fro...
How to make a flask app access an api via vpn?
Hi guys. I'm new to flask so this question may be a little strange.
I have a flask app that access a rest API that works only in Italy, that works fine in local.
But when I deploy my app on PythonAnywhere or Render, it won't work because it is deployed in europe (I think, like in Frankfurt) and it can't access the api (An error occurred: 403 Client Error: Forbidden for url: https://***.******.com/rest/v1/auth/login)
Is there a way to access to that api and bypass the geoblock like via vpn? And how to implement that in flask?
Any way to solve this situation would be appreciated. Thank You!
/r/flask
https://redd.it/1kk2ts1
Hi guys. I'm new to flask so this question may be a little strange.
I have a flask app that access a rest API that works only in Italy, that works fine in local.
But when I deploy my app on PythonAnywhere or Render, it won't work because it is deployed in europe (I think, like in Frankfurt) and it can't access the api (An error occurred: 403 Client Error: Forbidden for url: https://***.******.com/rest/v1/auth/login)
Is there a way to access to that api and bypass the geoblock like via vpn? And how to implement that in flask?
Any way to solve this situation would be appreciated. Thank You!
/r/flask
https://redd.it/1kk2ts1
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Djoser | password reset nightmare
Hi community! I’m using Djoser + Django REST Framework for authentication and I’m getting a little frustrated about the password‑reset flow (JUST A LITTLE 🥲).
My password‑reset emails generates links like: (http://localhost:8000/auth/users/reset_password_confirm/uid/token/)
The problem is that this endpoint expects a POST with the user’s new password, but clicking the link issues a GET, so the request fails immediately.
Most of the solutions I’ve found feel hacky, because they require either:
\- Overriding the Djoser view to handle a GET (redirecting to my frontend) and then handling a POST to the same URL to set the new password
\- Modifying Djoser’s email templates (which just feels bad to me)
Does anyone know a cleaner way to work around this? Any alternative patterns, suggestions, or insights would be hugely appreciated!
/r/djangolearning
https://redd.it/1kfdibf
Hi community! I’m using Djoser + Django REST Framework for authentication and I’m getting a little frustrated about the password‑reset flow (JUST A LITTLE 🥲).
My password‑reset emails generates links like: (http://localhost:8000/auth/users/reset_password_confirm/uid/token/)
The problem is that this endpoint expects a POST with the user’s new password, but clicking the link issues a GET, so the request fails immediately.
Most of the solutions I’ve found feel hacky, because they require either:
\- Overriding the Djoser view to handle a GET (redirecting to my frontend) and then handling a POST to the same URL to set the new password
\- Modifying Djoser’s email templates (which just feels bad to me)
Does anyone know a cleaner way to work around this? Any alternative patterns, suggestions, or insights would be hugely appreciated!
/r/djangolearning
https://redd.it/1kfdibf
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
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/1kkezzz
# 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/1kkezzz
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…
First Django project! Need suggestions with "front-end"
Hi all! I'm working on my first Django project, using Django (obvs) and DRF. I have the basics ready to deploy the project and have it ready as a portfolio piece. For a portfolio, I'm wondering how I can display the web app. Right now I'm using DRF's browsable API, I'm wondering if it's best to use Django templates to add some user friendliness to the project, or would it be worth learning React to 1 expand my skill set. 2. Have a better-looking project, or is there a better alternative anyone could suggest? I appreciate any help, guys!
/r/django
https://redd.it/1kka0sa
Hi all! I'm working on my first Django project, using Django (obvs) and DRF. I have the basics ready to deploy the project and have it ready as a portfolio piece. For a portfolio, I'm wondering how I can display the web app. Right now I'm using DRF's browsable API, I'm wondering if it's best to use Django templates to add some user friendliness to the project, or would it be worth learning React to 1 expand my skill set. 2. Have a better-looking project, or is there a better alternative anyone could suggest? I appreciate any help, guys!
/r/django
https://redd.it/1kka0sa
Reddit
From the django community on Reddit
Explore this post and more from the django community
Zeet
I created a Django app that I’m trying to deploy using Zeet. I’m having trouble on Step First. After I go to Zeet.co and sign in using my GitHub account, which authenticates successfully, I am redirected to zeet.co/contact. After that, all attempts to get to any other Zeet page, such as the dashboard, gets redirected to the Contact page. I’m stuck.
/r/django
https://redd.it/1kk3eba
I created a Django app that I’m trying to deploy using Zeet. I’m having trouble on Step First. After I go to Zeet.co and sign in using my GitHub account, which authenticates successfully, I am redirected to zeet.co/contact. After that, all attempts to get to any other Zeet page, such as the dashboard, gets redirected to the Contact page. I’m stuck.
/r/django
https://redd.it/1kk3eba
zeet.co
Get in touch with us about your cloud | Zeet.co
Zeet combines CI/CD, k8s management, networking, and observability into one easy-to-use dashboard for devs and SRE.
Hands on machine learning with sickit learn.
i had a question related to the book hands on machine learning with sickit learn the question is that for me the chapter 2 is quite hard as it is an end to end ml project so i wanted to know if the ucoming chapters are easy like i am an intermediate or they will be hard as well and if should i continue.
/r/Python
https://redd.it/1kkktef
i had a question related to the book hands on machine learning with sickit learn the question is that for me the chapter 2 is quite hard as it is an end to end ml project so i wanted to know if the ucoming chapters are easy like i am an intermediate or they will be hard as well and if should i continue.
/r/Python
https://redd.it/1kkktef
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
I’m new to web development. Should I learn Flask before Django?
What’s the easiest tutorial for building my first Flask website?
/r/flask
https://redd.it/1kko3hr
What’s the easiest tutorial for building my first Flask website?
/r/flask
https://redd.it/1kko3hr
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Pulumi Automation API for Django + Celery
https://youtu.be/fipPQaJWfCg
/r/django
https://redd.it/1kjk1n2
https://youtu.be/fipPQaJWfCg
/r/django
https://redd.it/1kjk1n2
Overriding default web error popups
Question: is there a way to override default browser error popups? Such as "email invalid should be followed by @ etc etc.." Or "date invalid because February doesn't have 30 days" Or whatnot, if so how would you do it? Just curious! I know it's not a django specific problem. Also is there a way to disable different browsers coming with their predefined css or JS? For example for Microsoft edge it comes with a prebuilt password visibility toggle while chrome doesn't
/r/django
https://redd.it/1kjgftw
Question: is there a way to override default browser error popups? Such as "email invalid should be followed by @ etc etc.." Or "date invalid because February doesn't have 30 days" Or whatnot, if so how would you do it? Just curious! I know it's not a django specific problem. Also is there a way to disable different browsers coming with their predefined css or JS? For example for Microsoft edge it comes with a prebuilt password visibility toggle while chrome doesn't
/r/django
https://redd.it/1kjgftw
Reddit
From the django community on Reddit
Explore this post and more from the django community
Frontend Templates marketplace
Does anybody know a good marketplace for sample templates to take inspiration from? Whenever I decide to do some frontend in HTML, CSS for my project, I feel stuck because most of the times there's no specific page design in my mind. So it all gets fumbled. I've been learning design from penpot YouTube tutorial, but that's very time consuming.
/r/django
https://redd.it/1kkto6m
Does anybody know a good marketplace for sample templates to take inspiration from? Whenever I decide to do some frontend in HTML, CSS for my project, I feel stuck because most of the times there's no specific page design in my mind. So it all gets fumbled. I've been learning design from penpot YouTube tutorial, but that's very time consuming.
/r/django
https://redd.it/1kkto6m
Reddit
From the django community on Reddit
Explore this post and more from the django community
Nom-Py, a parser combinator library inspired by Rust's Nom
# What My Project Does
Hey everyone, last year while I was on holiday, I created nom-py, a parser-combinator library based on Rust's Nom crate. I have used Nom in Rust for several projects, including writing my own programming language, and I wanted to bring the library back over to Python. I decided to re-visit the project, and make it available on PyPi. The code is open-source and available on GitHub.
Below is one of the examples from the README.
from nom.combinators import succeeded, tag, takerest, takeuntil, tuple
from nom.modifiers import apply
toparse = "john doe"
parser = tuple(
apply(succeeded(takeuntil(" "), tag(" ")), str.capitalize),
apply(takerest(), str.capitalize),
)
result, remaining = parser(toparse)
firstname, lastname = result
print(firstname, lastname) # John Doe
# Target Audience
I believe this interface lends itself well to small parsers and quick prototyping compared to alternatives. There are several other parser combinator libraries such as parsy and parista, but these both overload Python operators,
/r/Python
https://redd.it/1kkfuiu
# What My Project Does
Hey everyone, last year while I was on holiday, I created nom-py, a parser-combinator library based on Rust's Nom crate. I have used Nom in Rust for several projects, including writing my own programming language, and I wanted to bring the library back over to Python. I decided to re-visit the project, and make it available on PyPi. The code is open-source and available on GitHub.
Below is one of the examples from the README.
from nom.combinators import succeeded, tag, takerest, takeuntil, tuple
from nom.modifiers import apply
toparse = "john doe"
parser = tuple(
apply(succeeded(takeuntil(" "), tag(" ")), str.capitalize),
apply(takerest(), str.capitalize),
)
result, remaining = parser(toparse)
firstname, lastname = result
print(firstname, lastname) # John Doe
# Target Audience
I believe this interface lends itself well to small parsers and quick prototyping compared to alternatives. There are several other parser combinator libraries such as parsy and parista, but these both overload Python operators,
/r/Python
https://redd.it/1kkfuiu
docs.rs
nom - Rust
nom, eating data byte by byte
Reflex Build - V0/Lovable for Python Devs
Hey everyone!
Creator of reflex here. For those who don't know, Reflex is an open source framework to build web apps in pure Python, no Javascript required.
# What my Project Does
Over the past few months, we've been working on Reflex Build – a web-based tool to build apps with Prompting and Python. We wanted to make it easy to create great-looking web apps using AI and then seamlessly hook them up to your existing Python logic. Products like V0/Lovable primarily target JS developers - we want to bring that same experience to the Python ecosystem.
Here's an example app built with just a few prompts, cloning the Claude web interface (and connecting it to the Anthropic Python library): https://claude-clone.reflex.run.
This app specifically used our image-to-app feature - you can view the source code and fork the app here.
Features we've made so far:
Text + image based prompting
Database integration (connect your Postgres database, and we will automatically detect your schema so you can build apps around your data easily)
Github Integration to connect with your local workflow for complex / backend edits
Connected to our hosting service so you can deploy apps straight from the web (you can also download and self-host reflex
/r/Python
https://redd.it/1kl28iq
Hey everyone!
Creator of reflex here. For those who don't know, Reflex is an open source framework to build web apps in pure Python, no Javascript required.
# What my Project Does
Over the past few months, we've been working on Reflex Build – a web-based tool to build apps with Prompting and Python. We wanted to make it easy to create great-looking web apps using AI and then seamlessly hook them up to your existing Python logic. Products like V0/Lovable primarily target JS developers - we want to bring that same experience to the Python ecosystem.
Here's an example app built with just a few prompts, cloning the Claude web interface (and connecting it to the Anthropic Python library): https://claude-clone.reflex.run.
This app specifically used our image-to-app feature - you can view the source code and fork the app here.
Features we've made so far:
Text + image based prompting
Database integration (connect your Postgres database, and we will automatically detect your schema so you can build apps around your data easily)
Github Integration to connect with your local workflow for complex / backend edits
Connected to our hosting service so you can deploy apps straight from the web (you can also download and self-host reflex
/r/Python
https://redd.it/1kl28iq
GitHub
GitHub - reflex-dev/reflex: 🕸️ Web apps in pure Python 🐍
🕸️ Web apps in pure Python 🐍. Contribute to reflex-dev/reflex development by creating an account on GitHub.