Django (+ React) Tutorials!
Hi all, since a year I'm creating Django (and React) tutorials. I have covered topics like:
- Creating a Django & React app.
- Deploying Django & Django + React apps on Azure and Render
- Creating Calendars and Charts for Django & React.
- Login and Authentication Django + React
Do you guys have any recommendations on topics that could be interesting for you?
My channel: CBI Analytics - YouTube
/r/django
https://redd.it/1fv3pzv
Hi all, since a year I'm creating Django (and React) tutorials. I have covered topics like:
- Creating a Django & React app.
- Deploying Django & Django + React apps on Azure and Render
- Creating Calendars and Charts for Django & React.
- Login and Authentication Django + React
Do you guys have any recommendations on topics that could be interesting for you?
My channel: CBI Analytics - YouTube
/r/django
https://redd.it/1fv3pzv
YouTube
CBI Analytics
Welcome to the CBI channel! In my videos I cover topics related to Web Development and Business Intelligence. The emphasis is currently on building and deploying web applications using Python Django and React JS. My aim is to explain complex technical topics…
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1fuuq86
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1fuuq86
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
ryp: R inside Python
Excited to release ryp, a Python package for running R code inside Python! ryp makes it a breeze to use R packages in your Python projects, and includes out-of-the-box support for inline plotting in Jupyter notebooks.
https://github.com/Wainberg/ryp
/r/IPython
https://redd.it/1fv0f20
Excited to release ryp, a Python package for running R code inside Python! ryp makes it a breeze to use R packages in your Python projects, and includes out-of-the-box support for inline plotting in Jupyter notebooks.
https://github.com/Wainberg/ryp
/r/IPython
https://redd.it/1fv0f20
GitHub
GitHub - Wainberg/ryp: R inside Python
R inside Python. Contribute to Wainberg/ryp development by creating an account on GitHub.
I wrote a library that adds a @depends() decorator for FastAPI endpoints
I always missed being able to decorate my endpoints in FastAPI with decorators like
I have now written fastapi-decorators which adds a
# What My Project Does
It allows you to add FastAPI dependencies to your endpoints with the
The documentation lists a couple of useful decorators you can build with
-
-
-
-
-
… but you can of course use it for whatever you want.
# Target Audience
Anyone writing FastAPI applications. The library is a polished version of decorator logic I use in several production systems.
# Comparison
This functionality is currently not supported by FastAPI. It has been suggested as an added feature, but the suggestion was closed.
Hope someone finds it useful.
/r/Python
https://redd.it/1fv3hbs
I always missed being able to decorate my endpoints in FastAPI with decorators like
@authorized(), @cached(max_age=60), etc. but making decorators work with FastAPI endpoints and their dependencies proved surprisingly difficult.I have now written fastapi-decorators which adds a
@depends() decorator that you can use to decorate your endpoints with - with full FastAPI support :)# What My Project Does
It allows you to add FastAPI dependencies to your endpoints with the
@depends() decorator:@app.get("/users/{user_id}")
@depends(Depends(verify_auth_token))
def get_user_by_user_id(user_id: int):
...
The documentation lists a couple of useful decorators you can build with
@depends():-
@authorize() for authorizing requests-
@rate_limit(max=5, period=60) for rate-limiting endpoints-
@cache(max_age=5) for caching responses if you have expensive route operations-
@log_request() for logging incoming requests-
@handle_error() for catching exceptions and returning custom responses… but you can of course use it for whatever you want.
# Target Audience
Anyone writing FastAPI applications. The library is a polished version of decorator logic I use in several production systems.
# Comparison
This functionality is currently not supported by FastAPI. It has been suggested as an added feature, but the suggestion was closed.
Hope someone finds it useful.
/r/Python
https://redd.it/1fv3hbs
GitHub
GitHub - Minibrams/fastapi-decorators: Decorate your FastAPI endpoints with dependencies
Decorate your FastAPI endpoints with dependencies. Contribute to Minibrams/fastapi-decorators development by creating an account on GitHub.
Django AI Assistant for VS Code
Hey guys our team just launched a VS Code extension that helps devs use Django. It's basically an AI chat (RAG) system trained on the Django docs that you can chat with inside of VS Code. Should be helpful in answering basic to more advanced question, generating code, etc (really anything Django related)!
https://marketplace.visualstudio.com/items?itemName=buildwithlayer.django-integration-expert-Gus30
/r/djangolearning
https://redd.it/1fvf3bk
Hey guys our team just launched a VS Code extension that helps devs use Django. It's basically an AI chat (RAG) system trained on the Django docs that you can chat with inside of VS Code. Should be helpful in answering basic to more advanced question, generating code, etc (really anything Django related)!
https://marketplace.visualstudio.com/items?itemName=buildwithlayer.django-integration-expert-Gus30
/r/djangolearning
https://redd.it/1fvf3bk
Visualstudio
Django Chat - Visual Studio Marketplace
Extension for Visual Studio Code - A Django copilot chat extension
Which docker courses should i learn
Im a self thought backend devloper and i want to learn docker for django in YouTube but all videos are short like 30 minute full course I don't know which one is a right full can you guys please send my docker course link that worked for you sorry for my bad English grammar😑
/r/django
https://redd.it/1fvdu89
Im a self thought backend devloper and i want to learn docker for django in YouTube but all videos are short like 30 minute full course I don't know which one is a right full can you guys please send my docker course link that worked for you sorry for my bad English grammar😑
/r/django
https://redd.it/1fvdu89
Reddit
From the django community on Reddit
Explore this post and more from the django community
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/1fvm1no
# 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/1fvm1no
Redditinc
Reddit Rules
Reddit Rules - Reddit
70+ Python Leetcode Problems solved in 5+hours (every data structure)
https://m.youtube.com/watch?v=lvO88XxNAzs
I love Python, it’s my first language and the language that got me into FAANG (interviews and projects).
It’s not my day to day language (now TypeScript) but I definitely think it’s the best for interviews and getting started which is why I used it in this video.
Included a ton of Python tips, as well as programming and software engineering knowledge. Give a watch if you want to improve on these and problem solving skills too 🫡
/r/Python
https://redd.it/1fvjnhz
https://m.youtube.com/watch?v=lvO88XxNAzs
I love Python, it’s my first language and the language that got me into FAANG (interviews and projects).
It’s not my day to day language (now TypeScript) but I definitely think it’s the best for interviews and getting started which is why I used it in this video.
Included a ton of Python tips, as well as programming and software engineering knowledge. Give a watch if you want to improve on these and problem solving skills too 🫡
/r/Python
https://redd.it/1fvjnhz
YouTube
70 Leetcode problems in 5+ hours (every data structure) (full tutorial)
In this video we go through the solution and problem solving logic, walking through pretty much every leetcode question you need to know to pass a tech/programming interview, or to just become a better software engineer.
📹 Patreon:
This video took a few…
📹 Patreon:
This video took a few…
PEP 758 – Allow
PEP 758 – Allow
# Abstract
This PEP proposes to allow unparenthesized
# Motivation
The current syntax for catching multiple exceptions requires parentheses in the
try:
...
except (ExceptionA, ExceptionB, ExceptionC):
...
While this syntax is clear and unambiguous, it can be seen as unnecessarily verbose in some cases, especially when catching a large number of exceptions. By allowing the omission of parentheses, we can simplify the syntax:
try:
...
except ExceptionA, ExceptionB, ExceptionC:
...
This change would bring the syntax more in line with other comma-separated lists in Python, such
/r/Python
https://redd.it/1fvnlol
except and except* expressions without parenthesesPEP 758 – Allow
except and except* expressions without parentheses https://peps.python.org/pep-0758/# Abstract
This PEP proposes to allow unparenthesized
except and except* blocks in Python’s exception handling syntax. Currently, when catching multiple exceptions, parentheses are required around the exception types. This was a Python 2 remnant. This PEP suggests allowing the omission of these parentheses, simplifying the syntax, making it more consistent with other parts of the syntax that make parentheses optional, and improving readability in certain cases.# Motivation
The current syntax for catching multiple exceptions requires parentheses in the
except expression (equivalently for the except* expression). For example:try:
...
except (ExceptionA, ExceptionB, ExceptionC):
...
While this syntax is clear and unambiguous, it can be seen as unnecessarily verbose in some cases, especially when catching a large number of exceptions. By allowing the omission of parentheses, we can simplify the syntax:
try:
...
except ExceptionA, ExceptionB, ExceptionC:
...
This change would bring the syntax more in line with other comma-separated lists in Python, such
/r/Python
https://redd.it/1fvnlol
Python Enhancement Proposals (PEPs)
PEP 758 – Allow except and except* expressions without parentheses | peps.python.org
This PEP 1 proposes to allow unparenthesized except and except* blocks in Python’s exception handling syntax only when not using the as clause. Currently, when catching multiple exceptions, parentheses are required around the exception types. This was a...
Learn How to Use JSON as a Small Database for Your Py Projects by Building a Hotel Accounting System
This is the first free tutorial designed to help beginners learn how to use JSON to create a simple database for their projects.
It also prepares developers for the next two tutorials in our "Learn by Build" series, where we'll cover how to use the
and by time we will add extra more depth projects to enhance your pythonic skills
find tutorial in github https://github.com/rankap/learn\_by\_build/tree/main/tut\_1\_learn\_json
/r/Python
https://redd.it/1fvmvlj
This is the first free tutorial designed to help beginners learn how to use JSON to create a simple database for their projects.
It also prepares developers for the next two tutorials in our "Learn by Build" series, where we'll cover how to use the
requests library, build asynchronous code, and work with threads.and by time we will add extra more depth projects to enhance your pythonic skills
find tutorial in github https://github.com/rankap/learn\_by\_build/tree/main/tut\_1\_learn\_json
/r/Python
https://redd.it/1fvmvlj
GitHub
learn_by_build/tut_1_learn_json at main · rankap/learn_by_build
learn python by build projects. Contribute to rankap/learn_by_build development by creating an account on GitHub.
Lazywarden: Automate your Bitwarden Backups and Imports with Total Security! ☁️🔐🖥️
What My Project Does
A few weeks ago, I launched Lazywarden, a tool designed to make life easier for those of us who use Bitwarden or Vaultwarden. It automates the process of backing up and importing passwords, including attachments, in a secure and hassle-free way. You can check it out here: https://github.com/querylab/lazywarden
Target Audience
Anyone who wants to automate backups and imports of passwords securely and efficiently, while using Bitwarden or Vaultwarden.
Comparison
While Bitwarden is excellent for managing passwords, automating processes like cloud backups, integrating with other services, or securing your data locally can be tricky. Lazywarden simplifies all this with a noscript that does the heavy lifting for you. 😎
I'm open to any feedback, suggestions, or ideas for improvement. Feel free to share your thoughts or contribute to the project! 🤝
Thanks for reading, and I hope you find Lazywarden as useful as I do. 💻🔑
/r/Python
https://redd.it/1fvw58w
What My Project Does
A few weeks ago, I launched Lazywarden, a tool designed to make life easier for those of us who use Bitwarden or Vaultwarden. It automates the process of backing up and importing passwords, including attachments, in a secure and hassle-free way. You can check it out here: https://github.com/querylab/lazywarden
Target Audience
Anyone who wants to automate backups and imports of passwords securely and efficiently, while using Bitwarden or Vaultwarden.
Comparison
While Bitwarden is excellent for managing passwords, automating processes like cloud backups, integrating with other services, or securing your data locally can be tricky. Lazywarden simplifies all this with a noscript that does the heavy lifting for you. 😎
I'm open to any feedback, suggestions, or ideas for improvement. Feel free to share your thoughts or contribute to the project! 🤝
Thanks for reading, and I hope you find Lazywarden as useful as I do. 💻🔑
/r/Python
https://redd.it/1fvw58w
GitHub
GitHub - querylab/lazywarden: Automatic Bitwarden Backup
Automatic Bitwarden Backup. Contribute to querylab/lazywarden development by creating an account on GitHub.
Can someone please tell briefly the difference Flask-Dance (with SQLAlchemy) with and without Flask Security
/r/flask
https://redd.it/1fttz97
/r/flask
https://redd.it/1fttz97
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
R Were RNNs All We Needed?
https://arxiv.org/abs/2410.01201
The authors (including Y. Bengio) propose simplified versions of LSTM and GRU that allow parallel training, and show strong results on some benchmarks.
/r/MachineLearning
https://redd.it/1fvg7qr
https://arxiv.org/abs/2410.01201
The authors (including Y. Bengio) propose simplified versions of LSTM and GRU that allow parallel training, and show strong results on some benchmarks.
/r/MachineLearning
https://redd.it/1fvg7qr
arXiv.org
Were RNNs All We Needed?
The introduction of Transformers in 2017 reshaped the landscape of deep learning. Originally proposed for sequence modelling, Transformers have since achieved widespread success across various...
What does everyone use for Django emails?
Hi, I'm wondering what everyone uses for email templates and sending. I'm a hobbist but have a couple random sites, one with 800 users. I've always used the Django emails and setup templates for them within Django. I know this is my skill level but they always look basic and blah. Is there a better way?
/r/django
https://redd.it/1fvzdgt
Hi, I'm wondering what everyone uses for email templates and sending. I'm a hobbist but have a couple random sites, one with 800 users. I've always used the Django emails and setup templates for them within Django. I know this is my skill level but they always look basic and blah. Is there a better way?
/r/django
https://redd.it/1fvzdgt
Reddit
From the django community on Reddit
Explore this post and more from the django community
deployment with nginx and gunicorm
Hello there,
Should I deploy my flask application with gunicorn, and nginx in the same container?
And for every flask microservice there should be an nginx deployed? like 5 nginx for 5 microservice ?
It feels like kind of antipattern (but what do I know) but recently I came across something like that.
Also, could you share examples of production level deployment, if you know any examples out there
Thanks, and sorry for my bad english, if any mistakes
/r/flask
https://redd.it/1fw45v5
Hello there,
Should I deploy my flask application with gunicorn, and nginx in the same container?
And for every flask microservice there should be an nginx deployed? like 5 nginx for 5 microservice ?
It feels like kind of antipattern (but what do I know) but recently I came across something like that.
Also, could you share examples of production level deployment, if you know any examples out there
Thanks, and sorry for my bad english, if any mistakes
/r/flask
https://redd.it/1fw45v5
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
I never realized how complicated slice assignments are in Python...
I’ve recently been working on a custom mutable sequence type as part of a personal project, and trying to write a
Some parts of slice assignment are obvious or simple. For example, pretty much everyone knows about these cases:
>>> l = 1, 2, 3, 4, 5
>>> l0:3 = 3, 2, 1
>>> l
3, 2, 1, 4, 5
>>> l3:0:-1 = 3, 2, 1
>>> l
1, 2, 3, 4, 5
That’s easy to implement, even if it’s just iterative assignment calls pointing at the right indices. And the same of course works with negative indices too. But then you get stuff like this:
>>> l = 1, 2, 3, 4, 5
>>> l3:6 = 3, 2, 1
>>> l
1, 2, 3, 3, 2, 1
/r/Python
https://redd.it/1fvyu8b
I’ve recently been working on a custom mutable sequence type as part of a personal project, and trying to write a
__setitem__ implementation for it that handles slices the same way that the builtin list type does has been far more complicated than I realized, and left me scratching my head in confusion in a couple of cases.Some parts of slice assignment are obvious or simple. For example, pretty much everyone knows about these cases:
>>> l = 1, 2, 3, 4, 5
>>> l0:3 = 3, 2, 1
>>> l
3, 2, 1, 4, 5
>>> l3:0:-1 = 3, 2, 1
>>> l
1, 2, 3, 4, 5
That’s easy to implement, even if it’s just iterative assignment calls pointing at the right indices. And the same of course works with negative indices too. But then you get stuff like this:
>>> l = 1, 2, 3, 4, 5
>>> l3:6 = 3, 2, 1
>>> l
1, 2, 3, 3, 2, 1
/r/Python
https://redd.it/1fvyu8b
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
What Python feature made you a better developer?
A few years back I learned about dataclasses and, beside using them all the time, I think they made me a better programmer, because they led me to learn more about Python and programming in general.
What is the single Python feature/module that made you better at Python?
/r/Python
https://redd.it/1fwab0s
A few years back I learned about dataclasses and, beside using them all the time, I think they made me a better programmer, because they led me to learn more about Python and programming in general.
What is the single Python feature/module that made you better at Python?
/r/Python
https://redd.it/1fwab0s
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/1fwdjon
# 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/1fwdjon
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…
Deploying flask in hostinger
Hi! Is there any way to deploy a flask using hostinger? We are new at deploying that's why it is still confusing in our end. Thank you.
/r/flask
https://redd.it/1fw3j57
Hi! Is there any way to deploy a flask using hostinger? We are new at deploying that's why it is still confusing in our end. Thank you.
/r/flask
https://redd.it/1fw3j57
Reddit
From the flask community on Reddit
Explore this post and more from the flask community