Stream Iphone camera to flask website?
I'm trying to find a way to use the Iphone camera as video input for some object recognition I wrote in Python. I thought I'd might be able to do it using a flask website. Has anyone tried anything similar or is it even possible?
/r/flask
https://redd.it/8c0650
I'm trying to find a way to use the Iphone camera as video input for some object recognition I wrote in Python. I thought I'd might be able to do it using a flask website. Has anyone tried anything similar or is it even possible?
/r/flask
https://redd.it/8c0650
reddit
Stream Iphone camera to flask website? • r/flask
I'm trying to find a way to use the Iphone camera as video input for some object recognition I wrote in Python. I thought I'd might be able to do...
pythonhearted. feel free to get the high resolution image from github and use it any for personal needs.
/r/Python
https://redd.it/8bxtre
/r/Python
https://redd.it/8bxtre
Flask 1.0 soon?
It looks like all the items have been checked in the 1.0 milestone. Any word on 1.0?
https://github.com/pallets/flask/milestone/2
/r/flask
https://redd.it/8bzt02
It looks like all the items have been checked in the 1.0 milestone. Any word on 1.0?
https://github.com/pallets/flask/milestone/2
/r/flask
https://redd.it/8bzt02
GitHub
pallets/flask
flask - The Python micro framework for building web applications.
Django Deployment on Ubuntu 16.04 with web server Nginx - Permission Denied Error
I am trying to deploy a django website on a Ubuntu 16.04 system using nginx but I am having issues.
**ERRORS**
Error I get from my nginx `error.log` file:
connect() to unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock failed (13: Permission denied) while connecting to upstream, client: 64.125.191.37, server: 173.255.210.63, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock:", host: "173.255.210.63", referrer: "http://173.255.210.63/"
Status of `uwgsi`:
$ uwsgi status
uwsgi[25361]: thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi[25361]: uwsgi socket 0 bound to UNIX address /home/teddycrepineau/contoursandcolors/contoursandcolors.sock fd 3
uwsgi[25361]: Python version: 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
uwsgi[25361]: !!! Python Home is not a directory: /home/teddycrepineau/Env/contoursandcolors !!!
uwsgi[25361]: Set PythonHome to /home/teddycrepineau/Env/contoursandcolors
uwsgi[25361]: Fatal Python error: Py_Initialize: Unable to get the locale encoding
uwsgi[25361]: ImportError: No module named 'encodings'
uwsgi[25361]: Current thread 0x00007f0ec8429700 (most recent call first):
uwsgi[25361]: Thu Apr 12 13:31:57 2018 - [emperor] curse the uwsgi instance contoursandcolors.ini (pid: 4955)
uwsgi[25361]: Thu Apr 12 13:32:00 2018 - [emperor] removed uwsgi instance contoursandcolors.ini
**SET UP**
* Using Python 3
* Ubuntu 16.04
* Using Virtualenvwrapper and virtualenv
Virtualenvwrapper set up
echo "export WORKON_HOME=~/Env" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
`/etc/uwsgi/sites/contoursandcolors.ini`:
[uwsgi]
project = contoursandcolors
uid = teddycrepineau
base = /home/%(uid)
chdir = %(base)/%(project)
home = %(base)/Env/%(project)
module = %(project).wsgi:application
master = true
processes = 2
socket = %(base)/%(project)/%(project).sock
chmod-socket = 664
vacuum = true
`/etc/nginx/sites-available/contoursandcolor`:
server {
listen 80;
server_name 173.255.210.63;
location = /favicon.io { access_log off; log_not_found off; }
location /static/ {
root /home/teddycrepineau/contoursandcolors;
}
location / {
include uwsgi_params;
uwsgi_pass unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock;
}
}
`/etc/systemd/system/uwsgi.service`:
[Unit]
Description=uWSGI Emperor service
[Service]
ExecStartPre=/bin/bash -c 'mkdir -p /run/uwsgi; chown teddycrepineau:www-data /run/uwsgi'
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi-user.target
**WHAT I'VE TRIED**
* Changed default python version from 2.7 to 3.5
* Change socket file location from project to run (get me a file not found error)
* I looked at quite a few StackExchange posts, but none have resolved my issue thus far
From what I read, my issue may be related to virtualenv location set up. Where should I go from here?
/r/django
https://redd.it/8bwxg3
I am trying to deploy a django website on a Ubuntu 16.04 system using nginx but I am having issues.
**ERRORS**
Error I get from my nginx `error.log` file:
connect() to unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock failed (13: Permission denied) while connecting to upstream, client: 64.125.191.37, server: 173.255.210.63, request: "GET /favicon.ico HTTP/1.1", upstream: "uwsgi://unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock:", host: "173.255.210.63", referrer: "http://173.255.210.63/"
Status of `uwgsi`:
$ uwsgi status
uwsgi[25361]: thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi[25361]: uwsgi socket 0 bound to UNIX address /home/teddycrepineau/contoursandcolors/contoursandcolors.sock fd 3
uwsgi[25361]: Python version: 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
uwsgi[25361]: !!! Python Home is not a directory: /home/teddycrepineau/Env/contoursandcolors !!!
uwsgi[25361]: Set PythonHome to /home/teddycrepineau/Env/contoursandcolors
uwsgi[25361]: Fatal Python error: Py_Initialize: Unable to get the locale encoding
uwsgi[25361]: ImportError: No module named 'encodings'
uwsgi[25361]: Current thread 0x00007f0ec8429700 (most recent call first):
uwsgi[25361]: Thu Apr 12 13:31:57 2018 - [emperor] curse the uwsgi instance contoursandcolors.ini (pid: 4955)
uwsgi[25361]: Thu Apr 12 13:32:00 2018 - [emperor] removed uwsgi instance contoursandcolors.ini
**SET UP**
* Using Python 3
* Ubuntu 16.04
* Using Virtualenvwrapper and virtualenv
Virtualenvwrapper set up
echo "export WORKON_HOME=~/Env" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
`/etc/uwsgi/sites/contoursandcolors.ini`:
[uwsgi]
project = contoursandcolors
uid = teddycrepineau
base = /home/%(uid)
chdir = %(base)/%(project)
home = %(base)/Env/%(project)
module = %(project).wsgi:application
master = true
processes = 2
socket = %(base)/%(project)/%(project).sock
chmod-socket = 664
vacuum = true
`/etc/nginx/sites-available/contoursandcolor`:
server {
listen 80;
server_name 173.255.210.63;
location = /favicon.io { access_log off; log_not_found off; }
location /static/ {
root /home/teddycrepineau/contoursandcolors;
}
location / {
include uwsgi_params;
uwsgi_pass unix:/home/teddycrepineau/contoursandcolors/contoursandcolors.sock;
}
}
`/etc/systemd/system/uwsgi.service`:
[Unit]
Description=uWSGI Emperor service
[Service]
ExecStartPre=/bin/bash -c 'mkdir -p /run/uwsgi; chown teddycrepineau:www-data /run/uwsgi'
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi-user.target
**WHAT I'VE TRIED**
* Changed default python version from 2.7 to 3.5
* Change socket file location from project to run (get me a file not found error)
* I looked at quite a few StackExchange posts, but none have resolved my issue thus far
From what I read, my issue may be related to virtualenv location set up. Where should I go from here?
/r/django
https://redd.it/8bwxg3
reddit
Django Deployment on Ubuntu 16.04 with web server Nginx... • r/django
I am trying to deploy a django website on a Ubuntu 16.04 system using nginx but I am having issues. **ERRORS** Error I get from my nginx...
How to add paypal checkout to a django-oscar project?
[django-oscar-paypal](https://github.com/django-oscar/django-oscar-paypal) is not maintained. How to add paypal support to a django-oscar project? Any library recommendation?
Thanks for your help!
/r/django
https://redd.it/8bu004
[django-oscar-paypal](https://github.com/django-oscar/django-oscar-paypal) is not maintained. How to add paypal support to a django-oscar project? Any library recommendation?
Thanks for your help!
/r/django
https://redd.it/8bu004
GitHub
GitHub - django-oscar/django-oscar-paypal: PayPal integration for django-oscar. Can be used without Oscar too.
PayPal integration for django-oscar. Can be used without Oscar too. - django-oscar/django-oscar-paypal
Qt for Python is coming to a computer near you
http://blog.qt.io/blog/2018/04/13/qt-for-python-is-coming-to-a-computer-near-you/
/r/Python
https://redd.it/8c3c0o
http://blog.qt.io/blog/2018/04/13/qt-for-python-is-coming-to-a-computer-near-you/
/r/Python
https://redd.it/8c3c0o
www.qt.io
Qt for Python is coming to a computer near you
PySide2 - the bindings from Python to Qt - changes skin this spring. Under the hood it is still PySide2 - just better.
Django - Checkbox Model (?)
Hopefully this is the right subreddit (I also posted it in learnpython), if this is something too basic or what, but here goes - I'm starting to put together an admin page for a project I've been slowly getting together, and I'm wondering if, in a particular model class, I can have attributes that can be selected at a more-than-one policy (like checkboxes). As it is, all my dropdown menus work, so I'm not sure if this sort of thing (checkbox selections) can only be done in a form on the website itself (rather than as an admin attribute), or if these choices can be controlled from the admin page as well.
Here's the model:
class Details(models.Model):
"""adding details to the ticket"""
ro = models.ForeignKey(RepairOrder, on_delete=models.CASCADE)
tech = models.CharField(max_length=20, choices=TECHS, default='none',
help_text='Technician')
writer = models.CharField(max_length=15, choices=WRITERS, default='none',
help_text='Service Writer')
status = models.CharField(max_length=10, choices=STATUSES, default='unassigned',
help_text='Work Status')
'''work_type = models.MultipleChoiceField(widget=forms.SelectMultiple,
choices=WORK_TYPES)'''
additional_details = models.TextField(help_text='Additional comments/work details here.')
date_added = models.DateTimeField(auto_now_add=True)
Where it says work_type, I was hoping to have an array of choices that will allow multiple pre-described items to be added (instead of having to type in each requested job manually):
WORK_TYPES = (
('oc', 'Oil Change'),
('rot', 'Tire Rotation'),
('mpi', 'Multi-Point Inspection'),
('tac', 'TAC Service'),
('bal', 'Tire Balance'),
('rcl', 'Recall(s)'),
('brk', 'Check Brakes'),
('ali', 'Alignment'),
('mil', 'Check Engine Light'),
('otl', 'Other Warning Light'),
('noi', 'Noise Concern'),
('si', 'State Inspection'),
('pdi', 'Pre-Delivery Inspection'),
('otr', 'Other (please add detail:)'),
)
... and so on.
Is this possible? My looking through stackexchange got me lots of help on the forms pages and such, but nothing about this sort of thing in models. Thanks!
PS., would it be possible also to point me in the direction of the info I need in order to set the time added to my own time zone? What I found seemed to say several different things and I'm not quite equipped to understand all the terminology. Thanks again!
/r/django
https://redd.it/8c3nww
Hopefully this is the right subreddit (I also posted it in learnpython), if this is something too basic or what, but here goes - I'm starting to put together an admin page for a project I've been slowly getting together, and I'm wondering if, in a particular model class, I can have attributes that can be selected at a more-than-one policy (like checkboxes). As it is, all my dropdown menus work, so I'm not sure if this sort of thing (checkbox selections) can only be done in a form on the website itself (rather than as an admin attribute), or if these choices can be controlled from the admin page as well.
Here's the model:
class Details(models.Model):
"""adding details to the ticket"""
ro = models.ForeignKey(RepairOrder, on_delete=models.CASCADE)
tech = models.CharField(max_length=20, choices=TECHS, default='none',
help_text='Technician')
writer = models.CharField(max_length=15, choices=WRITERS, default='none',
help_text='Service Writer')
status = models.CharField(max_length=10, choices=STATUSES, default='unassigned',
help_text='Work Status')
'''work_type = models.MultipleChoiceField(widget=forms.SelectMultiple,
choices=WORK_TYPES)'''
additional_details = models.TextField(help_text='Additional comments/work details here.')
date_added = models.DateTimeField(auto_now_add=True)
Where it says work_type, I was hoping to have an array of choices that will allow multiple pre-described items to be added (instead of having to type in each requested job manually):
WORK_TYPES = (
('oc', 'Oil Change'),
('rot', 'Tire Rotation'),
('mpi', 'Multi-Point Inspection'),
('tac', 'TAC Service'),
('bal', 'Tire Balance'),
('rcl', 'Recall(s)'),
('brk', 'Check Brakes'),
('ali', 'Alignment'),
('mil', 'Check Engine Light'),
('otl', 'Other Warning Light'),
('noi', 'Noise Concern'),
('si', 'State Inspection'),
('pdi', 'Pre-Delivery Inspection'),
('otr', 'Other (please add detail:)'),
)
... and so on.
Is this possible? My looking through stackexchange got me lots of help on the forms pages and such, but nothing about this sort of thing in models. Thanks!
PS., would it be possible also to point me in the direction of the info I need in order to set the time added to my own time zone? What I found seemed to say several different things and I'm not quite equipped to understand all the terminology. Thanks again!
/r/django
https://redd.it/8c3nww
reddit
Django - Checkbox Model (?) • r/django
Hopefully this is the right subreddit (I also posted it in learnpython), if this is something too basic or what, but here goes - I'm starting to...
Building an ad system that tracks # of views per day
I am building an ad system which will track the number of impressions an ad will receive every day.
The best way I can think of is building a model called 'AdDate' that is created at the beginning of each date.
AdDate would have 2 fields:
1. `date` - which is just the date
2. `views` - which is the number of views for that date
There seems to be another option, which is to use ArrayField (I am using Postgres) I would have an array of dictionaries, each dictionary have data for each date.
I don't want to screw this up since real money will be involved. Any one can provide some feedback/ideas?
/r/django
https://redd.it/8bxb01
I am building an ad system which will track the number of impressions an ad will receive every day.
The best way I can think of is building a model called 'AdDate' that is created at the beginning of each date.
AdDate would have 2 fields:
1. `date` - which is just the date
2. `views` - which is the number of views for that date
There seems to be another option, which is to use ArrayField (I am using Postgres) I would have an array of dictionaries, each dictionary have data for each date.
I don't want to screw this up since real money will be involved. Any one can provide some feedback/ideas?
/r/django
https://redd.it/8bxb01
reddit
Building an ad system that tracks # of views per day • r/django
I am building an ad system which will track the number of impressions an ad will receive every day. The best way I can think of is building a...
At least painful way to setup Vue?
I guess I sadly hate javascript in general but I guess avoiding can't be the answer for any longer. However I've been quite confused about integrating Vue on the top of django. I've seen some tutorials but I'm wondering if there's an easier and cleaner way to get it all set up.
/r/django
https://redd.it/8c63u0
I guess I sadly hate javascript in general but I guess avoiding can't be the answer for any longer. However I've been quite confused about integrating Vue on the top of django. I've seen some tutorials but I'm wondering if there's an easier and cleaner way to get it all set up.
/r/django
https://redd.it/8c63u0
reddit
At least painful way to setup Vue? • r/django
I guess I sadly hate javascript in general but I guess avoiding can't be the answer for any longer. However I've been quite confused about...
DRF Aggregating related collections
So lets say i have a Box model. The box model works like a "master" model, and have lots of foreign keys, thus having relations to lots of other models.
Now for example i have a related model Cost, and the Box models has a column costs that is a one-to-many relationship to the Cost model.
When i make a basic REST endpoint to get all my Boxes, i get an array of each cost included. I have used to_representation to only get the cost value for each record in the cost model.
This gets kind of tedious however, as i have to reduce the costs to a single number on the client side (might be slow when my dataset grows)
So whats the best way to aggregate the costs on the server so i can return a single number for all the related costs for the Box?
Should this be done in the serializer, or is there a better place to put this logic? Im using DRF's viewsets.ViewSet as a base in my views.
Should i aggregate the total costs in python, or do a SUM on the database level?
[EDIT]
At the moment im just augmenting my serializer data
for value in serializer.data:
# costs is an list of decimals
value['costs'] = sum(value['costs'])
I was wondering if there was a better way.
Thanks!
/r/django
https://redd.it/8bw9gt
So lets say i have a Box model. The box model works like a "master" model, and have lots of foreign keys, thus having relations to lots of other models.
Now for example i have a related model Cost, and the Box models has a column costs that is a one-to-many relationship to the Cost model.
When i make a basic REST endpoint to get all my Boxes, i get an array of each cost included. I have used to_representation to only get the cost value for each record in the cost model.
This gets kind of tedious however, as i have to reduce the costs to a single number on the client side (might be slow when my dataset grows)
So whats the best way to aggregate the costs on the server so i can return a single number for all the related costs for the Box?
Should this be done in the serializer, or is there a better place to put this logic? Im using DRF's viewsets.ViewSet as a base in my views.
Should i aggregate the total costs in python, or do a SUM on the database level?
[EDIT]
At the moment im just augmenting my serializer data
for value in serializer.data:
# costs is an list of decimals
value['costs'] = sum(value['costs'])
I was wondering if there was a better way.
Thanks!
/r/django
https://redd.it/8bw9gt
reddit
DRF Aggregating related collections • r/django
So lets say i have a Box model. The box model works like a "master" model, and have lots of foreign keys, thus having relations to lots of other...
How can I use Django REST Framework and django-filter to filter records based on month and day (ignore year)?
There are some scenarios where I would like to be able to filter records based on month and possibly day, but ignore the year. For example, listing the users who registered in a particular month (regardless of year), or listing the orders that were placed in the first half of a particular month (regardless of year).
Here is the relevant documentation:
https://www.django-rest-framework.org/api-guide/filtering/
https://django-filter.readthedocs.io/en/latest/ref/filters.html
I didn't see anything at either of those links that addresses this, though maybe I overlooked it. Any help would be appreciated. Thanks!
/r/django
https://redd.it/8brodi
There are some scenarios where I would like to be able to filter records based on month and possibly day, but ignore the year. For example, listing the users who registered in a particular month (regardless of year), or listing the orders that were placed in the first half of a particular month (regardless of year).
Here is the relevant documentation:
https://www.django-rest-framework.org/api-guide/filtering/
https://django-filter.readthedocs.io/en/latest/ref/filters.html
I didn't see anything at either of those links that addresses this, though maybe I overlooked it. Any help would be appreciated. Thanks!
/r/django
https://redd.it/8brodi
www.django-rest-framework.org
Filtering - Django REST framework
Django, API, REST, Filtering
Pip 10 has been released
https://blog.python.org/2018/04/pip-10-has-been-released.html
/r/Python
https://redd.it/8c7ce1
https://blog.python.org/2018/04/pip-10-has-been-released.html
/r/Python
https://redd.it/8c7ce1
From December 31st, 2018, Pandas will drop support for Python 2.7. This includes no backports of security or bug fixes (unless someone volunteers to do those)
https://github.com/pandas-dev/pandas/pull/20540/files
/r/Python
https://redd.it/8c883i
https://github.com/pandas-dev/pandas/pull/20540/files
/r/Python
https://redd.it/8c883i
GitHub
DOC: Plans for 2.7 by TomAugspurger · Pull Request #20540 · pandas-dev/pandas
Closes #18894
Just some sample text, essentially following NumPy.
Of course, it'd be nice if 1.0 happened to be the LTS, but we'll see.
Just some sample text, essentially following NumPy.
Of course, it'd be nice if 1.0 happened to be the LTS, but we'll see.
How to set multiple access keys(Secret_key and Id) for a user for sandbox and live
How to set multiple access keys(Secret_key and Id) for a user for sandbox and live API access while also have different keys for login.
GitHub examples will be perfect. Thanks
/r/django
https://redd.it/8bsq4m
How to set multiple access keys(Secret_key and Id) for a user for sandbox and live API access while also have different keys for login.
GitHub examples will be perfect. Thanks
/r/django
https://redd.it/8bsq4m
reddit
How to set multiple access keys(Secret_key and Id) for... • r/django
How to set multiple access keys(Secret_key and Id) for a user for sandbox and live API access while also have different keys for login. GitHub...
How to limit number of lines per code?
Hello all,
I currently spit out images from a DB into a new row. I want to limit the number of columns by 3 and create a new row.
How can I achieve this? Here is my HTML:
<table>
{% for item in img %}
<tr>
<td>
<img stuff><checkbox stuff>
</td>
</tr>
{% endfor %}
</table>
Thanks!
/r/flask
https://redd.it/8c54l0
Hello all,
I currently spit out images from a DB into a new row. I want to limit the number of columns by 3 and create a new row.
How can I achieve this? Here is my HTML:
<table>
{% for item in img %}
<tr>
<td>
<img stuff><checkbox stuff>
</td>
</tr>
{% endfor %}
</table>
Thanks!
/r/flask
https://redd.it/8c54l0
reddit
How to limit number of lines per code? • r/flask
Hello all, I currently spit out images from a DB into a new row. I want to limit the number of columns by 3 and create a new row. How can I...
I wrote a blog post about how I setup my python environment
https://www.loganasherjones.com/2018/03/setting-up-your-python-environment/
/r/Python
https://redd.it/8c90rj
https://www.loganasherjones.com/2018/03/setting-up-your-python-environment/
/r/Python
https://redd.it/8c90rj
Logan's Blog
Whether you are a beginner or seasoned software developer, this is a great getting started guide for standing up a complete, “professional” python development environment in Linux or MacOS.
When is it necessary to import a submodule when the parent module is already imported?
I have been scouring the docs for a while and I cannot find any reference to this.
Sometimes you are able to use a submodule without importing it, by importing the parent module. Like so:
$ python3
>>> import os
>>> os.path.join('/home', 'root')
'/home/root
Other times it is not possible to do this, like so (on Python 3.5.2):
>>> import email
>>> m = email.message.Message()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'email' has no attribute 'message'
>>> import email.message
>>> email.message.Message()
<email.message.Message object at 0x7f5932853f60>
I asked on #Python because I thought this was a bug in the submodule, when I received a surprising response:
> This is not a bug. Your code is wrong. You cannot use the submodule without importing it. Sometimes it works, but you cannot count on it.
Is this true? If so, I didn't know until now that the import system worked this way! Somewhat more confusing is that the first example is not rare to come across in the official documentation or other documentation sources, from my experience.
/r/Python
https://redd.it/8cccdg
I have been scouring the docs for a while and I cannot find any reference to this.
Sometimes you are able to use a submodule without importing it, by importing the parent module. Like so:
$ python3
>>> import os
>>> os.path.join('/home', 'root')
'/home/root
Other times it is not possible to do this, like so (on Python 3.5.2):
>>> import email
>>> m = email.message.Message()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'email' has no attribute 'message'
>>> import email.message
>>> email.message.Message()
<email.message.Message object at 0x7f5932853f60>
I asked on #Python because I thought this was a bug in the submodule, when I received a surprising response:
> This is not a bug. Your code is wrong. You cannot use the submodule without importing it. Sometimes it works, but you cannot count on it.
Is this true? If so, I didn't know until now that the import system worked this way! Somewhat more confusing is that the first example is not rare to come across in the official documentation or other documentation sources, from my experience.
/r/Python
https://redd.it/8cccdg
reddit
When is it necessary to import a submodule when the... • r/Python
I have been scouring the docs for a while and I cannot find any reference to this. Sometimes you are able to use a submodule without importing...
Running scheduled tasks with flask and sending users an email with the results
I just want to know if this kind of thing is possible. I want to make a flask app where users login and submit some information about products they like. Once an hour or so python would take their submitted information and use that in an API call to some service, do analysis, and then email the user the results. I know how to do each of these things alone outside of flask, I am just wondering if it is possible to deploy a web app to do this using flask before I go though and start investing time on research/making it. Thank you.
/r/flask
https://redd.it/8cbexf
I just want to know if this kind of thing is possible. I want to make a flask app where users login and submit some information about products they like. Once an hour or so python would take their submitted information and use that in an API call to some service, do analysis, and then email the user the results. I know how to do each of these things alone outside of flask, I am just wondering if it is possible to deploy a web app to do this using flask before I go though and start investing time on research/making it. Thank you.
/r/flask
https://redd.it/8cbexf
reddit
Running scheduled tasks with flask and sending users an... • r/flask
I just want to know if this kind of thing is possible. I want to make a flask app where users login and submit some information about products...