[D] What are the free services using GPT-3 that I can try?
Something along the lines of PhilosopherAI.
Thanks
/r/MachineLearning
https://redd.it/igavbq
Something along the lines of PhilosopherAI.
Thanks
/r/MachineLearning
https://redd.it/igavbq
reddit
[D] What are the free services using GPT-3 that I can try?
Something along the lines of PhilosopherAI. Thanks
15+ Free Python Projects for Beginners with full tutorial walkthroughs
https://www.codewithrepl.it/python-projects-for-beginners.html
/r/Python
https://redd.it/ig81x0
https://www.codewithrepl.it/python-projects-for-beginners.html
/r/Python
https://redd.it/ig81x0
ModuleNotFoundError: No module named 'googleapiclient'
This is my code I'm running in a **Python3 Jupyter notebook**:
from __future__ import print_function
import datetime
from googleapiclient.discovery import build
from httplib2 import Http
from oauth2client import file, client, tools
import pandas as pd
​
I get this error:
> **ModuleNotFoundError**: No module named 'googleapiclient'
​
**pip freeze:**
This is what I get from the command `pip freeze:`
apiclient==1.0.4
astroid==2.3.3
attrs==18.1.0
beautifulsoup4==4.7.1
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
colorama==0.4.3
ConfigArgParse==0.14.0
coursera-dl==0.11.4
cycler==0.10.0
entrypoints==0.3
google-api-core==1.22.1
google-api-python-client==1.10.0
google-auth==1.20.1
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.1
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
isort==4.3.21
keyring==19.0.1
kiwisolver==1.2.0
lazy-object-proxy==1.4.3
matplotlib==3.3.0
mccabe==0.6.1
numpy==1.19.1
oauth2client==4.1.3
oauthlib==3.1.0
pandas==1.1.0
Pillow==7.2.0
/r/JupyterNotebooks
https://redd.it/igbdg4
This is my code I'm running in a **Python3 Jupyter notebook**:
from __future__ import print_function
import datetime
from googleapiclient.discovery import build
from httplib2 import Http
from oauth2client import file, client, tools
import pandas as pd
​
I get this error:
> **ModuleNotFoundError**: No module named 'googleapiclient'
​
**pip freeze:**
This is what I get from the command `pip freeze:`
apiclient==1.0.4
astroid==2.3.3
attrs==18.1.0
beautifulsoup4==4.7.1
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
colorama==0.4.3
ConfigArgParse==0.14.0
coursera-dl==0.11.4
cycler==0.10.0
entrypoints==0.3
google-api-core==1.22.1
google-api-python-client==1.10.0
google-auth==1.20.1
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.1
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
isort==4.3.21
keyring==19.0.1
kiwisolver==1.2.0
lazy-object-proxy==1.4.3
matplotlib==3.3.0
mccabe==0.6.1
numpy==1.19.1
oauth2client==4.1.3
oauthlib==3.1.0
pandas==1.1.0
Pillow==7.2.0
/r/JupyterNotebooks
https://redd.it/igbdg4
reddit
ModuleNotFoundError: No module named 'googleapiclient'
This is my code I'm running in a **Python3 Jupyter notebook**: from __future__ import print_function import datetime from...
PyCon India 2020
Ticket sales for PyConIndia 2020 are open.
To make the event inclusive and accessible to all, we have kept the ticket prices to a bare minimum of 199 INR, or roughly 2.68 USD.
Rush to grab your regular tickets now.
[https://in.pycon.org/2020/#ticket](https://in.pycon.org/2020/#ticket)
Regards,
On Behalf of PyCon India Organising Team
/r/flask
https://redd.it/igeavg
Ticket sales for PyConIndia 2020 are open.
To make the event inclusive and accessible to all, we have kept the ticket prices to a bare minimum of 199 INR, or roughly 2.68 USD.
Rush to grab your regular tickets now.
[https://in.pycon.org/2020/#ticket](https://in.pycon.org/2020/#ticket)
Regards,
On Behalf of PyCon India Organising Team
/r/flask
https://redd.it/igeavg
reddit
PyCon India 2020
Ticket sales for PyConIndia 2020 are open. To make the event inclusive and accessible to all, we have kept the ticket prices to a bare...
Wednesday megathread: Beginner questions
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
/r/Python
https://redd.it/igo5yy
New to Python and have questions? Use this thread to ask anything about Python, there are no bad questions!
/r/Python
https://redd.it/igo5yy
reddit
r/Python - Wednesday megathread: Beginner questions
5 votes and 2 comments so far on Reddit
Codes in the earlier cells are not being carried down to the lower cells?
Why is everything defined in cells earlier (plus imported stuff) are undefined when I call them in another cell (when I try to run just that cell, not the entire notebook from start)?
Is this the expected behavior? Am I suppose to run the entire notebook every time I want to see the change I made?
/r/IPython
https://redd.it/igq1ep
Why is everything defined in cells earlier (plus imported stuff) are undefined when I call them in another cell (when I try to run just that cell, not the entire notebook from start)?
Is this the expected behavior? Am I suppose to run the entire notebook every time I want to see the change I made?
/r/IPython
https://redd.it/igq1ep
reddit
Codes in the earlier cells are not being carried down to the lower...
Why is everything defined in cells earlier (plus imported stuff) are undefined when I call them in another cell (when I try to run just that cell,...
Way to send multiple files with a loop
Hello everyone,
I’ve been learning Python for a few months and I’m very new to Flask. I have an application that will take a csv and then perform a function returning multiple csv’s after looping to separate them out based on a filter. The problem I’m running into is that send_file must be returned and can not be yielded, thus my loop is terminated after one iteration.
The only other potential solution I have seen is to zip the files and then return that, but I am trying to avoid this.
Is there anything I am missing here that could help me achieve what I’m trying to do?
Thank you in advance for any help!
/r/flask
https://redd.it/igo435
Hello everyone,
I’ve been learning Python for a few months and I’m very new to Flask. I have an application that will take a csv and then perform a function returning multiple csv’s after looping to separate them out based on a filter. The problem I’m running into is that send_file must be returned and can not be yielded, thus my loop is terminated after one iteration.
The only other potential solution I have seen is to zip the files and then return that, but I am trying to avoid this.
Is there anything I am missing here that could help me achieve what I’m trying to do?
Thank you in advance for any help!
/r/flask
https://redd.it/igo435
reddit
Way to send multiple files with a loop
Hello everyone, I’ve been learning Python for a few months and I’m very new to Flask. I have an application that will take a csv and then...
A Proof of Concept to Semi-Automates the roles of Internet Moderators. We even built our own Social Media Platform to test on it :))
https://github.com/axenhammer/CODAR
/r/flask
https://redd.it/iguxoc
https://github.com/axenhammer/CODAR
/r/flask
https://redd.it/iguxoc
GitHub
GitHub - axenhammer/CODAR: ✅ CODAR is a framework built using PyTorch to analyze post (Text+Media) and predict cyber bullying and…
✅ CODAR is a framework built using PyTorch to analyze post (Text+Media) and predict cyber bullying and offensive content. - GitHub - axenhammer/CODAR: ✅ CODAR is a framework built using PyTorch to ...
Setup of Dockerised Flask/Fast-api to perform Background tasks using celery and Redis
Minimal example utilizing Flask/Fast-Api and celery with Redis for celery
back-end and task queue and
flower for monitoring the celery tasks.
1. [Flask](https://github.com/jitendrasinghiitg/docker-flask-celery-redis)
2. [Fastapi](https://github.com/jitendrasinghiitg/docker-fastapi-celery)
Hope it might be useful to someone
/r/flask
https://redd.it/igxr3s
Minimal example utilizing Flask/Fast-Api and celery with Redis for celery
back-end and task queue and
flower for monitoring the celery tasks.
1. [Flask](https://github.com/jitendrasinghiitg/docker-flask-celery-redis)
2. [Fastapi](https://github.com/jitendrasinghiitg/docker-fastapi-celery)
Hope it might be useful to someone
/r/flask
https://redd.it/igxr3s
GitHub
jitendrasinghiitg/docker-flask-celery-redis
Minimal example utilizing Flask and celery with Redis for celery back-end and task queue, and flower for monitoring the celery tasks. - jitendrasinghiitg/docker-flask-celery-redis
5 Projects You Can Build To Become a Better Web Developer
https://storage.googleapis.com/open-source-delights/5-projeccts-to-become-a-better-web-developer.htm?source=python
/r/Python
https://redd.it/iggwhf
https://storage.googleapis.com/open-source-delights/5-projeccts-to-become-a-better-web-developer.htm?source=python
/r/Python
https://redd.it/iggwhf
Challenge to scientists: does your ten-year-old code still run?
https://www.nature.com/articles/d41586-020-02462-7
/r/Python
https://redd.it/igzl9a
https://www.nature.com/articles/d41586-020-02462-7
/r/Python
https://redd.it/igzl9a
Nature
Challenge to scientists: does your ten-year-old code still run?
Nature - Missing documentation and obsolete environments force participants in the Ten Years Reproducibility Challenge to get creative.
I couldn't find much resources on how to write tests against Elasticsearch in Django, so I wrote up a guide.
Like the title says, I couldn't find much resources on how to write tests against Elasticsearch in Django, so I figured I'd write something up after I got it working.
https://yanglinzhao.com/posts/test-elasticsearch-in-django
I hope others who have a similar tech stack find it useful.
/r/django
https://redd.it/igyyma
Like the title says, I couldn't find much resources on how to write tests against Elasticsearch in Django, so I figured I'd write something up after I got it working.
https://yanglinzhao.com/posts/test-elasticsearch-in-django
I hope others who have a similar tech stack find it useful.
/r/django
https://redd.it/igyyma
Yanglinzhao
Yanglin Zhao | Test Elasticsearch in Django without mocking
Tutorial on how to write automated unit tests against Elasticsearch with Django/Python without mocking.
Hosting custom-domain Flask based web app
I want to host my Flask web application but don’t know where to go. Maybe Google Cloud Platform, AWS or Pythonanywhere are a valid option? How to figure out the most efficient and budget-friendly company?
/r/flask
https://redd.it/ih4wk6
I want to host my Flask web application but don’t know where to go. Maybe Google Cloud Platform, AWS or Pythonanywhere are a valid option? How to figure out the most efficient and budget-friendly company?
/r/flask
https://redd.it/ih4wk6
reddit
Hosting custom-domain Flask based web app
I want to host my Flask web application but don’t know where to go. Maybe Google Cloud Platform, AWS or Pythonanywhere are a valid option? How to...
Database Performance Tips with Django
https://www.youtube.com/watch?v=-5503tXOU7A
/r/Python
https://redd.it/ih3xu2
https://www.youtube.com/watch?v=-5503tXOU7A
/r/Python
https://redd.it/ih3xu2
YouTube
Database Performance Tips with Django
Most performance problems in web applications come down to one thing: the database. In this webinar, veteran #Python developer Andrew Brookins helps you squeeze every ounce of database performance from your #Django application.
Timestamps:
00:00 - Introduction…
Timestamps:
00:00 - Introduction…
New hosted Notebooks
Hi all, we currently use an in house jupyter solution, but we started exploring new options. We see AWS sagemaker and AI Platform Notebooks in Google. We have large amount of data in BigQuery, so.the obvious choice seems to be GCP, but hesitant as the support hasn't been great experience so far with BQ specially many libraries changes which are always breaking, so not sure if GCP is the right option any ideas?
/r/JupyterNotebooks
https://redd.it/igqyco
Hi all, we currently use an in house jupyter solution, but we started exploring new options. We see AWS sagemaker and AI Platform Notebooks in Google. We have large amount of data in BigQuery, so.the obvious choice seems to be GCP, but hesitant as the support hasn't been great experience so far with BQ specially many libraries changes which are always breaking, so not sure if GCP is the right option any ideas?
/r/JupyterNotebooks
https://redd.it/igqyco
reddit
New hosted Notebooks
Hi all, we currently use an in house jupyter solution, but we started exploring new options. We see AWS sagemaker and AI Platform Notebooks in...
Looking For: Exemplar Django Project
I'm wondering if anyone has a suggestion for an existing Django project that you'd consider to be really well put together / has lots of interesting examples?
I know all about Cookie Cutters, what I'm talking about more is if there are any sites / projects on Git that you ever look at to see an example of organizing code or a complicated architecture.
/r/django
https://redd.it/ihb99s
I'm wondering if anyone has a suggestion for an existing Django project that you'd consider to be really well put together / has lots of interesting examples?
I know all about Cookie Cutters, what I'm talking about more is if there are any sites / projects on Git that you ever look at to see an example of organizing code or a complicated architecture.
/r/django
https://redd.it/ihb99s
reddit
Looking For: Exemplar Django Project
I'm wondering if anyone has a suggestion for an existing Django project that you'd consider to be really well put together / has lots of...
Juypter Notenotebooks.ai module error
Hi everyone
I'm a newbie trying to use Jupyter [notebooks.ai](https://notebooks.ai) I am able to import pandas, and other modules no problem. But everytime I attempt to *import geopandas as gpd* I get this error ModuleNotFoundError: No module named 'geopandas. Has anyone else had similar trouble? I am just a newbie to the juypter [notebooks.ai](https://notebooks.ai) and python coding in general so there's probably something simple that I am missing. Any help would be appreciated.
/r/JupyterNotebooks
https://redd.it/ihegst
Hi everyone
I'm a newbie trying to use Jupyter [notebooks.ai](https://notebooks.ai) I am able to import pandas, and other modules no problem. But everytime I attempt to *import geopandas as gpd* I get this error ModuleNotFoundError: No module named 'geopandas. Has anyone else had similar trouble? I am just a newbie to the juypter [notebooks.ai](https://notebooks.ai) and python coding in general so there's probably something simple that I am missing. Any help would be appreciated.
/r/JupyterNotebooks
https://redd.it/ihegst
www.notebooks.ai
DataWars.io - Free Data Science Interactive Projects
DataWars is a Project-based playground with +1000 ready-to-solve, interactive, Data Science projects. Practice your skills solving real life challenges in an interactive, real-life Data Science simulator.
How do you encrypt customer data?
I'm curious how you guys encrypt customer data using Django and Postgres. By Customer data I mean data which is owned by a customer of your website which could be considered sensitive such as passwords or financial information (like revenue or cost).
/r/django
https://redd.it/ih7mgq
I'm curious how you guys encrypt customer data using Django and Postgres. By Customer data I mean data which is owned by a customer of your website which could be considered sensitive such as passwords or financial information (like revenue or cost).
/r/django
https://redd.it/ih7mgq
reddit
How do you encrypt customer data?
I'm curious how you guys encrypt customer data using Django and Postgres. By Customer data I mean data which is owned by a customer of your...
How to get objects with certain foreignkey relationships in ORM?
Assume we have a product model:
`class Product(models.Model):`
`name = models.Charfield()`And a property model where possible properties are defined (like "price", "color", "weight"...):
`class Property(models.Model):`
`name = models.CharField()`
And we keep product properties in a separate model:
`class ProductProperty(models.Model):`
`propery = models.ForeignKey(Property)`
`product = models.ForeignKey(Product)`
`value = models.Charfield()`
I want to get product objects which have certain properties. For instance, **I want to get objects only if "price" and "color" is defined for them in ProductPropery table.**
I obtain the required properties as objects, but I could not solve how can I get products that have all of the given properties.
To rephrase, I'm looking for something like this:
`properties = Property.objects.filter(Q(name__contains="Price") | Q(name__contains="Color")) #this could return one or multiple property objects`
​
`products = properties.productproperty_set.product_set # imaginary line I made up to show what I want to get`
I could only think of: looping through properties and sub-loop for related ProductProperties to get their products and create multiple lists, and then create a list that's made of common elements (products that are included in each list)
It would be great if you could help,
Best wishes
/r/django
https://redd.it/ihhszo
Assume we have a product model:
`class Product(models.Model):`
`name = models.Charfield()`And a property model where possible properties are defined (like "price", "color", "weight"...):
`class Property(models.Model):`
`name = models.CharField()`
And we keep product properties in a separate model:
`class ProductProperty(models.Model):`
`propery = models.ForeignKey(Property)`
`product = models.ForeignKey(Product)`
`value = models.Charfield()`
I want to get product objects which have certain properties. For instance, **I want to get objects only if "price" and "color" is defined for them in ProductPropery table.**
I obtain the required properties as objects, but I could not solve how can I get products that have all of the given properties.
To rephrase, I'm looking for something like this:
`properties = Property.objects.filter(Q(name__contains="Price") | Q(name__contains="Color")) #this could return one or multiple property objects`
​
`products = properties.productproperty_set.product_set # imaginary line I made up to show what I want to get`
I could only think of: looping through properties and sub-loop for related ProductProperties to get their products and create multiple lists, and then create a list that's made of common elements (products that are included in each list)
It would be great if you could help,
Best wishes
/r/django
https://redd.it/ihhszo
reddit
How to get objects with certain foreignkey relationships in ORM?
Assume we have a product model: `class Product(models.Model):` `name = models.Charfield()`And a property model where possible properties are...
Would I need the rest framework to do something like /review/bandname instead of /review/1?
Hopefully my title makes sense. As a learning project, I'm making a Django app that you can review bands. I was wondering how to make the url have the band name in it instead of the primary key. 127.0.0.0:8000/review/metallica instead of 127.0.0.0:8000/review/1
/r/djangolearning
https://redd.it/ihdot3
Hopefully my title makes sense. As a learning project, I'm making a Django app that you can review bands. I was wondering how to make the url have the band name in it instead of the primary key. 127.0.0.0:8000/review/metallica instead of 127.0.0.0:8000/review/1
/r/djangolearning
https://redd.it/ihdot3
reddit
Would I need the rest framework to do something like...
Hopefully my title makes sense. As a learning project, I'm making a Django app that you can review bands. I was wondering how to make the url have...