[AF]Flask + Multicore: will flask use all cores automatically?
I have very little knowledge in this area but I'm curious. If I write a Flask application and deploy it onto a virtual machine with multiple cores, then will my Flask application be able to utilize all cores out of the box? If not, then can it be configured to (conceptually)?
/r/flask
https://redd.it/8gafpl
I have very little knowledge in this area but I'm curious. If I write a Flask application and deploy it onto a virtual machine with multiple cores, then will my Flask application be able to utilize all cores out of the box? If not, then can it be configured to (conceptually)?
/r/flask
https://redd.it/8gafpl
reddit
[AF]Flask + Multicore: will flask use all cores... • r/flask
I have very little knowledge in this area but I'm curious. If I write a Flask application and deploy it onto a virtual machine with multiple...
Anyone have a spare ticket they could sell for euroDjangoCon this month? I'm keen to go, but just found out about it....
/r/django
https://redd.it/8i46xe
/r/django
https://redd.it/8i46xe
reddit
Anyone have a spare ticket they could sell for... • r/django
2 points and 0 comments so far on reddit
Thumbnail for file fields
Hey guys,
Has anyone come up with an effective way to display image thumbnails within an ImageField (or VersatileImage) field in Django after the user uploads the image? I see that there are a few code snippets out that that handles thumbnail images for the admin area, but I'm interested in displaying the thumbnail of a user uploaded image on my web page. I'd imagine that I'd need a custom widget, but I don't know much about widgets or how to implement them. Any thoughts would be greatly appreciated.
Thanks!
/r/django
https://redd.it/8i4agq
Hey guys,
Has anyone come up with an effective way to display image thumbnails within an ImageField (or VersatileImage) field in Django after the user uploads the image? I see that there are a few code snippets out that that handles thumbnail images for the admin area, but I'm interested in displaying the thumbnail of a user uploaded image on my web page. I'd imagine that I'd need a custom widget, but I don't know much about widgets or how to implement them. Any thoughts would be greatly appreciated.
Thanks!
/r/django
https://redd.it/8i4agq
reddit
r/django - Thumbnail for file fields
1 votes and 1 so far on reddit
Advice on database topology? visualizer
Hi all, I'm looking for advice as to the approach I should take.
I have a database something like this;
Animal
Mammal Fish
Cat Dog Cod Plaice
And I'm just wondering of a *sexy* way to visualize the data using a django approach where you can explore along the options tree branches and see the Cat at the end of the tree. I've used django a fair bit before.
Wonder if anyone has any advice or can point me in any direction of good platforms/github repos I could copy and paste my database into and tweak? Something ideally relatively secure such that I could put onto the web at the end.
/r/django
https://redd.it/8hxkfy
Hi all, I'm looking for advice as to the approach I should take.
I have a database something like this;
Animal
Mammal Fish
Cat Dog Cod Plaice
And I'm just wondering of a *sexy* way to visualize the data using a django approach where you can explore along the options tree branches and see the Cat at the end of the tree. I've used django a fair bit before.
Wonder if anyone has any advice or can point me in any direction of good platforms/github repos I could copy and paste my database into and tweak? Something ideally relatively secure such that I could put onto the web at the end.
/r/django
https://redd.it/8hxkfy
reddit
Advice on database topology? visualizer • r/django
Hi all, I'm looking for advice as to the approach I should take. I have a database something like this; Animal ...
How to write a command-line application using Python and Click
http://progogo.work/how-to-write-a-command-line-application-using-python-and-click
/r/Python
https://redd.it/8i48un
http://progogo.work/how-to-write-a-command-line-application-using-python-and-click
/r/Python
https://redd.it/8i48un
Boostlog
How to write a command-line application using Python and Click
I have always been fascinated by commandline.
I wanted to build a command-line application for myself. I had the idea, I knew
in which language I
I wanted to build a command-line application for myself. I had the idea, I knew
in which language I
Django Vs Rails
hi
i am interested in learning a framework for web. i have read that Django is more modern but rails is fast. it is not clear which one i should learn. rails has been around for a while now and people are saying it is dying. is this true?
i would love to know your opinions
/r/django
https://redd.it/8i5b0y
hi
i am interested in learning a framework for web. i have read that Django is more modern but rails is fast. it is not clear which one i should learn. rails has been around for a while now and people are saying it is dying. is this true?
i would love to know your opinions
/r/django
https://redd.it/8i5b0y
reddit
Django Vs Rails • r/django
hi i am interested in learning a framework for web. i have read that Django is more modern but rails is fast. it is not clear which one i should...
Django Tutuorial 03: More Views, and CSS
https://youtu.be/MSYcVKUy_eU
/r/djangolearning
https://redd.it/8i2kg1
https://youtu.be/MSYcVKUy_eU
/r/djangolearning
https://redd.it/8i2kg1
YouTube
Django Tutuorial 03: More Views, and CSS
We build another view and apply a CSS framework. Learn from my mistakes!
Help with wtforms and socketio/session data
Hi, I’m new to flask and web development. I’m building my first web app with flask and loving it, learning a lot. My web app allows people to join groups and chat with each other on the specific group page. Wondering what is a good way to pass the username back to client with the message? Or should I put the username in the html (I have it as a variable in the view function), and then try to access it in my jquery script?
Also, I have a basic question about wtforms classes. I am currently using the Form class but am interested in the FlaskForm class. It seems from what I’ve read that FlaskForm offers more. Just interested in the difference/benefits of either.
/r/flask
https://redd.it/8gacsp
Hi, I’m new to flask and web development. I’m building my first web app with flask and loving it, learning a lot. My web app allows people to join groups and chat with each other on the specific group page. Wondering what is a good way to pass the username back to client with the message? Or should I put the username in the html (I have it as a variable in the view function), and then try to access it in my jquery script?
Also, I have a basic question about wtforms classes. I am currently using the Form class but am interested in the FlaskForm class. It seems from what I’ve read that FlaskForm offers more. Just interested in the difference/benefits of either.
/r/flask
https://redd.it/8gacsp
reddit
Help with wtforms and socketio/session data • r/flask
Hi, I’m new to flask and web development. I’m building my first web app with flask and loving it, learning a lot. My web app allows people to...
Post your Flask questions : Miguel Grinberg's Flask Webcast is LIVE
https://www.youtube.com/watch?v=Z4X5Oddhcc8
/r/flask
https://redd.it/8dwyio
https://www.youtube.com/watch?v=Z4X5Oddhcc8
/r/flask
https://redd.it/8dwyio
YouTube
Flask Webcast #2: Request and Application Contexts
Join me for a live session in which I'll discuss the Flask contexts and the very confusing errors that these can cause when used incorrectly. After the session I will answer your questions and give away some books!
Building a notification system part 3: Dropbox
https://smetj.net/building_a_notification_system_part_3_dropbox.html
/r/Python
https://redd.it/8i85jj
https://smetj.net/building_a_notification_system_part_3_dropbox.html
/r/Python
https://redd.it/8i85jj
Project site of Jelle Smet
Building a notification system part 3: Dropbox
Dropbox is a file hosting service operated by American company Dropbox, Inc., headquartered in San Francisco, California, that offers cloud storage, file synchronization, personal cloud, and client software. In this article we will cover how to integrate…
Air pollution analysis with pandas
Hi,
I have started a project where I try to analyse air pollution data from monitoring sites in Munich, Germany. Anybody knows of publicly accessible air quality analysis using python/pandas? My initial scripts:
https://github.com/jsln/aq-sensor-data-analysis
I want to extract as much information as I can from the samples before attempting to use scikit-learn to:
- Compare the performance of different forecasting models.
- Study correlations between samples at different monitoring stations.
Any work in this area you can point me at, I would appreciate it.
Thanks,
Juan.
/r/pystats
https://redd.it/8i8fhe
Hi,
I have started a project where I try to analyse air pollution data from monitoring sites in Munich, Germany. Anybody knows of publicly accessible air quality analysis using python/pandas? My initial scripts:
https://github.com/jsln/aq-sensor-data-analysis
I want to extract as much information as I can from the samples before attempting to use scikit-learn to:
- Compare the performance of different forecasting models.
- Study correlations between samples at different monitoring stations.
Any work in this area you can point me at, I would appreciate it.
Thanks,
Juan.
/r/pystats
https://redd.it/8i8fhe
GitHub
jsln/aq-sensor-data-analysis
aq-sensor-data-analysis - Air quality sensor analysis with pandas and python, using data from Munich, Germany.
[Code Review] I'm working on a vinyl trading API and it's currently WIP but I'd like some feedback.
Link: https://github.com/mabbie/vinylhandelsclub-api
I still have ways to go before the project is complete, mainly security and handling logging in and out users. But so far, how am I doing? I used Flask-RESTful to build the API, and Flask-JWT-Extended for JWT authentication.
/r/flask
https://redd.it/8dzhyb
Link: https://github.com/mabbie/vinylhandelsclub-api
I still have ways to go before the project is complete, mainly security and handling logging in and out users. But so far, how am I doing? I used Flask-RESTful to build the API, and Flask-JWT-Extended for JWT authentication.
/r/flask
https://redd.it/8dzhyb
GitHub
mabbie/vinylhandelsclub-api
vinylhandelsclub-api - (WIP) A vinyl trading club API built using Flask.
Humble Bundle Python dev kit - charity
https://www.humblebundle.com/software/python-dev-kit-bundle?hmb_source=humble_home&hmb_medium=product_tile&hmb_campaign=mosaic_section_1_layout_index_2_layout_type_twos_tile_index_2
/r/django
https://redd.it/8i5po0
https://www.humblebundle.com/software/python-dev-kit-bundle?hmb_source=humble_home&hmb_medium=product_tile&hmb_campaign=mosaic_section_1_layout_index_2_layout_type_twos_tile_index_2
/r/django
https://redd.it/8i5po0
Humble Bundle
Humble Software Bundle: Python Dev Kit
Pay what you want for a bundle of Python resources and support charity!
Is anybody doing qualitative data analysis in Jupyter / IPython?
For R there is the RQDA package and a number of other tools related to qualitative data analysis. There are very few IPython notebooks on the web that deal with qualitative sociological approaches, but most of them are undocumented.
Therefore my question: is anybody doing a qualitative project in a Jupyter notebook? Would you like to present it here and post a short description of what it is about?
/r/IPython
https://redd.it/8i3r72
For R there is the RQDA package and a number of other tools related to qualitative data analysis. There are very few IPython notebooks on the web that deal with qualitative sociological approaches, but most of them are undocumented.
Therefore my question: is anybody doing a qualitative project in a Jupyter notebook? Would you like to present it here and post a short description of what it is about?
/r/IPython
https://redd.it/8i3r72
reddit
Is anybody doing qualitative data analysis in Jupyter... • r/IPython
For R there is the RQDA package and a number of other tools related to qualitative data analysis. There are very few IPython notebooks on the web...
[R] Holy shit you guys, the new google assistant is incredible.
https://youtu.be/pKVppdt_-B4
/r/MachineLearning
https://redd.it/8i3zll
https://youtu.be/pKVppdt_-B4
/r/MachineLearning
https://redd.it/8i3zll
YouTube
Google Assistant making a phone call
From Google I/O'18
This is really some fascinating stuff.
This is really some fascinating stuff.
Announcing glom: Restructured Data for Python
https://sedimental.org/glom_restructured_data.html
/r/Python
https://redd.it/8i97g5
https://sedimental.org/glom_restructured_data.html
/r/Python
https://redd.it/8i97g5
sedimental.org
Announcing glom: Restructured Data for Python — Sedimental
Accretionary thoughts by Mahmoud Hashemi
How to "visit" a page without "visiting" it in Flask?
Okay, so I might just be confused as fuck or something.
When I 'visit' a page that triggers a route on my app, say like '/install', that route executes and redirects to another route, eventually generating an auth code.
Now, I want to run this route, without having to visit the page - so basically, I am trying to run this route so that I can get the auth code in the end.
Now I am calling this route from an external website. I am simply sending a GET request to a function 'load' and in that function there is another function called: get_install(), which contains the below code.
call = requests.get(url_for('install', _external = True, _scheme = "https"))
Now this code works but when I type print (request.args) nothing comes up.
So I am wondering, how do I execute the install route without visiting the {my_app_url}/install route?
/r/flask
https://redd.it/8dyr7z
Okay, so I might just be confused as fuck or something.
When I 'visit' a page that triggers a route on my app, say like '/install', that route executes and redirects to another route, eventually generating an auth code.
Now, I want to run this route, without having to visit the page - so basically, I am trying to run this route so that I can get the auth code in the end.
Now I am calling this route from an external website. I am simply sending a GET request to a function 'load' and in that function there is another function called: get_install(), which contains the below code.
call = requests.get(url_for('install', _external = True, _scheme = "https"))
Now this code works but when I type print (request.args) nothing comes up.
So I am wondering, how do I execute the install route without visiting the {my_app_url}/install route?
/r/flask
https://redd.it/8dyr7z
reddit
How to "visit" a page without "visiting" it in Flask? • r/flask
Okay, so I might just be confused as fuck or something. When I 'visit' a page that triggers a route on my app, say like '/install', that route...
Creating Dynamic Forms with Django
https://www.caktusgroup.com/blog/2018/05/07/creating-dynamic-forms-django/
/r/django
https://redd.it/8ic8u3
https://www.caktusgroup.com/blog/2018/05/07/creating-dynamic-forms-django/
/r/django
https://redd.it/8ic8u3
Caktusgroup
Creating Dynamic Forms with Django | Caktus Group
Dynamic forms need to change the number of fields they have at runtime, which makes them more challenging to develop. Proper usage of Django's form system makes the process far more straightforward. Learn how to do it in this blog post.
Custom module not running in Notebook
Hi all,
Say I have the following in my notebook:
// some code
// bunch of other code
It runs perfectly, but if I try to create a bunchofothercode.py file and put // bunch of other code in it, and then:
// some code
import bunchofothercode
This doesn't give any errors, but it doesn't run the code.
I'm sure I am missing something, but I don't know what :)
/r/IPython
https://redd.it/8id40o
Hi all,
Say I have the following in my notebook:
// some code
// bunch of other code
It runs perfectly, but if I try to create a bunchofothercode.py file and put // bunch of other code in it, and then:
// some code
import bunchofothercode
This doesn't give any errors, but it doesn't run the code.
I'm sure I am missing something, but I don't know what :)
/r/IPython
https://redd.it/8id40o
reddit
r/IPython - Custom module not running in Notebook
1 votes and 1 so far on reddit
YouTube channel for PyCon 2018 is now up (with today's tutorials)
https://www.youtube.com/channel/UCsX05-2sVSH7Nx3zuk3NYuQ
/r/Python
https://redd.it/8iamxy
https://www.youtube.com/channel/UCsX05-2sVSH7Nx3zuk3NYuQ
/r/Python
https://redd.it/8iamxy
YouTube
PyCon 2018
Share your videos with friends, family, and the world