I made an IMDB webscraper
So this is pretty beginner, but it's my first real project, and today I finished the first version of it. Without going into to much detail, the user pastes a link to IMDB and the program scrapes the shows, gets an average rating for each season, the entire show, creates a graph with the average of each season, and then shows the user IMDB's top 250 rated TV shows and gives them the option to search for a show and see if it's in the top 250. That's pretty simplified and I won't paste all 200+ lines of code but [here is the github](https://github.com/NerdyBread/IMDB-Webscraping) if anyone is interested. I'd love any feedback that anyone has, good or bad.
/r/Python
https://redd.it/iiu17w
So this is pretty beginner, but it's my first real project, and today I finished the first version of it. Without going into to much detail, the user pastes a link to IMDB and the program scrapes the shows, gets an average rating for each season, the entire show, creates a graph with the average of each season, and then shows the user IMDB's top 250 rated TV shows and gives them the option to search for a show and see if it's in the top 250. That's pretty simplified and I won't paste all 200+ lines of code but [here is the github](https://github.com/NerdyBread/IMDB-Webscraping) if anyone is interested. I'd love any feedback that anyone has, good or bad.
/r/Python
https://redd.it/iiu17w
GitHub
NerdyBread/IMDB-Webscraping
Contribute to NerdyBread/IMDB-Webscraping development by creating an account on GitHub.
How to use Django Model Managers? understanding the Django ORM
# Model managers, understanding the Django ORM
[A video in YouTube](https://preview.redd.it/gb9xndstl3k51.png?width=1280&format=png&auto=webp&s=962eb3a6e6e63e9e28d206348e2bd751e7f29171)
​
Hey guys, recently while working on a project I bumped into model managers. I knew they existed but didn't bother to learn more about them. But then I had to work with my own custom user models in Django.
So I plowed through the documentation and learned it all.
I prepared a video for anyone who intends to learn more about them :) Keep Learning!!!
Link to video-
[How to use Django Model Managers?](https://youtu.be/gxeCoRr5zL8)
/r/Python
https://redd.it/ij9dm0
# Model managers, understanding the Django ORM
[A video in YouTube](https://preview.redd.it/gb9xndstl3k51.png?width=1280&format=png&auto=webp&s=962eb3a6e6e63e9e28d206348e2bd751e7f29171)
​
Hey guys, recently while working on a project I bumped into model managers. I knew they existed but didn't bother to learn more about them. But then I had to work with my own custom user models in Django.
So I plowed through the documentation and learned it all.
I prepared a video for anyone who intends to learn more about them :) Keep Learning!!!
Link to video-
[How to use Django Model Managers?](https://youtu.be/gxeCoRr5zL8)
/r/Python
https://redd.it/ij9dm0
How do I optimise my Django project for speed and performance?
Hey guys, hope you are all doing well. I recently deployed a django app to Heroku and it is super slow (5 - 6 seconds on average for a page), in part because I live in India and that's also where the majority of my users are. However, I recently tried shifting my site to AWS Lambda on the Mumbai server, which resulted in RELATIVELY faster load times (2 - 3 seconds for non database pages; pages that fetch stuff from the database are approximately the same if not even slower). This led me to believe that my site may be genuinely slow because the code isn't very efficient. To confirm this, I tested the response times locally using Google Chrome Dev tools. Sure enough, the site pages were taking 1 - 2 seconds on avg. to load locally. For comparison, I also checked the response time locally for a django blog project I had done earlier, and it was around 100 - 200 milliseconds. My current Django app is actually a marketplace, and is a fair bit more complicated than the blog, but it still shouldn't be 10X slower. Any tips on how I can make it faster /
/r/django
https://redd.it/ij6ud0
Hey guys, hope you are all doing well. I recently deployed a django app to Heroku and it is super slow (5 - 6 seconds on average for a page), in part because I live in India and that's also where the majority of my users are. However, I recently tried shifting my site to AWS Lambda on the Mumbai server, which resulted in RELATIVELY faster load times (2 - 3 seconds for non database pages; pages that fetch stuff from the database are approximately the same if not even slower). This led me to believe that my site may be genuinely slow because the code isn't very efficient. To confirm this, I tested the response times locally using Google Chrome Dev tools. Sure enough, the site pages were taking 1 - 2 seconds on avg. to load locally. For comparison, I also checked the response time locally for a django blog project I had done earlier, and it was around 100 - 200 milliseconds. My current Django app is actually a marketplace, and is a fair bit more complicated than the blog, but it still shouldn't be 10X slower. Any tips on how I can make it faster /
/r/django
https://redd.it/ij6ud0
reddit
How do I optimise my Django project for speed and performance?
Hey guys, hope you are all doing well. I recently deployed a django app to Heroku and it is super slow (5 - 6 seconds on average for a page), in...
Python - Date format Part-1
https://www.youtube.com/watch?v=3ZgnxXLqhkg&feature=share
/r/Python
https://redd.it/ij7pny
https://www.youtube.com/watch?v=3ZgnxXLqhkg&feature=share
/r/Python
https://redd.it/ij7pny
YouTube
Python - Date format Part-1
#Python #Python3 #DateFunction #DateInPython #DateFormats
Date function one of the most widely used functions in Python. Python provides the different libraries to find the date and time in different formats. This video deals with the date function in Python…
Date function one of the most widely used functions in Python. Python provides the different libraries to find the date and time in different formats. This video deals with the date function in Python…
How to integrate a machine learning model from Azure?
I built a machine learning model on Azure platform and want to connect it to the web app using Dash(which is built upon Flask) and the model changes continuously with the data. How do I connect the ml model with the web app?
/r/flask
https://redd.it/ij8ai0
I built a machine learning model on Azure platform and want to connect it to the web app using Dash(which is built upon Flask) and the model changes continuously with the data. How do I connect the ml model with the web app?
/r/flask
https://redd.it/ij8ai0
reddit
How to integrate a machine learning model from Azure?
I built a machine learning model on Azure platform and want to connect it to the web app using Dash(which is built upon Flask) and the model...
PyCon India 2020!
Ticket sales for PyConIndia2020 are open.
Rush to get your ticket: [https://in.pycon.org/2020/#ticket](https://in.pycon.org/2020/#ticket)
PyCon India is the annual gathering of Pythonistas, run by the Indian Python community, to foster adoption of the Python programming language.
With over 250+ proposals coming in globally, job board, workshops, dev sprints, and networking opportunities. This year PyCon India 2020 is set to be the biggest one yet.
We will be having a job board where you can find exciting job openings from various companies that uses Python and related technologies in various domains like web, infra, security, embedded, or data science.
No matter if you are a student, someone who is just starting out with Python, a seasoned programmer, or looking for your first programming gig there is something for all.
To make the event inclusive and accessible to all, we have kept the ticket prices to a bare minimum of 199 INR, or roughly 2.68 USD.
Regards,
On Behalf of PyCon India Organising Team
https://preview.redd.it/2owzws0q06k51.jpg?width=1280&format=pjpg&auto=webp&s=27d11d5f1b1e20d61a748801798628c6eabf93b8
/r/flask
https://redd.it/ijfczy
Ticket sales for PyConIndia2020 are open.
Rush to get your ticket: [https://in.pycon.org/2020/#ticket](https://in.pycon.org/2020/#ticket)
PyCon India is the annual gathering of Pythonistas, run by the Indian Python community, to foster adoption of the Python programming language.
With over 250+ proposals coming in globally, job board, workshops, dev sprints, and networking opportunities. This year PyCon India 2020 is set to be the biggest one yet.
We will be having a job board where you can find exciting job openings from various companies that uses Python and related technologies in various domains like web, infra, security, embedded, or data science.
No matter if you are a student, someone who is just starting out with Python, a seasoned programmer, or looking for your first programming gig there is something for all.
To make the event inclusive and accessible to all, we have kept the ticket prices to a bare minimum of 199 INR, or roughly 2.68 USD.
Regards,
On Behalf of PyCon India Organising Team
https://preview.redd.it/2owzws0q06k51.jpg?width=1280&format=pjpg&auto=webp&s=27d11d5f1b1e20d61a748801798628c6eabf93b8
/r/flask
https://redd.it/ijfczy
Jupyter notebook on tablet?
Is there such a thing? I am on android. I am not necessarily looking to install a native android app. Just the web version isn't easy to use on tablet. Like how do you even alt-enter or ctrl-enter on a tablet keyboard?
Maybe not even the full functionality of jupyter but is there a mobile website for such a thing?
/r/JupyterNotebooks
https://redd.it/ij7hj6
Is there such a thing? I am on android. I am not necessarily looking to install a native android app. Just the web version isn't easy to use on tablet. Like how do you even alt-enter or ctrl-enter on a tablet keyboard?
Maybe not even the full functionality of jupyter but is there a mobile website for such a thing?
/r/JupyterNotebooks
https://redd.it/ij7hj6
reddit
Jupyter notebook on tablet?
Is there such a thing? I am on android. I am not necessarily looking to install a native android app. Just the web version isn't easy to use on...
How Django Model Managers work? Keep Learning!!!
https://youtu.be/gxeCoRr5zL8
/r/django
https://redd.it/ij95rl
https://youtu.be/gxeCoRr5zL8
/r/django
https://redd.it/ij95rl
YouTube
Django Model Managers | Advanced Django ORM | Custom Model Managers
Django model manager
It is a python class that handles the database operations of a model.
In this video, we are going to learn how the Django ORM works under the hood and how the model managers work ?
We will also learn how to make your own model managers.…
It is a python class that handles the database operations of a model.
In this video, we are going to learn how the Django ORM works under the hood and how the model managers work ?
We will also learn how to make your own model managers.…
I made a terminal-based presentation tool with colors and effects!
Hey everyone, I made `present` which is a terminal-based presentation tool with some extra goodies! You can write slides using Markdown (I also plan to add Jupyter notebook support) and also play codios (pre-recorded playable code blocks) which can be useful for live demos! Here's the [code on Github](https://github.com/vinayak-mehta/present). And here's a demo:
​
https://i.redd.it/ei6flui6i5k51.gif
/r/Python
https://redd.it/ijdmca
Hey everyone, I made `present` which is a terminal-based presentation tool with some extra goodies! You can write slides using Markdown (I also plan to add Jupyter notebook support) and also play codios (pre-recorded playable code blocks) which can be useful for live demos! Here's the [code on Github](https://github.com/vinayak-mehta/present). And here's a demo:
​
https://i.redd.it/ei6flui6i5k51.gif
/r/Python
https://redd.it/ijdmca
GitHub
GitHub - vinayak-mehta/present: A terminal-based presentation tool with colors and effects.
A terminal-based presentation tool with colors and effects. - vinayak-mehta/present
Monday megathread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code!
/r/Python
https://redd.it/ijnjcu
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code!
/r/Python
https://redd.it/ijnjcu
reddit
Monday megathread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with...
Django and react
Hi there,
I'm a senior ruby developer who is now working on a fair big project made in django.
With ruby on rails there are many ways to integrate a react project inside the common views and I'd like to know what's the best practice within the django community?
​
I don't want to move everything on react because just a small part of the project really need it and moving everything to react would mean an heavy rewriting.
/r/django
https://redd.it/ijvuz0
Hi there,
I'm a senior ruby developer who is now working on a fair big project made in django.
With ruby on rails there are many ways to integrate a react project inside the common views and I'd like to know what's the best practice within the django community?
​
I don't want to move everything on react because just a small part of the project really need it and moving everything to react would mean an heavy rewriting.
/r/django
https://redd.it/ijvuz0
reddit
Django and react
Hi there, I'm a senior ruby developer who is now working on a fair big project made in django. With ruby on rails there are many ways to...
[D] Simple Questions Thread August 30, 2020
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/ijkivz
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/ijkivz
reddit
[D] Simple Questions Thread August 30, 2020
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here...
Data Manipulation in Python with Pandas
https://www.pythondaddy.com/python/data-manipulation-in-python-pandas/
/r/pystats
https://redd.it/ijsttc
https://www.pythondaddy.com/python/data-manipulation-in-python-pandas/
/r/pystats
https://redd.it/ijsttc
Python Daddy
Data Manipulation in Python with Pandas
In this tutorial, you will learn data manipulation in Python using Pandas. For example, you will learn about subsetting and transformation of data.
Tuesday megathread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
**If your question is a beginner question we hold a beginner megathread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.**
/r/Python
https://redd.it/ik9o9r
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python.
**If your question is a beginner question we hold a beginner megathread tomorrow (Wednesday) where you can ask any question! We may remove questions here and ask you to resubmit tomorrow.**
/r/Python
https://redd.it/ik9o9r
reddit
Tuesday megathread: Advanced questions
Have some burning questions on advanced Python topics? Use this thread to ask more advanced questions related to Python. **If your question is a...
Django security releases issued: 3.1.1, 3.0.10 and 2.2.16
https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
/r/django
https://redd.it/ikhnxt
https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
/r/django
https://redd.it/ikhnxt
reddit
Django security releases issued: 3.1.1, 3.0.10 and 2.2.16
Posted in r/django by u/dwaxe • 9 points and 0 comments
My First GUI Application
I know it's not anything special, but GUIs have always been one of my biggest weaknesses. I haven't had any good projects to show off because whenever I get to the point where I need a GUI, I get discouraged and start working on a different project. I finally sat down and forced myself to learn Pygame this past week and today I spent the whole day coding up this beauty.
Okay, maybe it's not that beautiful, but you've gotta start somewhere. I busted my ass making this thing all day and I'm damn proud of it. Hope you all like it too =)
https://reddit.com/link/ikbcaz/video/6d3qy2hpyfk51/player
/r/Python
https://redd.it/ikbcaz
I know it's not anything special, but GUIs have always been one of my biggest weaknesses. I haven't had any good projects to show off because whenever I get to the point where I need a GUI, I get discouraged and start working on a different project. I finally sat down and forced myself to learn Pygame this past week and today I spent the whole day coding up this beauty.
Okay, maybe it's not that beautiful, but you've gotta start somewhere. I busted my ass making this thing all day and I'm damn proud of it. Hope you all like it too =)
https://reddit.com/link/ikbcaz/video/6d3qy2hpyfk51/player
/r/Python
https://redd.it/ikbcaz
reddit
My First GUI Application
Posted in r/Python by u/gbliquid • 113 points and 11 comments
I created a collection of notebooks related to Computer Vision.
Hi everyone!
I have been putting together all my personal stuff of everything related to **Computer Vision** and organizing them in a collection of *python notebooks* as neat as possible. (I am always updating this project with new content)
I hope someone find it useful.
Link to the collection page: [Computer Vision Notebooks](https://diegoinacio.github.io/computer-vision-notebooks/)
​
https://preview.redd.it/9c3yddh77fk51.png?width=1280&format=png&auto=webp&s=8fc79b63f8312bb7b99d80a27e2a8046fc017bc3
/r/Python
https://redd.it/ik91eq
Hi everyone!
I have been putting together all my personal stuff of everything related to **Computer Vision** and organizing them in a collection of *python notebooks* as neat as possible. (I am always updating this project with new content)
I hope someone find it useful.
Link to the collection page: [Computer Vision Notebooks](https://diegoinacio.github.io/computer-vision-notebooks/)
​
https://preview.redd.it/9c3yddh77fk51.png?width=1280&format=png&auto=webp&s=8fc79b63f8312bb7b99d80a27e2a8046fc017bc3
/r/Python
https://redd.it/ik91eq
diegoinacio.github.io
Computer Vision Notebooks | Diego Inácio
An authorial set of fundamental Python recipes on Computer Vision and Digital Image Processing.
Django Channels - Is better to isolate the WebSocket Server?
So I have a Django application with React front-end through an API (django-restframework) and I would like to implement some websocket action (real time events) with Django Channels, is it better to create another server, just to websocket connections or integrate all in one application? I know it would change to ASGI, but don't know what it can causes or malfunction with HTTP connections after that. Thanks in advance.
/r/django
https://redd.it/ikkcm0
So I have a Django application with React front-end through an API (django-restframework) and I would like to implement some websocket action (real time events) with Django Channels, is it better to create another server, just to websocket connections or integrate all in one application? I know it would change to ASGI, but don't know what it can causes or malfunction with HTTP connections after that. Thanks in advance.
/r/django
https://redd.it/ikkcm0
reddit
Django Channels - Is better to isolate the WebSocket Server?
So I have a Django application with React front-end through an API (django-restframework) and I would like to implement some websocket action...
What are best options for pure Flask API schema UI
I am using flask for making an API with various endpoints so I wonder how to showcase my API beautifully documented as I don't plan on developing frontend for it.
I am avoid hight level extensions for the restful endpoints functionalities as I am trying to learn more about what's going under the hood.
So, I wanna use an extension only for schema UI generation and I wonder what are the best options there !
/r/flask
https://redd.it/ikh5u7
I am using flask for making an API with various endpoints so I wonder how to showcase my API beautifully documented as I don't plan on developing frontend for it.
I am avoid hight level extensions for the restful endpoints functionalities as I am trying to learn more about what's going under the hood.
So, I wanna use an extension only for schema UI generation and I wonder what are the best options there !
/r/flask
https://redd.it/ikh5u7
reddit
What are best options for pure Flask API schema UI
I am using flask for making an API with various endpoints so I wonder how to showcase my API beautifully documented as I don't plan on developing...