Jupyter4kids – Notebooks to help teach kids principles of programming
https://github.com/mikkokotila/jupyter4kids
/r/Python
https://redd.it/6z8mb9
https://github.com/mikkokotila/jupyter4kids
/r/Python
https://redd.it/6z8mb9
GitHub
eka-foundation/numerical-computing-is-fun
Learning numerical computing with notebooks for all ages. - eka-foundation/numerical-computing-is-fun
Hydro Flask | Review| is it worth it? (honest)
https://www.youtube.com/attribution_link?a=W_smfDiZ8aU&u=%2Fwatch%3Fv%3DZ4gJFfgDMAA%26feature%3Dshare
/r/flask
https://redd.it/6zb4c5
https://www.youtube.com/attribution_link?a=W_smfDiZ8aU&u=%2Fwatch%3Fv%3DZ4gJFfgDMAA%26feature%3Dshare
/r/flask
https://redd.it/6zb4c5
YouTube
Hydro Flask | Review| is it worth it? (honest)
I purchased the 40 ounce, straw lid hydro flak. Ive never had a yetti water bottle, so this is my first time experiencing an item like this. I do love that m...
Animated routes with QGIS and Python
https://medium.com/@tjukanov/animated-routes-with-qgis-9377c1f16021
/r/Python
https://redd.it/6z9gwk
https://medium.com/@tjukanov/animated-routes-with-qgis-9377c1f16021
/r/Python
https://redd.it/6z9gwk
Medium
Animated routes with QGIS
I have been posting these GIF animations with the theme Optimal routes from x to n locations already for a while to my Twitter account and…
How do you distribute your app?
I finally made my way to finalize the first version of my web app! Now the question I'm struggling with is: how do I distribute it?
The app (Django + Django Rest Framowork + client with tons of JS) is of the "final product" type (not a Django reusable app) with, obviously, dependencies. It is supposed to be simply deployed on a host and served by a HTTP server.
When I deploy a PHP web app on a server, I am used to deal with a single archive containing all the necessary files. I thought it'd be the same for a Django app, but I don't know how to handle the dependencies.
So far, the suggestions I've read are the following:
* Create a Docker container. Seems neat, but a bit overkill;
* Create a system package (RPM, DEB). Still overkill;
* Create a Python package with setuptools. Many posts on SO suggest to go this way. Why? For me, it doesn't make sense: as I said, the app is a "final product," there is no point to install it as a regular package (nor point to import it in another project). Moreover, dependencies are not included in the archive. And, if installed, how do I edit local settings?
* Create a all-in-one Python package with PyInstaller. Seems overkill as Python should be available on a server. And I had a hard time to get it working;
* Do nothing, just create an archive of the repo, with no dependencies, and put documentation to set the project up.
I'm very perplex. What should I do?
/r/django
https://redd.it/6zbdi8
I finally made my way to finalize the first version of my web app! Now the question I'm struggling with is: how do I distribute it?
The app (Django + Django Rest Framowork + client with tons of JS) is of the "final product" type (not a Django reusable app) with, obviously, dependencies. It is supposed to be simply deployed on a host and served by a HTTP server.
When I deploy a PHP web app on a server, I am used to deal with a single archive containing all the necessary files. I thought it'd be the same for a Django app, but I don't know how to handle the dependencies.
So far, the suggestions I've read are the following:
* Create a Docker container. Seems neat, but a bit overkill;
* Create a system package (RPM, DEB). Still overkill;
* Create a Python package with setuptools. Many posts on SO suggest to go this way. Why? For me, it doesn't make sense: as I said, the app is a "final product," there is no point to install it as a regular package (nor point to import it in another project). Moreover, dependencies are not included in the archive. And, if installed, how do I edit local settings?
* Create a all-in-one Python package with PyInstaller. Seems overkill as Python should be available on a server. And I had a hard time to get it working;
* Do nothing, just create an archive of the repo, with no dependencies, and put documentation to set the project up.
I'm very perplex. What should I do?
/r/django
https://redd.it/6zbdi8
reddit
How do you distribute your app? • r/django
I finally made my way to finalize the first version of my web app! Now the question I'm struggling with is: how do I distribute it? The app...
DjangoCon 2017 Videos are up and a question!
Firstly, I know a lot of people have been waiting, but the [recordings from DjangoCon 2017 are finally up!](https://www.youtube.com/channel/UC0yY6a79pPY9J0ShIHRf6yw/videos)
Secondly, I want to know from you, the community, what would you like to see covered next year?
/r/djangolearning
https://redd.it/6yio0r
Firstly, I know a lot of people have been waiting, but the [recordings from DjangoCon 2017 are finally up!](https://www.youtube.com/channel/UC0yY6a79pPY9J0ShIHRf6yw/videos)
Secondly, I want to know from you, the community, what would you like to see covered next year?
/r/djangolearning
https://redd.it/6yio0r
YouTube
DjangoCon US
Six days of talks, sprints, and tutorials by the community for the community.
Cryptocurrency price and account balance monitor
https://github.com/alexanderepstein/cryptowatch
/r/Python
https://redd.it/6zbts8
https://github.com/alexanderepstein/cryptowatch
/r/Python
https://redd.it/6zbts8
GitHub
GitHub - alexanderepstein/cryptowatch: :bird: Cryptocurrency price and account balance monitor
:bird: Cryptocurrency price and account balance monitor - alexanderepstein/cryptowatch
Extract data from invoices?
Hi, I’m trying to automate some tedious parts of my work but I don’t know exactly how to go about doing so.
I get a lot of invoices from several companies who all have different designs and types, some will be an excel spreadsheet converted to a pdf and some will be a scanned document, but I need to extract some information from them.
I don’t need all the data from the invoices and there are certain areas where the data is or certain keywords I could use to find the data.
What would be the best way to go about doing this?
/r/Python
https://redd.it/6zd6ui
Hi, I’m trying to automate some tedious parts of my work but I don’t know exactly how to go about doing so.
I get a lot of invoices from several companies who all have different designs and types, some will be an excel spreadsheet converted to a pdf and some will be a scanned document, but I need to extract some information from them.
I don’t need all the data from the invoices and there are certain areas where the data is or certain keywords I could use to find the data.
What would be the best way to go about doing this?
/r/Python
https://redd.it/6zd6ui
reddit
Extract data from invoices? • r/Python
Hi, I’m trying to automate some tedious parts of my work but I don’t know exactly how to go about doing so. I get a lot of invoices from several...
How to Load Test a Django App using LocustIO
http://blog.apcelent.com/load-test-django-application-using-locustio.html
/r/django
https://redd.it/6zeerl
http://blog.apcelent.com/load-test-django-application-using-locustio.html
/r/django
https://redd.it/6zeerl
reddit
How to Load Test a Django App using LocustIO • r/django
2 points and 0 comments so far on reddit
New to Django, how do i know which imports i need and where do i found or learn them?
I am new to Django and Python, and this is the first time that i am learning and using a Framework (MVT). My question is, how do i know which kind of imports i need when using Django?
Example: from django.conf.urls import url
How do i know i need to include it. I learned some PHP and i didn't have to import classes/functions manually?
How do i learn what i need and where can i find what i need? Isn't this a bit to complex, why do i need to add and import everything manually?
/r/djangolearning
https://redd.it/6zed09
I am new to Django and Python, and this is the first time that i am learning and using a Framework (MVT). My question is, how do i know which kind of imports i need when using Django?
Example: from django.conf.urls import url
How do i know i need to include it. I learned some PHP and i didn't have to import classes/functions manually?
How do i learn what i need and where can i find what i need? Isn't this a bit to complex, why do i need to add and import everything manually?
/r/djangolearning
https://redd.it/6zed09
reddit
New to Django, how do i know which imports i... • r/djangolearning
I am new to Django and Python, and this is the first time that i am learning and using a Framework (MVT). My question is, how do i know which kind...
I made a hacker news clone for practice
I post the Pinterest clone about a week ago, now its the time for me to post a [hacker news clone](https://hnews-clone.herokuapp.com/) and I don't know but I think it's much better than my last one app who doesn't allow you to sign up and the CBV login view don't have any style class
I use bootstrap for this one, and I think, the only issue is my cancel button when I try to delete because doesn't redirect to the detail view again and give an error. And maybe add a pagination after 30 items.
Well, tell me anything or suggest me another app to build
[github](https://github.com/iKenshu/hnews)
/r/django
https://redd.it/6zewgx
I post the Pinterest clone about a week ago, now its the time for me to post a [hacker news clone](https://hnews-clone.herokuapp.com/) and I don't know but I think it's much better than my last one app who doesn't allow you to sign up and the CBV login view don't have any style class
I use bootstrap for this one, and I think, the only issue is my cancel button when I try to delete because doesn't redirect to the detail view again and give an error. And maybe add a pagination after 30 items.
Well, tell me anything or suggest me another app to build
[github](https://github.com/iKenshu/hnews)
/r/django
https://redd.it/6zewgx
GitHub
iKenshu/hnews
hnews - A Hacker News clone for Django Practice
How to implement a comment form in Django via Wagtail CMS
https://www.pogonareport.com/posts/how-implement-comment-form-wagtail-cms/
/r/django
https://redd.it/6zfi02
https://www.pogonareport.com/posts/how-implement-comment-form-wagtail-cms/
/r/django
https://redd.it/6zfi02
Pogonareport
How to implement a comment form in Wagtail CMS
A tutorial for how to implement a blog comment form in Wagtail CMS for Django. This tutorial would also work for any simple form you want to add to a Wagtail page.
A Complete Beginner's Guide to Django - Part 2
https://simpleisbetterthancomplex.com/series/2017/09/11/a-complete-beginners-guide-to-django-part-2.html
/r/Python
https://redd.it/6zeeq5
https://simpleisbetterthancomplex.com/series/2017/09/11/a-complete-beginners-guide-to-django-part-2.html
/r/Python
https://redd.it/6zeeq5
Simple is Better Than Complex
A Complete Beginner's Guide to Django - Part 2
Welcome to the second part of our Django Tutorial! In the previous lesson, we installed everything that we needed. Hopefully, you are all setup with Python 3.6 installed and Django 1.11 running ins...
Implementing kd-trees along with the fast range-search, nearest-neighbor search and k-nearest-neighbor search algorithms in 2D (with applications in simulating the boids: motion of a flock of birds and in learning supervised ML model: a kNN classifier) in Java and python
https://sandipanweb.wordpress.com/2017/09/10/implementing-kd-trees-along-with-the-fast-range-search-nearest-neighbor-search-and-k-nearest-neighbor-search-algorithms-in-2d-with-an-application-in-simulating-the-motion-of-a-flock-of-boids/
/r/Python
https://redd.it/6zewcs
https://sandipanweb.wordpress.com/2017/09/10/implementing-kd-trees-along-with-the-fast-range-search-nearest-neighbor-search-and-k-nearest-neighbor-search-algorithms-in-2d-with-an-application-in-simulating-the-motion-of-a-flock-of-boids/
/r/Python
https://redd.it/6zewcs
sandipanweb
Implementing kd-tree for fast range-search, nearest-neighbor search and k-nearest-neighbor search algorithms in 2D (with applications…
The following problem appeared as an assignment in the coursera course Algorithms-I by Prof. Robert Sedgewick from the Princeton University few years back (and also in the course cos226 offered at …
Detailed Flask Web Development Series
Hey guys,
I’ve been working on building a really detailed course around the Flask framework to get many beginners started with web development with Python.
Course Page: https://www.thecodewolf.com/courses/python-flask-web-development/
Here are the first few videos of the series, I’ve also have written tutorials with the videos as well:
* Overview & Installation
* [Video](https://youtu.be/Ty2qAlDsAxc)
* [Blog Post](https://www.thecodewolf.com/introduction-to-python-flask-web-development-overview-of-flask/)
* Hello World & Flask Application Structure
* [Video](https://youtu.be/OrTWfZpv0i0)
* [Blog Post](https://www.thecodewolf.com/python-flask-web-development-hello-world-flask-application-structure/)
* Flask Templates, Jinja2 Tutorial, Bootstrap Integration, and Custom Error Pages
* [Video](https://youtu.be/0M74EGmqWIY)
* [Blog Post](https://www.thecodewolf.com/python-flask-web-development-flask-templates-and-flask-bootstrap-integration/)
The next few videos and guides will be coming out in the next few days/weeks, and I’ll be releasing new content on a regular basis.
**My goal is to create the best foundational web development course with the Flask framework to get as many people started with Flask as a stepping stone in web development with Python.**
If you guys enjoy the content, I will also be working on a detailed series like this with Django as well.
Here are some of the following videos that will be coming up with the series:
* Web Forms with Flask
* Database Integrations with Flask
Then I will be working on content that will actually have you build a complete blog application with users, blog posts, and all sorts of other really cool stuff.
With the current content so far, I would love to hear some feedback as well.
~ CW
/r/flask
https://redd.it/6zihsb
Hey guys,
I’ve been working on building a really detailed course around the Flask framework to get many beginners started with web development with Python.
Course Page: https://www.thecodewolf.com/courses/python-flask-web-development/
Here are the first few videos of the series, I’ve also have written tutorials with the videos as well:
* Overview & Installation
* [Video](https://youtu.be/Ty2qAlDsAxc)
* [Blog Post](https://www.thecodewolf.com/introduction-to-python-flask-web-development-overview-of-flask/)
* Hello World & Flask Application Structure
* [Video](https://youtu.be/OrTWfZpv0i0)
* [Blog Post](https://www.thecodewolf.com/python-flask-web-development-hello-world-flask-application-structure/)
* Flask Templates, Jinja2 Tutorial, Bootstrap Integration, and Custom Error Pages
* [Video](https://youtu.be/0M74EGmqWIY)
* [Blog Post](https://www.thecodewolf.com/python-flask-web-development-flask-templates-and-flask-bootstrap-integration/)
The next few videos and guides will be coming out in the next few days/weeks, and I’ll be releasing new content on a regular basis.
**My goal is to create the best foundational web development course with the Flask framework to get as many people started with Flask as a stepping stone in web development with Python.**
If you guys enjoy the content, I will also be working on a detailed series like this with Django as well.
Here are some of the following videos that will be coming up with the series:
* Web Forms with Flask
* Database Integrations with Flask
Then I will be working on content that will actually have you build a complete blog application with users, blog posts, and all sorts of other really cool stuff.
With the current content so far, I would love to hear some feedback as well.
~ CW
/r/flask
https://redd.it/6zihsb
YouTube
Python Flask Web Development: Overview & Installation
BLOG WRITE-UP: https://www.thecodewolf.com/introduction-to-python-flask-web-development-overview-of-flask/ Website: https://www.thecodewolf.com The Code Wolf...
future-fstrings: a backport of fstrings to python<3.6
https://github.com/asottile/future-fstrings
/r/Python
https://redd.it/6zhe3u
https://github.com/asottile/future-fstrings
/r/Python
https://redd.it/6zhe3u
GitHub
GitHub - asottile-archive/future-fstrings: A backport of fstrings to python<3.6
A backport of fstrings to python<3.6. Contribute to asottile-archive/future-fstrings development by creating an account on GitHub.
Token Authentication and Authorization with GraphQL and Django
http://danielwelch.github.io/django-graphql-token-auth.html
/r/django
https://redd.it/6ziain
http://danielwelch.github.io/django-graphql-token-auth.html
/r/django
https://redd.it/6ziain
danielwelch.github.io
Token Authentication and Authorization with GraphQL and Django | Danblog
Using Django Rest Framework token authentication with GraphQL
Why does "localhost" not work?
Hi, when I try to serve flask on localhost, flask returns 404 errors. It works on other local IP addresses but I need to do it in local host otherwise I can't test square's API.
https://stackoverflow.com/questions/46127005/why-does-localhost5000-not-work-in-flask/46127928?noredirect=1#comment79237130_46127928
I posted on stackoverflow.com but we haven't been able to figure it out.
/r/flask
https://redd.it/6z9bj2
Hi, when I try to serve flask on localhost, flask returns 404 errors. It works on other local IP addresses but I need to do it in local host otherwise I can't test square's API.
https://stackoverflow.com/questions/46127005/why-does-localhost5000-not-work-in-flask/46127928?noredirect=1#comment79237130_46127928
I posted on stackoverflow.com but we haven't been able to figure it out.
/r/flask
https://redd.it/6z9bj2
Stackoverflow
Why does localhost:5000 not work in Flask?
I'm using flask app factory pattern like and have this run.py file:
from app import create_app
app = create_app()
if __name__ == '__main__':
app.run(host='localhost', debug=True)
Then I run...
from app import create_app
app = create_app()
if __name__ == '__main__':
app.run(host='localhost', debug=True)
Then I run...
Django User's Sessions
So I don't have a DB full of users but have a third party company that contains all my customer data in a DB like users' login credentials. If I am using an API to query the user's data what would be the best practice for creating a users session. like 'django.contrib.sessions' does with the creation of users.
As of now, I can create new users using a form that salts and hashes password, POSTing them to the Third Party companies DB using their API but I don't know how to create a session for the user after I authenticate them.
The API has an SDK for this but it's in PHP thinking everyone would use WordPress. but I won't go that route.
HELP ME GET MY PONIES.
/r/django
https://redd.it/6ziw1d
So I don't have a DB full of users but have a third party company that contains all my customer data in a DB like users' login credentials. If I am using an API to query the user's data what would be the best practice for creating a users session. like 'django.contrib.sessions' does with the creation of users.
As of now, I can create new users using a form that salts and hashes password, POSTing them to the Third Party companies DB using their API but I don't know how to create a session for the user after I authenticate them.
The API has an SDK for this but it's in PHP thinking everyone would use WordPress. but I won't go that route.
HELP ME GET MY PONIES.
/r/django
https://redd.it/6ziw1d
reddit
Django User's Sessions • r/django
So I don't have a DB full of users but have a third party company that contains all my customer data in a DB like users' login credentials. If I...
URL Confusion
I am following the django tutorial of thenewboston on Youtube. In tutorial number 12 he goes into creating a URL. I understand what the outcome is I just don't understand how it works or how I would write it myself. Here are the URL patterns.
urlpatterns = [
#/music/
url(r'^$', views.index, name='index'),
#/music/2
#This just blew my freaking mind
url(r'^(?P<album_id>[0-9]+)/$', views.detail, name="detail"),
]
If someone could help explain to me how the second URL works or point me towards an article that would explain it I would be very appreciative.
/r/djangolearning
https://redd.it/6zk5tn
I am following the django tutorial of thenewboston on Youtube. In tutorial number 12 he goes into creating a URL. I understand what the outcome is I just don't understand how it works or how I would write it myself. Here are the URL patterns.
urlpatterns = [
#/music/
url(r'^$', views.index, name='index'),
#/music/2
#This just blew my freaking mind
url(r'^(?P<album_id>[0-9]+)/$', views.detail, name="detail"),
]
If someone could help explain to me how the second URL works or point me towards an article that would explain it I would be very appreciative.
/r/djangolearning
https://redd.it/6zk5tn
reddit
URL Confusion • r/djangolearning
I am following the django tutorial of thenewboston on Youtube. In tutorial number 12 he goes into creating a URL. I understand what the outcome is...
Gradient Descent and Backpropagation: Theory and Implementation
http://www.deepideas.net/deep-learning-from-scratch-iv-gradient-descent-and-backpropagation/
/r/Python
https://redd.it/6zlay2
http://www.deepideas.net/deep-learning-from-scratch-iv-gradient-descent-and-backpropagation/
/r/Python
https://redd.it/6zlay2
deepideas.net
Deep Learning From Scratch IV: Gradient Descent and Backpropagation
This is part 4 of a series of tutorials, in which we develop the mathematical and algorithmic underpinnings of deep neural networks from scratch and implement our own neural network library in Python, mimicing the TensorFlow API. Start with the first part:…
Deploy an automated machine learning (AutoML) API in Flask
https://content.pivotal.io/blog/automated-machine-learning-deploying-automl-to-the-cloud
/r/Python
https://redd.it/6zhgd2
https://content.pivotal.io/blog/automated-machine-learning-deploying-automl-to-the-cloud
/r/Python
https://redd.it/6zhgd2
content.pivotal.io
Automated Machine Learning: Deploying AutoML to the Cloud
This may be the year that AutoML enters the data science vernacular. I share an AutoML setup to train and deploy pipelines in the cloud using Python, Flask, and two AutoML frameworks