This media is not supported in your browser
VIEW IN TELEGRAM
I built my first web app, Meddle, a medical themed variation of popular word guessing game | Made with Flask + JavaScript
https://redd.it/ufyrz7
@pythondaily
https://redd.it/ufyrz7
@pythondaily
This media is not supported in your browser
VIEW IN TELEGRAM
open-source python library for making a UI that runs in the browser or inside a jupyter notebook, package is available on PyPI
https://redd.it/ug4xcx
@pythondaily
https://redd.it/ug4xcx
@pythondaily
Monday Daily Thread: Project ideas!
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code! If you're looking for project ideas, you might be interested in checking out Al Sweigart's, "The Big Book of Small Python Projects" which provides a list of projects and the code to make them work.
/r/Python
https://redd.it/ugcuyr
Comment any project ideas beginner or advanced in this thread for others to give a try! If you complete one make sure to reply to the comment with how you found it and attach some source code! If you're looking for project ideas, you might be interested in checking out Al Sweigart's, "The Big Book of Small Python Projects" which provides a list of projects and the code to make them work.
/r/Python
https://redd.it/ugcuyr
Inventwithpython
The Big Book of Small Python Projects
A Page in : The Big Book of Small Python Projects
Use MongoDB without Azure's CosmosDB in Azure Web App Django Project
How to establish a connection with the MongoDB Atlas in a Django project that has been deployed in Azure Web App. What will the database configurations in settings.py look like?
This is not working in settings.py:
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'db-name',
'CLIENT': {
'host': 'mongodb+srv://<username>:<password>@<atlas cluster>/<myFirstDatabase>?retryWrites=true&w=majority'
}
}
}
python==3.9
django==4.0.4
djongo==1.3.6
I'm in desperate need of assistance. I need to have this resolved as soon as possible.
/r/djangolearning
https://redd.it/ugpdij
How to establish a connection with the MongoDB Atlas in a Django project that has been deployed in Azure Web App. What will the database configurations in settings.py look like?
This is not working in settings.py:
DATABASES = {
'default': {
'ENGINE': 'djongo',
'NAME': 'db-name',
'CLIENT': {
'host': 'mongodb+srv://<username>:<password>@<atlas cluster>/<myFirstDatabase>?retryWrites=true&w=majority'
}
}
}
python==3.9
django==4.0.4
djongo==1.3.6
I'm in desperate need of assistance. I need to have this resolved as soon as possible.
/r/djangolearning
https://redd.it/ugpdij
Introducing the Boto S3 Router Package on PyPI
https://lakefs.io/introducing-the-boto-s3-router-package-on-pypi/
/r/Python
https://redd.it/ugkmv7
https://lakefs.io/introducing-the-boto-s3-router-package-on-pypi/
/r/Python
https://redd.it/ugkmv7
Git for Data - lakeFS
Introducing the Boto S3 Router Package on PyPI!
Learn how the Boto S3 Router package simplifies working with composite or multi-region object store backends and how it enhances data management.
Nbcellstest Alternative?
I'm running JupyterLab 3.2.8 which is currently not compatible with nbcellstest. Does anyone have any recommendations for a similar package that isn't nbval?
/r/JupyterNotebooks
https://redd.it/ugrqfs
I'm running JupyterLab 3.2.8 which is currently not compatible with nbcellstest. Does anyone have any recommendations for a similar package that isn't nbval?
/r/JupyterNotebooks
https://redd.it/ugrqfs
GitHub
GitHub - jpmorganchase/nbcelltests: Cell-by-cell testing for production Jupyter notebooks in JupyterLab
Cell-by-cell testing for production Jupyter notebooks in JupyterLab - GitHub - jpmorganchase/nbcelltests: Cell-by-cell testing for production Jupyter notebooks in JupyterLab
Django for Startup MVP?
Hey, I just joined a few friends working on a fun side project. Put vaguely, its a simplified social media platform and they're prototyping it on Django using the simple templating language and vanilla JS/Jquery to make the MVP. I don't have much experience here so I'll ask if anyone knows:
1. Is this typical for the frontend or should a framework like react/angular be used?
2. The security concerns of running a full scale social media using django?
3. How hard it would be to migrate any current work that's been done to another more industrial platform (perhaps after the MVP is made)? What would a more industrial system be?
Thanks in advance
/r/django
https://redd.it/uhmovf
Hey, I just joined a few friends working on a fun side project. Put vaguely, its a simplified social media platform and they're prototyping it on Django using the simple templating language and vanilla JS/Jquery to make the MVP. I don't have much experience here so I'll ask if anyone knows:
1. Is this typical for the frontend or should a framework like react/angular be used?
2. The security concerns of running a full scale social media using django?
3. How hard it would be to migrate any current work that's been done to another more industrial platform (perhaps after the MVP is made)? What would a more industrial system be?
Thanks in advance
/r/django
https://redd.it/uhmovf
reddit
Django for Startup MVP?
Hey, I just joined a few friends working on a fun side project. Put vaguely, its a simplified social media platform and they're prototyping it on...
Wednesday Daily Thread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/uhtmvt
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
This thread may be fairly low volume in replies, if you don't receive a response we recommend looking at r/LearnPython or joining the Python Discord server at https://discord.gg/python where you stand a better chance of receiving a response.
/r/Python
https://redd.it/uhtmvt
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Django is a well paid technology, here are a bunch of Django jobs with ~$200k annual salary.
https://www.devjobsscanner.com/top-paid-django-jobs/
/r/django
https://redd.it/ui2rld
https://www.devjobsscanner.com/top-paid-django-jobs/
/r/django
https://redd.it/ui2rld
Devjobsscanner
Top paid Django jobs | Devjobsscanner
Top paid Django jobs from more than 15+ job boards. Top salaries range from $99,000 to $260,000
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/uik8hx
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/uik8hx
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...
Convert an image to colorful ASCII art based on ascii character density in Python + Web Demo with Gradio
web demo: https://huggingface.co/spaces/HighCWu/colorful-ascii-art
app code: https://huggingface.co/spaces/HighCWu/colorful-ascii-art/blob/main/app.py
result on Mona Lisa
to setup the app locally use pip install gradio, numpy, and Pillow
see gradio get started page: https://gradio.app/getting\_started/
https://preview.redd.it/86xngehzsjx81.png?width=1200&format=png&auto=webp&s=5dbf0ff262c20e5813c48b92a41b9a4201a2c000
/r/Python
https://redd.it/uik9oe
web demo: https://huggingface.co/spaces/HighCWu/colorful-ascii-art
app code: https://huggingface.co/spaces/HighCWu/colorful-ascii-art/blob/main/app.py
result on Mona Lisa
to setup the app locally use pip install gradio, numpy, and Pillow
see gradio get started page: https://gradio.app/getting\_started/
https://preview.redd.it/86xngehzsjx81.png?width=1200&format=png&auto=webp&s=5dbf0ff262c20e5813c48b92a41b9a4201a2c000
/r/Python
https://redd.it/uik9oe
huggingface.co
Colorful Ascii Art - a Hugging Face Space by HighCWu
Discover amazing ML apps made by the community
Andrew Ng's Machine Learning Course will be re-released in PYTHON this summer! (finally!)
Over the past 10 years 4.8 million people enrolled in the original Machine Learning Coursera course, but it wasn't in Python.
https://www.deeplearning.ai/program/machine-learning-specialization/
​
https://preview.redd.it/udhjjt849ex81.png?width=829&format=png&auto=webp&s=95774a979542960c764365468f34d20b8d57d026
/r/Python
https://redd.it/uhzg3u
Over the past 10 years 4.8 million people enrolled in the original Machine Learning Coursera course, but it wasn't in Python.
https://www.deeplearning.ai/program/machine-learning-specialization/
​
https://preview.redd.it/udhjjt849ex81.png?width=829&format=png&auto=webp&s=95774a979542960c764365468f34d20b8d57d026
/r/Python
https://redd.it/uhzg3u
www.deeplearning.ai
Machine Learning Specialization - DeepLearning.AI
New Machine Learning Specialization, an updated foundational program for beginners created by Andrew Ng | Start Your AI Career Today
Throw your hands in the air if you cancelled your PyCharm subscription because you dreaded opening it and waiting 3,000 years for it to "index your project" instead of you being able to get something done. goodbye pycharm. Hello VS Code.
I just cancelled my PyCharm subscription after being a faithful purchaser of the Pro version for 5 years. I really liked the ability to navigate complex object hierarchies.. it saved my bacon once... but I refuse to use this thing on a personal basis and deal with 3-10 minutes of "scanning.... indexing ....." .
later JetBrains.
/r/Python
https://redd.it/uivtiq
I just cancelled my PyCharm subscription after being a faithful purchaser of the Pro version for 5 years. I really liked the ability to navigate complex object hierarchies.. it saved my bacon once... but I refuse to use this thing on a personal basis and deal with 3-10 minutes of "scanning.... indexing ....." .
later JetBrains.
/r/Python
https://redd.it/uivtiq
reddit
Throw your hands in the air if you cancelled your PyCharm...
I just cancelled my PyCharm subscription after being a faithful purchaser of the Pro version for 5 years. I really liked the ability to navigate...
JupyterHub server vs remote kernel: handle VPN drops for long-running notebooks
Summary of my needs
Retail supply-chain data from relational databases. Data sets are usually 1 - 100 GB in size.
All data is on-prem in my employer's data center, not cloud based.
Pandas or Dask and scikit-learn for clustering, classification, and regression
Models often take several hours to train. Pandas DataFrame joins or aggregations can also be slow, sometimes.
I am requesting a Linux server, since a Windows 10 VDI with 4 cores and 16 GB RAM is limiting
I work from home, and OpenVPN and home internet disconnections are a real concern with long-running notebooks.
I see a few options
Jupyter on my laptop plus remote kernel ([https://pypi.org/project/remote-kernel/](https://pypi.org/project/remote-kernel/))
JupyterHub on remote server.
Is there a good way to re-connect to a running kernel after a network disconnect and not miss any cell outputs? Which of those options is better? If not, my options are
Keep using a Windows 10 VDI to connect to the JupyterHub server. (I'm not thrilled with this option.)
Use a DAG workflow engine like Prefect or Airflow for any calculation that might take over 5 minutes. Persist results with Parquet or Joblib. Jupyter notebooks would be mostly for plotting and exploratory data analysis.
​
Edit:
I know that Jupyter uses
/r/JupyterNotebooks
https://redd.it/uj0qta
Summary of my needs
Retail supply-chain data from relational databases. Data sets are usually 1 - 100 GB in size.
All data is on-prem in my employer's data center, not cloud based.
Pandas or Dask and scikit-learn for clustering, classification, and regression
Models often take several hours to train. Pandas DataFrame joins or aggregations can also be slow, sometimes.
I am requesting a Linux server, since a Windows 10 VDI with 4 cores and 16 GB RAM is limiting
I work from home, and OpenVPN and home internet disconnections are a real concern with long-running notebooks.
I see a few options
Jupyter on my laptop plus remote kernel ([https://pypi.org/project/remote-kernel/](https://pypi.org/project/remote-kernel/))
JupyterHub on remote server.
Is there a good way to re-connect to a running kernel after a network disconnect and not miss any cell outputs? Which of those options is better? If not, my options are
Keep using a Windows 10 VDI to connect to the JupyterHub server. (I'm not thrilled with this option.)
Use a DAG workflow engine like Prefect or Airflow for any calculation that might take over 5 minutes. Persist results with Parquet or Joblib. Jupyter notebooks would be mostly for plotting and exploratory data analysis.
​
Edit:
I know that Jupyter uses
/r/JupyterNotebooks
https://redd.it/uj0qta
PyPI
remote-kernel
Python Script to connect to remote IPyKernel via ssh
Is it possible to make Django work with Amazon Aurora with Read Replica
Hi. I've been exploring amazon aurora lately and I got stuck on connecting my application to "Write" endpoint and "Read" endpoint.
Just wanna ask if someone already did this. Can't find any good solution online.
Thank you!
/r/django
https://redd.it/ujd078
Hi. I've been exploring amazon aurora lately and I got stuck on connecting my application to "Write" endpoint and "Read" endpoint.
Just wanna ask if someone already did this. Can't find any good solution online.
Thank you!
/r/django
https://redd.it/ujd078
reddit
Is it possible to make Django work with Amazon Aurora with Read...
Hi. I've been exploring amazon aurora lately and I got stuck on connecting my application to "Write" endpoint and "Read" endpoint. Just wanna ask...
Download file into downloads folder
New to flask. Having trouble finding how to download a file into the downloads folder of the user instead of into the source folder of the code. Thanks
/r/flask
https://redd.it/ujc2jz
New to flask. Having trouble finding how to download a file into the downloads folder of the user instead of into the source folder of the code. Thanks
/r/flask
https://redd.it/ujc2jz
reddit
Download file into downloads folder
New to flask. Having trouble finding how to download a file into the downloads folder of the user instead of into the source folder of the code....
Code works in terminal, not in Juptyer?
This may not be the right sub, but I've been trying to get this to work for months now.
I've got a python script that uses a keytab to authenticate with Spark, then submits a job to Spark. The script works fine in our old environment, and works great from the terminal in the new environment. I've got all environmental variables on both systems set the same. But when I try to run the python script from Juptyer in the new environment, I get an error on the keytab, even though I get a return value of 0 when using kinit to invoke the keytab. The error is on creating the spark context, and states that the keytab is invalid, even though I successfully invoke the keytab in the step before submitting the spark context.
/r/JupyterNotebooks
https://redd.it/uh3np3
This may not be the right sub, but I've been trying to get this to work for months now.
I've got a python script that uses a keytab to authenticate with Spark, then submits a job to Spark. The script works fine in our old environment, and works great from the terminal in the new environment. I've got all environmental variables on both systems set the same. But when I try to run the python script from Juptyer in the new environment, I get an error on the keytab, even though I get a return value of 0 when using kinit to invoke the keytab. The error is on creating the spark context, and states that the keytab is invalid, even though I successfully invoke the keytab in the step before submitting the spark context.
/r/JupyterNotebooks
https://redd.it/uh3np3
reddit
Code works in terminal, not in Juptyer?
This may not be the right sub, but I've been trying to get this to work for months now. I've got a python script that uses a keytab to...
300+ Free Programming Books (Open Source, 20+ Languages Covered, Listed According To The Publishing Year/ Last Updated Date, In A Decreasing Order)
https://www.theinsaneapp.com/2021/01/free-programming-books.html
/r/Python
https://redd.it/ujizqt
https://www.theinsaneapp.com/2021/01/free-programming-books.html
/r/Python
https://redd.it/ujizqt
Insane - TheInsaneApp.com
300+ Best Free Programming Books
300+ Best Free Programming Books For Beginners, Intermediate And Advanced Developers [Download Any New Coding Book PDF For Free].
D Simple Questions Thread
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/uawla1
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/uawla1
reddit
[D] Simple Questions Thread
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here...