Are there free alternatives to Twilio for SMS notifications?
I want to do SMS notifications from my Django app, but it seems like the standard is Twilio’s paid service. Just curious before I go this route, are there any free alternatives anyone can recommend?
I’m already paying $20 a month for proxies, and $5 a month for Digital Ocean, so I’d like to keep further costs to a minimum if possible.
/r/django
https://redd.it/idx56p
I want to do SMS notifications from my Django app, but it seems like the standard is Twilio’s paid service. Just curious before I go this route, are there any free alternatives anyone can recommend?
I’m already paying $20 a month for proxies, and $5 a month for Digital Ocean, so I’d like to keep further costs to a minimum if possible.
/r/django
https://redd.it/idx56p
reddit
Are there free alternatives to Twilio for SMS notifications?
I want to do SMS notifications from my Django app, but it seems like the standard is Twilio’s paid service. Just curious before I go this route,...
Friday megathread: Free chat Friday!
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
/r/Python
https://redd.it/idlz52
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
/r/Python
https://redd.it/idlz52
reddit
Friday megathread: Free chat Friday!
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
Missing the Scripts folder in Anaconda
Hey guys! I don't know if this is the right sub for this question, but I've tried to download Anaconda to my Windows (10, 64-bit) and its missing the Scripts folder no matter how many times I uninstall and reinstall it. So I also don't have the navigator or the prompt files. Can you guys recommend me somethi g to solve this problem?
/r/JupyterNotebooks
https://redd.it/idi25r
Hey guys! I don't know if this is the right sub for this question, but I've tried to download Anaconda to my Windows (10, 64-bit) and its missing the Scripts folder no matter how many times I uninstall and reinstall it. So I also don't have the navigator or the prompt files. Can you guys recommend me somethi g to solve this problem?
/r/JupyterNotebooks
https://redd.it/idi25r
reddit
Missing the Scripts folder in Anaconda
Hey guys! I don't know if this is the right sub for this question, but I've tried to download Anaconda to my Windows (10, 64-bit) and its missing...
Why is my JWT access token saved into my cookies when I log in manually from the back end, but not from the front end?
So, I'm using GatsbyJS on the front end on port 8000 and Django REST Framework on the back end on port 7000. All I want to do is sign the user in using their username and password as credentials. I'm using a combination of `dj-rest-auth` and `all-auth` to handle JWT authentication. Here are the paths I've created:
* Registration: `/auth/registration/`
* Logging In: `/auth/login/`
* Logging Out: `/auth/logout/`
* Getting Current User Information: `/auth/user/`
When I log the user in from the back end (`localhost:7000/auth/login/`), I get back the access token, refresh token, and relevant user data (e.g. id, username, email, etc.). When I log the user in from the front end (`localhost:8000` \- code below), I get the exact same data back from [`response.data`](https://response.data) \- access token, refresh token, and relevant user data. The only difference between the two is that, when I log in from the back end endpoint, the access token is safely stored within an HttpOnly cookie. However, when I log in from the front end (i.e. hit `localhost:7000/auth/login/` using Axios), while I get back the same response data, my access token isn't being saved into an HttpOnly cookie, let alone being saved on the browser at all. When trying to
/r/django
https://redd.it/idxr6p
So, I'm using GatsbyJS on the front end on port 8000 and Django REST Framework on the back end on port 7000. All I want to do is sign the user in using their username and password as credentials. I'm using a combination of `dj-rest-auth` and `all-auth` to handle JWT authentication. Here are the paths I've created:
* Registration: `/auth/registration/`
* Logging In: `/auth/login/`
* Logging Out: `/auth/logout/`
* Getting Current User Information: `/auth/user/`
When I log the user in from the back end (`localhost:7000/auth/login/`), I get back the access token, refresh token, and relevant user data (e.g. id, username, email, etc.). When I log the user in from the front end (`localhost:8000` \- code below), I get the exact same data back from [`response.data`](https://response.data) \- access token, refresh token, and relevant user data. The only difference between the two is that, when I log in from the back end endpoint, the access token is safely stored within an HttpOnly cookie. However, when I log in from the front end (i.e. hit `localhost:7000/auth/login/` using Axios), while I get back the same response data, my access token isn't being saved into an HttpOnly cookie, let alone being saved on the browser at all. When trying to
/r/django
https://redd.it/idxr6p
How to generate card token in a react native app?
Hi I am trying to develop a mobile app using react native and Django. From docs I got to know about the ensure_csrf_token decorator but I have no idea how to generate csrf token in a mobile app. Also which url should I white list in the settings.py file to enable my react native app to fetch data from the Django server. I am using drf btw
/r/djangolearning
https://redd.it/ie1i7c
Hi I am trying to develop a mobile app using react native and Django. From docs I got to know about the ensure_csrf_token decorator but I have no idea how to generate csrf token in a mobile app. Also which url should I white list in the settings.py file to enable my react native app to fetch data from the Django server. I am using drf btw
/r/djangolearning
https://redd.it/ie1i7c
reddit
How to generate card token in a react native app?
Hi I am trying to develop a mobile app using react native and Django. From docs I got to know about the ensure_csrf_token decorator but I have no...
Snake game in a single line of python
This is a fully functional game of snake in a single line of python using pygame. I did this mostly as a challenge to myself to see how compact I can make code, similar to code golf. I got it down to less than 3K characters, but I could easily get much less by shortening variable names.
[source code](https://github.com/tjf801/oneliners/blob/master/snake.py)
edit: some bug fixes made it go over 3K chars
/r/Python
https://redd.it/idxmnt
This is a fully functional game of snake in a single line of python using pygame. I did this mostly as a challenge to myself to see how compact I can make code, similar to code golf. I got it down to less than 3K characters, but I could easily get much less by shortening variable names.
[source code](https://github.com/tjf801/oneliners/blob/master/snake.py)
edit: some bug fixes made it go over 3K chars
/r/Python
https://redd.it/idxmnt
GitHub
oneliners/snake.py at master · tjf801/oneliners
one line of python code to impliment algorithms. Contribute to tjf801/oneliners development by creating an account on GitHub.
django celery
Hi, I'm trying out celery and it works but it seems like celery does not complete the task. I've checked celery docs and it seems like there isn't a time limit set on completing the task.
user = User.objects.get(id=user_id)
scraperecord = ScrapeRecord.objects.create(user=user, query=query)
print(article_elements)
for article in article_elements:
h2 = article.find_element_by_tag_name("h2")
article_title = h2.text
if re.match('^person', article_title):
continue
a =
/r/django
https://redd.it/ie1l6q
Hi, I'm trying out celery and it works but it seems like celery does not complete the task. I've checked celery docs and it seems like there isn't a time limit set on completing the task.
user = User.objects.get(id=user_id)
scraperecord = ScrapeRecord.objects.create(user=user, query=query)
print(article_elements)
for article in article_elements:
h2 = article.find_element_by_tag_name("h2")
article_title = h2.text
if re.match('^person', article_title):
continue
a =
/r/django
https://redd.it/ie1l6q
reddit
django celery
Hi, I'm trying out celery and it works but it seems like celery does not complete the task. I've checked celery docs and it seems like there isn't...
Saturday megathread: Share your resources!
Found a neat resource related to Python over the past week? Looking for a resource to explain a certain topic?
Use this thread to chat about and share Python resources!
/r/Python
https://redd.it/ie8bg0
Found a neat resource related to Python over the past week? Looking for a resource to explain a certain topic?
Use this thread to chat about and share Python resources!
/r/Python
https://redd.it/ie8bg0
reddit
Saturday megathread: Share your resources!
Found a neat resource related to Python over the past week? Looking for a resource to explain a certain topic? Use this thread to chat about and...
I made a python script that joins Google Meet automatically with my camera and microphone turned off according to my schedule!
I made a python script using selenium to join my online classs on google meet. Fairly basic; Do take a quick look and feel free to give suggestions.
[Github Repo](https://github.com/utkrixx/Google-Meet-automation-with-Python)
/r/Python
https://redd.it/ie04v4
I made a python script using selenium to join my online classs on google meet. Fairly basic; Do take a quick look and feel free to give suggestions.
[Github Repo](https://github.com/utkrixx/Google-Meet-automation-with-Python)
/r/Python
https://redd.it/ie04v4
GitHub
GitHub - utkrix/Google-Meet-automation-with-Python
Contribute to utkrix/Google-Meet-automation-with-Python development by creating an account on GitHub.
Best hidden feature of python | Chaining comparison operators
https://youtu.be/HPfPFM1wNmE
/r/Python
https://redd.it/ie7fje
https://youtu.be/HPfPFM1wNmE
/r/Python
https://redd.it/ie7fje
YouTube
Best hidden feature of Python | Chaining comparison operators
Python is full of amazing hidden features. Chaining comparison operators is my favorite. Support this channel by supporting our sponsor, ExpressVPN: https://expressvpn.com/lexpod
Software Engineering Stack Exchange: https://softwareengineering.stackexch…
Software Engineering Stack Exchange: https://softwareengineering.stackexch…
I made an open-source coding platform that lets you code and watch tutorials in a single tab!
For those of you who don't know what DomeCode is, I made a previous post on this subreddit about it, [https://www.reddit.com/r/Python/comments/i9g0oo/made\_a\_platform\_for\_people\_to\_learn\_code\_practice/](https://www.reddit.com/r/Python/comments/i9g0oo/made_a_platform_for_people_to_learn_code_practice/)
[**DomeCode**](https://domecode.com/) is an open-source application that helps you learn and practice code with the appropriate tools and a curated list of resources through the philosophy of practice. It’s a single workspace where you can advance your coding journey with compiled resources to learn programming concepts, take notes, plan tasks, practice coding problems, discuss interesting stuff on the Forum, meet other developers and most all have the musical element with all of it without ever leaving the single workspace to navigate to dozen platforms.
Open-sourced at: [https://github.com/the-domecode](https://github.com/the-domecode) Would love contributions and stars!
You can sponsor the open-source project at [https://domecode.com/sponsor](https://domecode.com/sponsor)
[Fusion demo](https://reddit.com/link/iecm7e/video/jta7a2tikhi51/player)
**What's Fusion?**
**Fusion is a real-time disposable editor using which you can start learning front-end technology including HTML,** **CSS, JS with any YouTube tutorial of your choice in a** **single tab** **instead of** **a code editor and two browser windows like a memory hog.**
It's available at [https://domecode.com/fusion/](https://domecode.com/fusion/)
Hope you have a great time!
/r/django
https://redd.it/iecm7e
For those of you who don't know what DomeCode is, I made a previous post on this subreddit about it, [https://www.reddit.com/r/Python/comments/i9g0oo/made\_a\_platform\_for\_people\_to\_learn\_code\_practice/](https://www.reddit.com/r/Python/comments/i9g0oo/made_a_platform_for_people_to_learn_code_practice/)
[**DomeCode**](https://domecode.com/) is an open-source application that helps you learn and practice code with the appropriate tools and a curated list of resources through the philosophy of practice. It’s a single workspace where you can advance your coding journey with compiled resources to learn programming concepts, take notes, plan tasks, practice coding problems, discuss interesting stuff on the Forum, meet other developers and most all have the musical element with all of it without ever leaving the single workspace to navigate to dozen platforms.
Open-sourced at: [https://github.com/the-domecode](https://github.com/the-domecode) Would love contributions and stars!
You can sponsor the open-source project at [https://domecode.com/sponsor](https://domecode.com/sponsor)
[Fusion demo](https://reddit.com/link/iecm7e/video/jta7a2tikhi51/player)
**What's Fusion?**
**Fusion is a real-time disposable editor using which you can start learning front-end technology including HTML,** **CSS, JS with any YouTube tutorial of your choice in a** **single tab** **instead of** **a code editor and two browser windows like a memory hog.**
It's available at [https://domecode.com/fusion/](https://domecode.com/fusion/)
Hope you have a great time!
/r/django
https://redd.it/iecm7e
reddit
Made a platform for people to learn code, practice, and more in a...
Open sourced at : https://github.com/the-domecode Would love contributions and stars! You can sponsor the open-source project at:...
[OC] Python Automation 101 Video
Whats up [r/python](https://www.reddit.com/r/Python/)!
I spend the last few days creating a YouTube video about automation basics in Python. The video covers:
1. Basics of Selenium automation by creating an Instagram Like Bot
2. Basics of Windows Automation by starting / closing Fortnite via F8, F9
3. Basics of pixel reading Bots by creating a Fortnite idle Bot that always starts new rounds.
The key takeaway are not the bots, but the underlying automation concepts. Hope you like the video! [https://youtu.be/6Uu944IafNU](https://youtu.be/6Uu944IafNU)
If you have any questions, feel free to ask either on YouTube or here.
/r/Python
https://redd.it/iee21t
Whats up [r/python](https://www.reddit.com/r/Python/)!
I spend the last few days creating a YouTube video about automation basics in Python. The video covers:
1. Basics of Selenium automation by creating an Instagram Like Bot
2. Basics of Windows Automation by starting / closing Fortnite via F8, F9
3. Basics of pixel reading Bots by creating a Fortnite idle Bot that always starts new rounds.
The key takeaway are not the bots, but the underlying automation concepts. Hope you like the video! [https://youtu.be/6Uu944IafNU](https://youtu.be/6Uu944IafNU)
If you have any questions, feel free to ask either on YouTube or here.
/r/Python
https://redd.it/iee21t
Reddit
Python
The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language.
---
If you have questions or are new to Python use r/LearnPython
---
If you have questions or are new to Python use r/LearnPython
[D] Resources and topics to cover for entry level ML Software Engineering Interviews [Part 1: Stat ML]
Hi everyone,
I had been giving a lot interviews from late 2017 to early 2019 in ML software engineering roles. I thought I'll share a bunch of resources and some topics to look out for.
You might be tested on a subset of the topics along with a generic leetcode coding question.
[https://github.com/Feynman687/Interviews/blob/master/StatML.md](https://github.com/Feynman687/Interviews/blob/master/StatML.md)
FYI: I have interviewed a lot, including Google, Microsoft, Apple, Amazon, Bloomberg, Quora, Walmart Labs, Allen AI, a lot of mid sized companies in Bay area (SoundHound, PocketGems etc) , a lot of new 10 member team startups in Bay area (Blue Hexagon, Well said labs) and more. The list is a combination of all the topics (statistical ML only) that I encountered in those interviews. Of course, you may or may not be judged on all but knowing a bit on such topics is always a plus. For example, I never knew much on reservoir sampling until I was asked to "derive a proof for it" in a Data Scientist interview for one of the above mentioned companies. If you're thinking why reservoir sampling - it's an effective strategy to calculate Mean/Median etc characteristic for
/r/MachineLearning
https://redd.it/ie2bti
Hi everyone,
I had been giving a lot interviews from late 2017 to early 2019 in ML software engineering roles. I thought I'll share a bunch of resources and some topics to look out for.
You might be tested on a subset of the topics along with a generic leetcode coding question.
[https://github.com/Feynman687/Interviews/blob/master/StatML.md](https://github.com/Feynman687/Interviews/blob/master/StatML.md)
FYI: I have interviewed a lot, including Google, Microsoft, Apple, Amazon, Bloomberg, Quora, Walmart Labs, Allen AI, a lot of mid sized companies in Bay area (SoundHound, PocketGems etc) , a lot of new 10 member team startups in Bay area (Blue Hexagon, Well said labs) and more. The list is a combination of all the topics (statistical ML only) that I encountered in those interviews. Of course, you may or may not be judged on all but knowing a bit on such topics is always a plus. For example, I never knew much on reservoir sampling until I was asked to "derive a proof for it" in a Data Scientist interview for one of the above mentioned companies. If you're thinking why reservoir sampling - it's an effective strategy to calculate Mean/Median etc characteristic for
/r/MachineLearning
https://redd.it/ie2bti
GitHub
Interviews/StatML.md at master · Feynman687/Interviews
Contribute to Feynman687/Interviews development by creating an account on GitHub.
A python pixel art in 3D! Found the pixel art on google but couldn't find a creator. (couldn't find the right flair)
/r/Python
https://redd.it/iek6ki
/r/Python
https://redd.it/iek6ki
Any idea or libraries out there on how to convert Jupyter Notebook to pptx?
I'm trying to export the plots on my Jupyter Notebook to a ppt or pptx, any help will be greatly appreciated!
/r/JupyterNotebooks
https://redd.it/ie6aij
I'm trying to export the plots on my Jupyter Notebook to a ppt or pptx, any help will be greatly appreciated!
/r/JupyterNotebooks
https://redd.it/ie6aij
reddit
Any idea or libraries out there on how to convert Jupyter Notebook...
I'm trying to export the plots on my Jupyter Notebook to a ppt or pptx, any help will be greatly appreciated!
Where can I write django tutorials?
I just got a nuxtjs authentication system working with django rest framework. It took me about 3 days to get here. From what I noticed, there aren't any tutorials out there to actually get authentication working with nuxtjs, only half written, unexplained code snippets.
I want to write a tutorial so that other users looking for a similar solution can easily consult this tutorial and get it working. What are some platforms where I can do this?
I am not looking for anything specific, just a website where I can write a tutorial, without any interviews or much hassle, and which has a good visitor count.
EDIT: www.realpython.com has an interviewing process and I'm not interested in it. I also don't think github gists is a good option.
/r/django
https://redd.it/iehs0b
I just got a nuxtjs authentication system working with django rest framework. It took me about 3 days to get here. From what I noticed, there aren't any tutorials out there to actually get authentication working with nuxtjs, only half written, unexplained code snippets.
I want to write a tutorial so that other users looking for a similar solution can easily consult this tutorial and get it working. What are some platforms where I can do this?
I am not looking for anything specific, just a website where I can write a tutorial, without any interviews or much hassle, and which has a good visitor count.
EDIT: www.realpython.com has an interviewing process and I'm not interested in it. I also don't think github gists is a good option.
/r/django
https://redd.it/iehs0b
reddit
Where can I write django tutorials?
I just got a nuxtjs authentication system working with django rest framework. It took me about 3 days to get here. From what I noticed, there...
Just found this 100% free exercise based learning track for Python. It has over a 100 guided (or non-guided) exercises to improve your skills in problem solving/Python! You can login with Github or email.
https://exercism.io/my/tracks/python
/r/Python
https://redd.it/iemhts
https://exercism.io/my/tracks/python
/r/Python
https://redd.it/iemhts
Would it make sense to learn other frameworks like Laravel after Django?
Apart from, of course, missing out on job opportunities that require Laravel or other frameworks, do they offer additional things that I don't have with Django?
/r/django
https://redd.it/ienxwc
Apart from, of course, missing out on job opportunities that require Laravel or other frameworks, do they offer additional things that I don't have with Django?
/r/django
https://redd.it/ienxwc
reddit
Would it make sense to learn other frameworks like Laravel after...
Apart from, of course, missing out on job opportunities that require Laravel or other frameworks, do they offer additional things that I don't...