Argument parsing/validation for flask?
Is there a way with flask to create some sort of argument serializer deserializer?
I really like in django how you can specify a serializier that take a requests urlparams/body and tells you which fields are correct, which are required and what format they need to be in.
I was hoping there might be an equivalent for endpoints that don't directly use a sqlalchemy/marshmallow serializer
thanks for any help!
/r/flask
https://redd.it/xe9r5v
Is there a way with flask to create some sort of argument serializer deserializer?
I really like in django how you can specify a serializier that take a requests urlparams/body and tells you which fields are correct, which are required and what format they need to be in.
I was hoping there might be an equivalent for endpoints that don't directly use a sqlalchemy/marshmallow serializer
thanks for any help!
/r/flask
https://redd.it/xe9r5v
reddit
Argument parsing/validation for flask?
Is there a way with flask to create some sort of argument serializer deserializer? I really like in django how you can specify a serializier...
CI/CD Django How to make this work: push to GitHub > run GitHub action (tests) > auto deploy app if tests passed?
Hello guys,
I'm new in CI/CD and not-so-experienced in Docker. Right now I have my Django project deployed on DigitalOcean droplet and every time new code is pushed to GitHub, after GitHub action that runs tests automatically, I need to deploy the project manually.
I'm trying to figure out how to make this flow automatic.
This is what I want:
1. push to master (manually)
2. run tests on master (auto)
3. automatically deploy app (auto) if tests passed
I'm considering DigitalOcean Apps platform but the code would be deployed even before the tests passed.
I'm also considering Dockerizing the app but I'm not sure how that would help.
​
Can you give me some advice? How would you do that?
​
Thanks
/r/django
https://redd.it/xecxo5
Hello guys,
I'm new in CI/CD and not-so-experienced in Docker. Right now I have my Django project deployed on DigitalOcean droplet and every time new code is pushed to GitHub, after GitHub action that runs tests automatically, I need to deploy the project manually.
I'm trying to figure out how to make this flow automatic.
This is what I want:
1. push to master (manually)
2. run tests on master (auto)
3. automatically deploy app (auto) if tests passed
I'm considering DigitalOcean Apps platform but the code would be deployed even before the tests passed.
I'm also considering Dockerizing the app but I'm not sure how that would help.
​
Can you give me some advice? How would you do that?
​
Thanks
/r/django
https://redd.it/xecxo5
reddit
[CI/CD Django] How to make this work: push to GitHub > run GitHub...
Hello guys, I'm new in **CI/CD** and not-so-experienced in **Docker**. Right now I have my **Django** project deployed on **DigitalOcean**...
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/xehfdb
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/xehfdb
reddit
Thursday Daily Thread: Python Careers, Courses, and Furthering...
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python...
Three Tools for Executing Jupyter Notebooks
https://ploomber.io/blog/notebook-execution/
/r/IPython
https://redd.it/w7ucii
https://ploomber.io/blog/notebook-execution/
/r/IPython
https://redd.it/w7ucii
ploomber.io
Three Tools for Executing Jupyter Notebooks
Execute Jupyter notebooks from the terminal or Python.
Deployment - After setting up Gunicorn, Nginx and turn DEBUG = False, how do you update your code?
Is this done through your VPS service (digitalocean, vultr, aws, etc.) ? I am still in my local environment and I have a self-signed HTTPS cert set up so I can "see" what my project will look like without running Django's built-in server. Everything looks good but I wanted to change a couple of things (css, html in the templates, and some of my backend logic in the views.py) but none of my changes have taken effect.
I have:
cleared my browsers cache, restarted Gunicorn and Nginx service, none of it worked. It's almost as if Gunicorn and Nginx have a snapshot of my web app and cannot see any updates that I make.
Any help would be greatly appreciated.
/r/django
https://redd.it/xero8v
Is this done through your VPS service (digitalocean, vultr, aws, etc.) ? I am still in my local environment and I have a self-signed HTTPS cert set up so I can "see" what my project will look like without running Django's built-in server. Everything looks good but I wanted to change a couple of things (css, html in the templates, and some of my backend logic in the views.py) but none of my changes have taken effect.
I have:
cleared my browsers cache, restarted Gunicorn and Nginx service, none of it worked. It's almost as if Gunicorn and Nginx have a snapshot of my web app and cannot see any updates that I make.
Any help would be greatly appreciated.
/r/django
https://redd.it/xero8v
Web Scraping With Python (An Ultimate Guide)
https://www.scrapingdog.com/blog/web-scraping-with-python/
/r/Python
https://redd.it/xetbdk
https://www.scrapingdog.com/blog/web-scraping-with-python/
/r/Python
https://redd.it/xetbdk
scrapingdog
Python Web Scraping Guide | Scrapingdog
Learn Python Web Scraping from scratch! This guide covers 8 popular libraries with live examples to help you master data extraction.
Real-time glucose updates on Discord
I made a small python script to read your glucose level and update your discord 'playing status' accordingly. Also displays a quote based this value.
Here's a link to the Github. Make sure to give some feedback.
This script uses the API of the external LibreLinkUp app and sents some HTTP requests to retreive glucose data.
It also uses qwertyquerty's Pypresence to update Discord's 'Currently playing status' in which the glucose level and other data is shown.
​
Example of my blood sugar being a little high after a meal.
​
Another example. This time it is on a good value.
I am planning on running this on my raspberry pi at home so it will update constantly.
It was a very fun little project to work on!
By the way, if you got some fun quotes, make sure to post them in the comments and I might add them.
/r/Python
https://redd.it/xf0i8c
I made a small python script to read your glucose level and update your discord 'playing status' accordingly. Also displays a quote based this value.
Here's a link to the Github. Make sure to give some feedback.
This script uses the API of the external LibreLinkUp app and sents some HTTP requests to retreive glucose data.
It also uses qwertyquerty's Pypresence to update Discord's 'Currently playing status' in which the glucose level and other data is shown.
​
Example of my blood sugar being a little high after a meal.
​
Another example. This time it is on a good value.
I am planning on running this on my raspberry pi at home so it will update constantly.
It was a very fun little project to work on!
By the way, if you got some fun quotes, make sure to post them in the comments and I might add them.
/r/Python
https://redd.it/xf0i8c
GitHub
GitHub - LennartCMol/How-Sweet-Am-I: A python script to read your glucose level and update your discord 'playing status' accordingly.…
A python script to read your glucose level and update your discord 'playing status' accordingly. Also displays a quote based this value. - GitHub - LennartCMol/How-Sweet-Am-I: A py...
How to auto-grading a exam on a website?
Hi all,
I'm helping a friend to improving his website. He is running a educational website for school kids. On that site kids are required to do exams for certain subjects. He wants to to improve the website by having a automatic grading system so he can skip grading by hand. Do you have any idea how to do that? Or is this even a backend problem? Some creative solutions?
The exams consist multiple choices, fill in the blanks, and some questions you have to hand drawing the solutions. For example draw force diagram graph in physics. Which i think it's quite impossible.
/r/Python
https://redd.it/xffxqe
Hi all,
I'm helping a friend to improving his website. He is running a educational website for school kids. On that site kids are required to do exams for certain subjects. He wants to to improve the website by having a automatic grading system so he can skip grading by hand. Do you have any idea how to do that? Or is this even a backend problem? Some creative solutions?
The exams consist multiple choices, fill in the blanks, and some questions you have to hand drawing the solutions. For example draw force diagram graph in physics. Which i think it's quite impossible.
/r/Python
https://redd.it/xffxqe
reddit
How to auto-grading a exam on a website?
Hi all, I'm helping a friend to improving his website. He is running a educational website for school kids. On that site kids are required to...
GeoDjango - Can someone explain the difference between PostgreSQL and PostGIS?
SOLVED!
Please see the current state of this problem at the link below to the new thread
https://old.reddit.com/r/django/comments/xftmkr/geodjangoround2setupcompletestrugglingto/?
-----
I have a form which accepts a five digit zip code.
This should return a list of all models with a zip code field within x miles radius of the submitted zip code.
I have been informed that this is possible with GeoDjango. I am following the GeoDjango tutorial here: https://docs.djangoproject.com/en/4.1/ref/contrib/gis/tutorial/
Now in the first steps, it appears that I'm all the sudden supposed to replace PostgreSQL under "Databases" in settings.py with PostGIS.
First off, I'm not excited about losing literally all of my data.
Second, can anyone explain briefly what the difference is between the two? The only reason I'm using PostgreSQL is because I've been specifically told that if you are deploying a Django website to production, PostgreSQL is indisputably the way to go every single time. Something about being able to handle a shitload of requests and be able to scale easily. I think Heroku also may or may not require it.
Anyways, am I actually supposed to kill PostgreSQL?
/r/django
https://redd.it/xfso52
SOLVED!
Please see the current state of this problem at the link below to the new thread
https://old.reddit.com/r/django/comments/xftmkr/geodjangoround2setupcompletestrugglingto/?
-----
I have a form which accepts a five digit zip code.
This should return a list of all models with a zip code field within x miles radius of the submitted zip code.
I have been informed that this is possible with GeoDjango. I am following the GeoDjango tutorial here: https://docs.djangoproject.com/en/4.1/ref/contrib/gis/tutorial/
Now in the first steps, it appears that I'm all the sudden supposed to replace PostgreSQL under "Databases" in settings.py with PostGIS.
First off, I'm not excited about losing literally all of my data.
Second, can anyone explain briefly what the difference is between the two? The only reason I'm using PostgreSQL is because I've been specifically told that if you are deploying a Django website to production, PostgreSQL is indisputably the way to go every single time. Something about being able to handle a shitload of requests and be able to scale easily. I think Heroku also may or may not require it.
Anyways, am I actually supposed to kill PostgreSQL?
/r/django
https://redd.it/xfso52
reddit
[GeoDjango Round 2] - Setup complete. Struggling to figure out...
**UPDATE:** See the comments below about Django Cities. It appears this may be what I require, though I'm a little concerned about a big portion...
Why you should use Data Classes in Python
https://www.giulianopertile.com/blog/why-you-should-use-dataclasses-in-python/
/r/Python
https://redd.it/xfqli0
https://www.giulianopertile.com/blog/why-you-should-use-dataclasses-in-python/
/r/Python
https://redd.it/xfqli0
Giulianopertile
Why You Should Use Data Classes in Python | Giuliano Pertile
Don't you know what a Data Class is? You know how to use it? And what is the difference with a regular class? Here in this post I will try to answer these questions and many more.
[D] Machine Learning - WAYR (What Are You Reading) - Week 140
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|51-60|61-70|71-80|81-90|91-100|101-110|111-120|121-130|131-140|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|-------|-------|-------|
|[Week 1](https://www.reddit.com/4qyjiq)|[Week 11](https://www.reddit.com/57xw56)|[Week 21](https://www.reddit.com/60ildf)|[Week 31](https://www.reddit.com/6s0k1u)|[Week 41](https://www.reddit.com/7tn2ax)|[Week 51](https://reddit.com/9s9el5)|[Week 61](https://reddit.com/bfsx4z)|[Week 71](https://reddit.com/d7vno3)|[Week 81](https://reddit.com/f1f0iq)|[Week 91](https://reddit.com/hlt38o)|[Week 101](https://reddit.com/k81ywb)|[Week 111](https://reddit.com/myg8sm)|[Week 121](https://reddit.com/pmzx3g)|[Week 131](https://reddit.com/srsu2n)||||||||||||
|[Week 2](https://www.reddit.com/4s2xqm)|[Week 12](https://www.reddit.com/5acb1t)|[Week 22](https://www.reddit.com/64jwde)|[Week 32](https://www.reddit.com/72ab5y)|[Week 42](https://www.reddit.com/7wvjfk)|[Week 52](https://reddit.com/a4opot)|[Week 62](https://reddit.com/bl29ov)|[Week 72](https://reddit.com/de8h48)|[Week 82](https://reddit.com/f8fs6z)|[Week 92](https://reddit.com/hu6zq9)|[Week 102](https://reddit.com/kh27nx)|[Week 112](https://reddit.com/n8m6ds)|[Week 122](https://reddit.com/pw14z5)|[Week 132](https://reddit.com/t2xpfe)||
|[Week 3](https://www.reddit.com/4t7mqm)|[Week 13](https://www.reddit.com/5cwfb6)|[Week 23](https://www.reddit.com/674331)|[Week 33](https://www.reddit.com/75405d)|[Week 43](https://www.reddit.com/807ex4)|[Week 53](https://reddit.com/a8yaro)|[Week 63](https://reddit.com/bqlb3v)|[Week 73](https://reddit.com/dkox1s)|[Week 83](https://reddit.com/ffi41b)|[Week 93](https://reddit.com/iaz892)|[Week 103](https://reddit.com/kpsxtc)|[Week 113](https://reddit.com/njfsc6)|[Week 123](https://reddit.com/q5fi12)|[Week 133](https://reddit.com/tdf2gt)||
|[Week 4](https://www.reddit.com/4ub2kw)|[Week 14](https://www.reddit.com/5fc5mh)|[Week 24](https://www.reddit.com/68hhhb)|[Week 34](https://www.reddit.com/782js9)|[Week 44](https://reddit.com/8aluhs)|[Week 54](https://reddit.com/ad9ssz)|[Week 64](https://reddit.com/bw1jm7)|[Week 74](https://reddit.com/dr6nca)|[Week 84](https://reddit.com/fn62r1)|[Week 94](https://reddit.com/ijjcep)|[Week 104](https://reddit.com/kzevku)|[Week 114](https://reddit.com/ntu6lq)|[Week 124](https://reddit.com/qjxfu9)|[Week 134](https://reddit.com/tpruqj)||
|[Week 5](https://www.reddit.com/4xomf7)|[Week 15](https://www.reddit.com/5hy4ur)|[Week 25](https://www.reddit.com/69teiz)|[Week 35](https://www.reddit.com/7b0av0)|[Week 45](https://reddit.com/8tnnez)|[Week 55](https://reddit.com/ai29gi)|[Week 65](https://reddit.com/c7itkk)|[Week 75](https://reddit.com/dxshkg)|[Week 85](https://reddit.com/fvk7j6)|[Week 95](https://reddit.com/is5hj9)|[Week 105](https://reddit.com/l9lvgs)|[Week 115](https://reddit.com/o4dph1)|[Week 125](https://reddit.com/qtzbu1)|[Week 135](https://reddit.com/u0pnhf)||
|[Week 6](https://www.reddit.com/4zcyvk)|[Week 16](https://www.reddit.com/5kd6vd)|[Week 26](https://www.reddit.com/6d7nb1)|[Week 36](https://www.reddit.com/7e3fx6)|[Week 46](https://reddit.com/8x48oj)|[Week 56](https://reddit.com/ap8ctk)|[Week 66](https://reddit.com/cd7gko)|[Week 76](https://reddit.com/e4nmyk)|[Week 86](https://reddit.com/g4eavg)|[Week 96](https://reddit.com/j0xr24)|[Week 106](https://reddit.com/ljx92n)|[Week 116](https://reddit.com/odrudt)|[Week 126](https://reddit.com/r4e8he)|[Week 136](https://reddit.com/ub2xlz)||
|[Week
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.
Please try to provide some insight from your understanding and please don't post things which are present in wiki.
Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.
Previous weeks :
|1-10|11-20|21-30|31-40|41-50|51-60|61-70|71-80|81-90|91-100|101-110|111-120|121-130|131-140|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|-------|-------|-------|
|[Week 1](https://www.reddit.com/4qyjiq)|[Week 11](https://www.reddit.com/57xw56)|[Week 21](https://www.reddit.com/60ildf)|[Week 31](https://www.reddit.com/6s0k1u)|[Week 41](https://www.reddit.com/7tn2ax)|[Week 51](https://reddit.com/9s9el5)|[Week 61](https://reddit.com/bfsx4z)|[Week 71](https://reddit.com/d7vno3)|[Week 81](https://reddit.com/f1f0iq)|[Week 91](https://reddit.com/hlt38o)|[Week 101](https://reddit.com/k81ywb)|[Week 111](https://reddit.com/myg8sm)|[Week 121](https://reddit.com/pmzx3g)|[Week 131](https://reddit.com/srsu2n)||||||||||||
|[Week 2](https://www.reddit.com/4s2xqm)|[Week 12](https://www.reddit.com/5acb1t)|[Week 22](https://www.reddit.com/64jwde)|[Week 32](https://www.reddit.com/72ab5y)|[Week 42](https://www.reddit.com/7wvjfk)|[Week 52](https://reddit.com/a4opot)|[Week 62](https://reddit.com/bl29ov)|[Week 72](https://reddit.com/de8h48)|[Week 82](https://reddit.com/f8fs6z)|[Week 92](https://reddit.com/hu6zq9)|[Week 102](https://reddit.com/kh27nx)|[Week 112](https://reddit.com/n8m6ds)|[Week 122](https://reddit.com/pw14z5)|[Week 132](https://reddit.com/t2xpfe)||
|[Week 3](https://www.reddit.com/4t7mqm)|[Week 13](https://www.reddit.com/5cwfb6)|[Week 23](https://www.reddit.com/674331)|[Week 33](https://www.reddit.com/75405d)|[Week 43](https://www.reddit.com/807ex4)|[Week 53](https://reddit.com/a8yaro)|[Week 63](https://reddit.com/bqlb3v)|[Week 73](https://reddit.com/dkox1s)|[Week 83](https://reddit.com/ffi41b)|[Week 93](https://reddit.com/iaz892)|[Week 103](https://reddit.com/kpsxtc)|[Week 113](https://reddit.com/njfsc6)|[Week 123](https://reddit.com/q5fi12)|[Week 133](https://reddit.com/tdf2gt)||
|[Week 4](https://www.reddit.com/4ub2kw)|[Week 14](https://www.reddit.com/5fc5mh)|[Week 24](https://www.reddit.com/68hhhb)|[Week 34](https://www.reddit.com/782js9)|[Week 44](https://reddit.com/8aluhs)|[Week 54](https://reddit.com/ad9ssz)|[Week 64](https://reddit.com/bw1jm7)|[Week 74](https://reddit.com/dr6nca)|[Week 84](https://reddit.com/fn62r1)|[Week 94](https://reddit.com/ijjcep)|[Week 104](https://reddit.com/kzevku)|[Week 114](https://reddit.com/ntu6lq)|[Week 124](https://reddit.com/qjxfu9)|[Week 134](https://reddit.com/tpruqj)||
|[Week 5](https://www.reddit.com/4xomf7)|[Week 15](https://www.reddit.com/5hy4ur)|[Week 25](https://www.reddit.com/69teiz)|[Week 35](https://www.reddit.com/7b0av0)|[Week 45](https://reddit.com/8tnnez)|[Week 55](https://reddit.com/ai29gi)|[Week 65](https://reddit.com/c7itkk)|[Week 75](https://reddit.com/dxshkg)|[Week 85](https://reddit.com/fvk7j6)|[Week 95](https://reddit.com/is5hj9)|[Week 105](https://reddit.com/l9lvgs)|[Week 115](https://reddit.com/o4dph1)|[Week 125](https://reddit.com/qtzbu1)|[Week 135](https://reddit.com/u0pnhf)||
|[Week 6](https://www.reddit.com/4zcyvk)|[Week 16](https://www.reddit.com/5kd6vd)|[Week 26](https://www.reddit.com/6d7nb1)|[Week 36](https://www.reddit.com/7e3fx6)|[Week 46](https://reddit.com/8x48oj)|[Week 56](https://reddit.com/ap8ctk)|[Week 66](https://reddit.com/cd7gko)|[Week 76](https://reddit.com/e4nmyk)|[Week 86](https://reddit.com/g4eavg)|[Week 96](https://reddit.com/j0xr24)|[Week 106](https://reddit.com/ljx92n)|[Week 116](https://reddit.com/odrudt)|[Week 126](https://reddit.com/r4e8he)|[Week 136](https://reddit.com/ub2xlz)||
|[Week
7](https://www.reddit.com/52t6mo)|[Week 17](https://www.reddit.com/5ob7dx)|[Week 27](https://www.reddit.com/6gngwc)|[Week 37](https://www.reddit.com/7hcc2c)|[Week 47](https://reddit.com/910jmh)|[Week 57](https://reddit.com/auci7c)|[Week 67](https://reddit.com/cj0kyc)|[Week 77](https://reddit.com/eb4lxk)|[Week 87](https://reddit.com/gcx3uf)|[Week 97](https://reddit.com/j9cbfs)|[Week 107](https://reddit.com/luqbxl)|[Week 117](https://reddit.com/omy345)|[Week 127](https://reddit.com/rez90o)|[Week 137](https://reddit.com/ul9toj)||
|[Week 8](https://www.reddit.com/53heol)|[Week 18](https://www.reddit.com/5r14yd)|[Week 28](https://www.reddit.com/6jgdva)|[Week 38](https://www.reddit.com/7kgcqr)|[Week 48](https://reddit.com/94up0g)|[Week 58](https://reddit.com/azjoht)|[Week 68](https://reddit.com/cp1jex)|[Week 78](https://reddit.com/ehbfst)|[Week
/r/MachineLearning
https://redd.it/vg5kjd
|[Week 8](https://www.reddit.com/53heol)|[Week 18](https://www.reddit.com/5r14yd)|[Week 28](https://www.reddit.com/6jgdva)|[Week 38](https://www.reddit.com/7kgcqr)|[Week 48](https://reddit.com/94up0g)|[Week 58](https://reddit.com/azjoht)|[Week 68](https://reddit.com/cp1jex)|[Week 78](https://reddit.com/ehbfst)|[Week
/r/MachineLearning
https://redd.it/vg5kjd
reddit
Machine Learning - WAYR (What Are You Reading) - Week 7
This is a place to share machine learning research papers, journals, and articles that you're reading this week. If it relates to what you're...
What's new in Matplotlib 3.6.0 (Sep 15, 2022)
https://matplotlib.org/3.6.0/users/prev_whats_new/whats_new_3.6.0.html
/r/IPython
https://redd.it/xg09zu
https://matplotlib.org/3.6.0/users/prev_whats_new/whats_new_3.6.0.html
/r/IPython
https://redd.it/xg09zu
reddit
What's new in Matplotlib 3.6.0 (Sep 15, 2022)
Posted in r/IPython by u/NomadNella • 2 points and 0 comments
Tensorflow on JupyterHub unable to detect GPUs
Hello,
​
Thank you for all the content you provide. It plays a crucial factor in my ML education.
​
I am having problems setting up Tensorflow on JupyterHub to detect GPUs (currently, it only uses a CPU). The end goal and idea is to set up the multi-user JupyterHub interface where I can manage GPU resources that run on the Ubuntu server. Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
​
Currently, I want to divide and conquer the Tensorflow able to detect and use the GPUs part. With the command "nvidia-smi" in JupyterHub Terminal, where I have installed all TF-related libraries along with Docker, I am able to see all GPUs ( NVIDIA-SMI 460.73.01 Driver Version: 460.73.01 CUDA Version: 11.2). Have you experienced the similar problem, and what will you advise me to do? Is it even possible to manage resources with the JupyterHub interface?
​
Thank you in advance for your time.
​
I am looking forward to hearing from you!
/r/IPython
https://redd.it/xfnj5j
Hello,
​
Thank you for all the content you provide. It plays a crucial factor in my ML education.
​
I am having problems setting up Tensorflow on JupyterHub to detect GPUs (currently, it only uses a CPU). The end goal and idea is to set up the multi-user JupyterHub interface where I can manage GPU resources that run on the Ubuntu server. Some schemes would look like this:
\-Admin
|- user1: 2 usable GPUs
|- user2: 3 usable GPUs
|- user3: 4 usable GPUs
|- user4: 1 usable GPU
​
Currently, I want to divide and conquer the Tensorflow able to detect and use the GPUs part. With the command "nvidia-smi" in JupyterHub Terminal, where I have installed all TF-related libraries along with Docker, I am able to see all GPUs ( NVIDIA-SMI 460.73.01 Driver Version: 460.73.01 CUDA Version: 11.2). Have you experienced the similar problem, and what will you advise me to do? Is it even possible to manage resources with the JupyterHub interface?
​
Thank you in advance for your time.
​
I am looking forward to hearing from you!
/r/IPython
https://redd.it/xfnj5j
reddit
Tensorflow on JupyterHub unable to detect GPUs
Hello, Thank you for all the content you provide. It plays a crucial factor in my ML education. I am having problems...
If statement for href
Is there a method to create an if statement for an href . Like If the href button is pressed execute a command.
/r/djangolearning
https://redd.it/xgar6e
Is there a method to create an if statement for an href . Like If the href button is pressed execute a command.
/r/djangolearning
https://redd.it/xgar6e
reddit
If statement for href
Is there a method to create an if statement for an href . Like If the href button is pressed execute a command.
Advice for getting a Flask job?
Just graduated a bootcamp that went over html/css, JS, Python, Flask, and React. My best project is a Pokemon themed social media app made in Flask. It covers a lot of the big buzzwords
https://pokemonsocial308.herokuapp.com/home
\-User authentication with password encryption
\-fetches JSON from a 2nd Flask database I set up
\-RESTful API routes for the blog posts
\-CRUD functionality for the users and their posts
\-Postgres database
​
I was SO happy with my progress at first. But I'm getting zero responses from job applications so maybe I still have a ways to go.
Lots of job listings mention Docker, Kubernetes, and Amazon Web Services. Maybe I should add those to my list of skills next?
/r/flask
https://redd.it/xgau2z
Just graduated a bootcamp that went over html/css, JS, Python, Flask, and React. My best project is a Pokemon themed social media app made in Flask. It covers a lot of the big buzzwords
https://pokemonsocial308.herokuapp.com/home
\-User authentication with password encryption
\-fetches JSON from a 2nd Flask database I set up
\-RESTful API routes for the blog posts
\-CRUD functionality for the users and their posts
\-Postgres database
​
I was SO happy with my progress at first. But I'm getting zero responses from job applications so maybe I still have a ways to go.
Lots of job listings mention Docker, Kubernetes, and Amazon Web Services. Maybe I should add those to my list of skills next?
/r/flask
https://redd.it/xgau2z
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
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/xg72un
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/xg72un
reddit
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
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...
Flask Website doesnt behave as i wish, and i dont know why?
Hello there,
I am pretty new to flask and Python an tried to make flask app wich doesnt really work as i wish. I dont get any errors its just not what i want.
So i have 3 Problems:
1. is the Web App has Checkboxes but if i submit one of them, every of them changes
2. why does the checkbox uncheck after reloading the website
3. My third Problem is that i want to get back the value form {{supervisor['number'\]}} if the checkbox is checked
​
<div class="number-items" name="service-number">{{supervisor'number' }}</div>
​
HTML:
{% for supervisor in supervisorusers %}
<div class="number-alignment">
<div class="number-container">
<div class="number-items">{{ supervisor'name' }}</div>
<div class="number-items" name="service-number">{{supervisor'number' }}</div>
<div class="number-items">
/r/flask
https://redd.it/xgj6lh
Hello there,
I am pretty new to flask and Python an tried to make flask app wich doesnt really work as i wish. I dont get any errors its just not what i want.
So i have 3 Problems:
1. is the Web App has Checkboxes but if i submit one of them, every of them changes
2. why does the checkbox uncheck after reloading the website
3. My third Problem is that i want to get back the value form {{supervisor['number'\]}} if the checkbox is checked
​
<div class="number-items" name="service-number">{{supervisor'number' }}</div>
​
HTML:
{% for supervisor in supervisorusers %}
<div class="number-alignment">
<div class="number-container">
<div class="number-items">{{ supervisor'name' }}</div>
<div class="number-items" name="service-number">{{supervisor'number' }}</div>
<div class="number-items">
/r/flask
https://redd.it/xgj6lh
reddit
Flask Website doesnt behave as i wish, and i dont know why?
Hello there, I am pretty new to flask and Python an tried to make flask app wich doesnt really work as i wish. I dont get any errors its just not...
Matplotlib Animation | Simplest Guide
https://www.datascienceverse.com/data-visualization/matplotlib-animation-simplest-guide/
/r/IPython
https://redd.it/xgln9l
https://www.datascienceverse.com/data-visualization/matplotlib-animation-simplest-guide/
/r/IPython
https://redd.it/xgln9l
DataScienceVerse
Matplotlib Animation | Simplest Guide
What I am gonna show you is to create a very simple Matplotlib animation using Python. The best way to learn how to make animation Matplolib