Web Development with Django Cookbook (Second Edition) in Humble Book Bundle: Python by Packt
https://www.humblebundle.com/books/python-by-packt-book-bundle?partner=indiekings
/r/django
https://redd.it/7ojkme
https://www.humblebundle.com/books/python-by-packt-book-bundle?partner=indiekings
/r/django
https://redd.it/7ojkme
Humble Bundle
Humble Book Bundle: Python by Packt
Pay what you want for ebooks on Python and support charity!
Is there an easy way to view a project on a mobile device?
Right now, when I'm trying to test my site on a mobile device, I'm deploying it to a Heroku server and running the Heroku site on my phone. This is really tiresome because it takes awhile to deploy.
Is there an easier way to run a project on my phone, possibly without having to deploy it onto a server?
/r/django
https://redd.it/7onovt
Right now, when I'm trying to test my site on a mobile device, I'm deploying it to a Heroku server and running the Heroku site on my phone. This is really tiresome because it takes awhile to deploy.
Is there an easier way to run a project on my phone, possibly without having to deploy it onto a server?
/r/django
https://redd.it/7onovt
reddit
Is there an easy way to view a project on a mobile device? β’ r/django
Right now, when I'm trying to test my site on a mobile device, I'm deploying it to a Heroku server and running the Heroku site on my phone. This...
What is your go-to charting solution with flask?
I am arriving at the stage where i can develop the dasboard for my little analytics side project. The app is data driven and i have little experience with programming/designing in general.
What library would you recommend and why? I have zero experience and can only select a library on the visual appeal but don't want to make a mistake early on and redo everything later.
Could be server or client side. Don't really know what i need..
/r/flask
https://redd.it/7olbfk
I am arriving at the stage where i can develop the dasboard for my little analytics side project. The app is data driven and i have little experience with programming/designing in general.
What library would you recommend and why? I have zero experience and can only select a library on the visual appeal but don't want to make a mistake early on and redo everything later.
Could be server or client side. Don't really know what i need..
/r/flask
https://redd.it/7olbfk
reddit
What is your go-to charting solution with flask? β’ r/flask
I am arriving at the stage where i can develop the dasboard for my little analytics side project. The app is data driven and i have little...
Starting your first project without a guide
I would like to start my first Django project a aboutMe page but wondering when to start. I am currently reading djangoboooks then test driven django next. Is it a good mix to start a project on your own while learning or should I just wait and keep following tutorial projects. So far I have done the poll app twice and been drilling in my brain what each folder does, just don't know exactly how to create yet.
/r/djangolearning
https://redd.it/7oot3y
I would like to start my first Django project a aboutMe page but wondering when to start. I am currently reading djangoboooks then test driven django next. Is it a good mix to start a project on your own while learning or should I just wait and keep following tutorial projects. So far I have done the poll app twice and been drilling in my brain what each folder does, just don't know exactly how to create yet.
/r/djangolearning
https://redd.it/7oot3y
reddit
Starting your first project without a guide β’ r/djangolearning
I would like to start my first Django project a aboutMe page but wondering when to start. I am currently reading djangoboooks then test driven...
Desperate for a Flask starter - gevent, sqlalchemy/postgres, gunicorn + supervisord + config , msgpack, celery/rq.
hi guys,
I'm desperate for a flask starter that shows all of these working in the *right* way. I have a legacy flask app that is a complete mess and I would like to see how to do it in the right way.
I see a lot of code on how to write an application - but very very little info on how to build a production ready system with all the nuts and pieces needed to make a great production ready system.
1. gevent + gunicorn + supervisord - get the flask app to work in production in the best way possible. How do you setup monkeypatching, etc ? Remember that sqlalchemy is also in this mix. And a huge pain is loading config files - staging and production. All of this is running using supervisord
2. sqlalchemy/postgres - autocommit or not ? autoflush or not ? How do you write a model in the way that you dont have to do this for every function you write (and you can do this once in the base model or decorator or something). This is a huge, huge PITA for me
3. celery/rq + supervisord - how do you run celery/rq and workers using supervisord ? One of the biggest questions for us is how to load the same sqlalchemy models (from the main flask app) into the celery workers. We invariably end up loading flask code as well.
4. msgpack - we want to return msgpack *OR* json data based on what the client has requested for. The api should also accept incoming msgpack *OR* json data. Obviously we dont want to write this code inside each and every function/endpoint. We would prefer doing this in a decorator... if we knew how to.
I'm looking for a starter template demonstrating these features. And I can run from there.
P.S. I'm actually willing to pay for this - not sure if it is kosher mentioning that here. But I'm happy to have someone take the time to do this and make it opensource for the community.
/r/flask
https://redd.it/7oirh1
hi guys,
I'm desperate for a flask starter that shows all of these working in the *right* way. I have a legacy flask app that is a complete mess and I would like to see how to do it in the right way.
I see a lot of code on how to write an application - but very very little info on how to build a production ready system with all the nuts and pieces needed to make a great production ready system.
1. gevent + gunicorn + supervisord - get the flask app to work in production in the best way possible. How do you setup monkeypatching, etc ? Remember that sqlalchemy is also in this mix. And a huge pain is loading config files - staging and production. All of this is running using supervisord
2. sqlalchemy/postgres - autocommit or not ? autoflush or not ? How do you write a model in the way that you dont have to do this for every function you write (and you can do this once in the base model or decorator or something). This is a huge, huge PITA for me
3. celery/rq + supervisord - how do you run celery/rq and workers using supervisord ? One of the biggest questions for us is how to load the same sqlalchemy models (from the main flask app) into the celery workers. We invariably end up loading flask code as well.
4. msgpack - we want to return msgpack *OR* json data based on what the client has requested for. The api should also accept incoming msgpack *OR* json data. Obviously we dont want to write this code inside each and every function/endpoint. We would prefer doing this in a decorator... if we knew how to.
I'm looking for a starter template demonstrating these features. And I can run from there.
P.S. I'm actually willing to pay for this - not sure if it is kosher mentioning that here. But I'm happy to have someone take the time to do this and make it opensource for the community.
/r/flask
https://redd.it/7oirh1
reddit
Desperate for a Flask starter - gevent,... β’ r/flask
hi guys, I'm desperate for a flask starter that shows all of these working in the *right* way. I have a legacy flask app that is a complete mess...
Data Analysis with Pandas and Python offers 19+ hours of in-depth video tutorials on the most powerful data analysis toolkit available today.
http://couponsforever.com/coupon/data-analysis-with-pandas/
/r/Python
https://redd.it/7opj39
http://couponsforever.com/coupon/data-analysis-with-pandas/
/r/Python
https://redd.it/7opj39
Coupon Forever
[100% Off] Data Analysis with Pandas and Python
Analyze data quickly and easily with Python's powerful pandas library! All datasets included --- beginners welcome!
[AF] Update web site dynamically with Python script output
Hi,
I am pretty new to Flask and just learning the basics. How can I update my web site dynamically with the output from Python script?
I am fetching data from my temperature sensor which works well but I would like to bring that data to my simple web site. That web site should automatically update newest readings without reloading the whole page.
/r/flask
https://redd.it/7optfy
Hi,
I am pretty new to Flask and just learning the basics. How can I update my web site dynamically with the output from Python script?
I am fetching data from my temperature sensor which works well but I would like to bring that data to my simple web site. That web site should automatically update newest readings without reloading the whole page.
/r/flask
https://redd.it/7optfy
reddit
[AF] Update web site dynamically with Python script output β’ r/flask
Hi, I am pretty new to Flask and just learning the basics. How can I update my web site dynamically with the output from Python script? I am...
Flask-OAuthlib custom response
Hi. I'm implementing my own OAuth2 server using Flask-OAuthlib and password grant type. Everything is working fine, I just have one small issue that I can't figure out. I would like to return some custom login errors like 'user not active'. Is there a way to do this? As far as I can see the usergetter method only returns user object or None.
/r/flask
https://redd.it/7nq6e2
Hi. I'm implementing my own OAuth2 server using Flask-OAuthlib and password grant type. Everything is working fine, I just have one small issue that I can't figure out. I would like to return some custom login errors like 'user not active'. Is there a way to do this? As far as I can see the usergetter method only returns user object or None.
/r/flask
https://redd.it/7nq6e2
reddit
Flask-OAuthlib custom response β’ r/flask
Hi. I'm implementing my own OAuth2 server using Flask-OAuthlib and password grant type. Everything is working fine, I just have one small issue...
Adding Ability to Log In to Site With Facebook
I want to add the ability for users to log into a website using Facebook to a project that I'm working on.
I found a bunch of references to `social-auth-app-django`, but the last commit to the Github repository was almost three years ago. Is there a more modern/up to date alternative, or is that still the best option?
/r/django
https://redd.it/7opcxd
I want to add the ability for users to log into a website using Facebook to a project that I'm working on.
I found a bunch of references to `social-auth-app-django`, but the last commit to the Github repository was almost three years ago. Is there a more modern/up to date alternative, or is that still the best option?
/r/django
https://redd.it/7opcxd
reddit
Adding Ability to Log In to Site With Facebook β’ r/django
I want to add the ability for users to log into a website using Facebook to a project that I'm working on. I found a bunch of references to...
Any recommended tutorials or documentation on building unit tests with a MongoDB and Flask?
/r/flask
https://redd.it/7nq4dx
/r/flask
https://redd.it/7nq4dx
reddit
Any recommended tutorials or documentation on building... β’ r/flask
1 points and 1 comments so far on reddit
How do you pass a queryset to a JS variable? I want to take a queryset and pass it to js as a simple json array. Can't find any help but surely this is obvious!
/r/django
https://redd.it/7or3dx
/r/django
https://redd.it/7or3dx
reddit
How do you pass a queryset to a JS variable? I want to... β’ r/django
0 points and 5 comments so far on reddit
Interactive branching?
I was reading about [inkle/ink](https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md), a scripting language for interactive fiction, and I thought some interactive branching functionality would be a great feature for Jupyter notebooks. E.g. imagine a tutorial that is not just read front-to-back but which has quizzes that depending on your answer leads you to different sections. This could let advanced people skip over whole sections they know and beginners can take deep dives into topics that they don't understand as well yet. And it would allow for some "gamification" of tutorial notebooks.
Do plugins like that exist for Jupyter, by any chance?
/r/IPython
https://redd.it/7oqfco
I was reading about [inkle/ink](https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md), a scripting language for interactive fiction, and I thought some interactive branching functionality would be a great feature for Jupyter notebooks. E.g. imagine a tutorial that is not just read front-to-back but which has quizzes that depending on your answer leads you to different sections. This could let advanced people skip over whole sections they know and beginners can take deep dives into topics that they don't understand as well yet. And it would allow for some "gamification" of tutorial notebooks.
Do plugins like that exist for Jupyter, by any chance?
/r/IPython
https://redd.it/7oqfco
GitHub
ink/Documentation/WritingWithInk.md at master Β· inkle/ink
inkle's open source scripting language for writing interactive narrative. - inkle/ink
Simple notification system on Django web client?
I have a apiview which takes some info from a request object, starts a new thread to run a script (which can take a while to run) and then returns a 202 Response. Is there a library that I can leverage to send a popup notification to the client when the script has finished running?
/r/django
https://redd.it/7os5f7
I have a apiview which takes some info from a request object, starts a new thread to run a script (which can take a while to run) and then returns a 202 Response. Is there a library that I can leverage to send a popup notification to the client when the script has finished running?
/r/django
https://redd.it/7os5f7
reddit
Simple notification system on Django web client? β’ r/django
I have a apiview which takes some info from a request object, starts a new thread to run a script (which can take a while to run) and then returns...
mnt local notebook directories to a jupyter docker container
I have a docker container for jupyter notebooks https://github.com/zos-spark/interactive-insights-workbench/blob/master/notebook/Dockerfile
I want to mount a local dir with all notebooks into the dockerfile. How can I achieve it?
/r/IPython
https://redd.it/7otntr
I have a docker container for jupyter notebooks https://github.com/zos-spark/interactive-insights-workbench/blob/master/notebook/Dockerfile
I want to mount a local dir with all notebooks into the dockerfile. How can I achieve it?
/r/IPython
https://redd.it/7otntr
GitHub
zos-spark/interactive-insights-workbench
interactive-insights-workbench - A Jupyter Workbench that includes Python, R and dynamic dashboard capabilities.
I wrote a little Python program to approximate the 3D trajectory of a satellite orbiting the earth
http://milesbarnhart.com/portfolio/python/python-3d-satellite-orbital-trajectory-simulation/
/r/Python
https://redd.it/7orhpd
http://milesbarnhart.com/portfolio/python/python-3d-satellite-orbital-trajectory-simulation/
/r/Python
https://redd.it/7orhpd
reddit
I wrote a little Python program to approximate the 3D... β’ r/Python
109 points and 4 comments so far on reddit
I've been creating a Python web framework for the past several months and it's really awesome.
I'd like to share a new python web framework I've been working on called Masonite. Those of you who have used Laravel before, it is very similiar in architecture to Laravel.
I've had a lot of fun writing and developing in it and learned A LOT. Those of you that are interested in creating a new Python web framework, PR's are wecome. Installation is nice and easy. (YMMV)
[GitHub Repo](https://github.com/josephmancuso/masonite)
[Documentation](http://masonite.docsforcode.com)
I was very pleased with Django but after using a framework like Laravel, I've noticed so many flaws with Django and want to create a framework that is much more simple, developer friendly and easier to use than Django.
Feedback and contributions are appreciated!
/r/Python
https://redd.it/7ou24s
I'd like to share a new python web framework I've been working on called Masonite. Those of you who have used Laravel before, it is very similiar in architecture to Laravel.
I've had a lot of fun writing and developing in it and learned A LOT. Those of you that are interested in creating a new Python web framework, PR's are wecome. Installation is nice and easy. (YMMV)
[GitHub Repo](https://github.com/josephmancuso/masonite)
[Documentation](http://masonite.docsforcode.com)
I was very pleased with Django but after using a framework like Laravel, I've noticed so many flaws with Django and want to create a framework that is much more simple, developer friendly and easier to use than Django.
Feedback and contributions are appreciated!
/r/Python
https://redd.it/7ou24s
GitHub
josephmancuso/masonite
masonite - The Python 3 Framework For Web Crafters
Demystifying Two Factor Auth (implemented in Python)
https://rcoh.me/posts/two-factor-auth/
/r/Python
https://redd.it/7ov5zf
https://rcoh.me/posts/two-factor-auth/
/r/Python
https://redd.it/7ov5zf
rcoh.me
Demystifying Two Factor Auth
I always wondered how Google Authenticator style 2-factor codes worked. The process of going from QR code to rotating 6-digit pin seemed a bit magical. A few days ago, my curiosity found itself coupled with some free time. Hereβs what I found:
Whatβs in theβ¦
Whatβs in theβ¦
Should I move from 1.11 to 2 before deploying on a server ?
I have almost finished a Django project I have been developing. I have started on 1.11 but now I see that there is Django 2.
I am wondering if I should move to Django 2 before putting my project on a server.
/r/django
https://redd.it/7ou5sm
I have almost finished a Django project I have been developing. I have started on 1.11 but now I see that there is Django 2.
I am wondering if I should move to Django 2 before putting my project on a server.
/r/django
https://redd.it/7ou5sm
reddit
Should I move from 1.11 to 2 before deploying on a server ? β’ r/django
I have almost finished a Django project I have been developing. I have started on 1.11 but now I see that there is Django 2. I am wondering if I...