How to stop anti virus software flagging your Python application as malware - a guide with resources
I recently distributed my first compiled python code. For various reasons it needed to be a Windows EXE for user purposes rather than having the users download and run the source code.
I used pyinstaller to compile my code but immediately ran into issues because my short, innocuous script was being identified as malware by Windows Defender with scary names like Wacatac.B!ml.trojan. In some cases anti virus deemed my software so dangerous that it not only warned me that it was dangerous but unilaterally placed it into quarantine and then deleted it. Needless to say, this is going to be a bad used experience.
After doing some research it turns out this this is a common problem with compiled python code and there's no perfect solution.
There are, essentially, two steps you can take to mitigate this.
First, apply for a code signing certificate (€60 a year). This won't stop the warnings, but it will allow you to build reputation over time.
Second, submit your file to the various anti-virus providers (Microsoft being the most important of course) and ask them to analyse it and identify it as a false positive. This is a surprisingly quick process (I had a response from an actual human
/r/Python
https://redd.it/l19rok
I recently distributed my first compiled python code. For various reasons it needed to be a Windows EXE for user purposes rather than having the users download and run the source code.
I used pyinstaller to compile my code but immediately ran into issues because my short, innocuous script was being identified as malware by Windows Defender with scary names like Wacatac.B!ml.trojan. In some cases anti virus deemed my software so dangerous that it not only warned me that it was dangerous but unilaterally placed it into quarantine and then deleted it. Needless to say, this is going to be a bad used experience.
After doing some research it turns out this this is a common problem with compiled python code and there's no perfect solution.
There are, essentially, two steps you can take to mitigate this.
First, apply for a code signing certificate (€60 a year). This won't stop the warnings, but it will allow you to build reputation over time.
Second, submit your file to the various anti-virus providers (Microsoft being the most important of course) and ask them to analyse it and identify it as a false positive. This is a surprisingly quick process (I had a response from an actual human
/r/Python
https://redd.it/l19rok
reddit
How to stop anti virus software flagging your Python application...
I recently distributed my first compiled python code. For various reasons it needed to be a Windows EXE for user purposes rather than having the...
API for the Legend of Zelda: Breath of the Wild's Hyrule Compendium Made With Flask
Lately I have been replaying a lot of Nintendo Switch games during lockdown. I have also been writing a lot of Python code. I decided to combine my two quarantine hobbies. Here's the result!
# The Hyrule Compendium API
The Hyrule Compendium API is, according to IGN:
>an encyclopedia of all of the 385 creatures, monsters, materials, equipment, and treasure in the The Legend of Zelda: Breath of the Wild.
In other words, the Hyrule Compendium is a reference log for with information on all in-game interactive items.
So I thought, it would be cool to write an API for this, so people can embed this into their apps (like a discord bot or a BOTW compendium lookup site).
Architecture
To make this API I used Flask for the API server.
The API should...
Return metadata on items in the compendium, which include their names, IDs, common locations, recoverable materials, cooking effects, and more.
Let you get a specific item in the compendium, using it's name or ID.
Let you get all items in a category (creatures, monsters, materials, equipment, treasure).
Let you retrieve the entire Hyrule Compendium.
Using Rockset, an SQL-compatible database, I stored all entries in JSON format. Using Flask, I assigned endpoints for these. If the
/r/flask
https://redd.it/l1ctb6
Lately I have been replaying a lot of Nintendo Switch games during lockdown. I have also been writing a lot of Python code. I decided to combine my two quarantine hobbies. Here's the result!
# The Hyrule Compendium API
The Hyrule Compendium API is, according to IGN:
>an encyclopedia of all of the 385 creatures, monsters, materials, equipment, and treasure in the The Legend of Zelda: Breath of the Wild.
In other words, the Hyrule Compendium is a reference log for with information on all in-game interactive items.
So I thought, it would be cool to write an API for this, so people can embed this into their apps (like a discord bot or a BOTW compendium lookup site).
Architecture
To make this API I used Flask for the API server.
The API should...
Return metadata on items in the compendium, which include their names, IDs, common locations, recoverable materials, cooking effects, and more.
Let you get a specific item in the compendium, using it's name or ID.
Let you get all items in a category (creatures, monsters, materials, equipment, treasure).
Let you retrieve the entire Hyrule Compendium.
Using Rockset, an SQL-compatible database, I stored all entries in JSON format. Using Flask, I assigned endpoints for these. If the
/r/flask
https://redd.it/l1ctb6
GitHub
GitHub - gadhagod/Hyrule-Compendium-API: An API serving data on all in-game items and regions in Breath of the Wild and Tears of…
An API serving data on all in-game items and regions in Breath of the Wild and Tears of the Kingdom. - gadhagod/Hyrule-Compendium-API
Print message when app is ran
I want to print a custom message when my flask app is run. Heres my code:
if name == 'main':
print('my special message')
app.run()
The only problem is that it prints that message twice. Heres a screenshot:
​
https://preview.redd.it/llq3l3v3zic61.png?width=402&format=png&auto=webp&s=aa279d9f272158a9f078adb24136d7803efdb061
Is there any way to fix this?
/r/flask
https://redd.it/l1eaog
I want to print a custom message when my flask app is run. Heres my code:
if name == 'main':
print('my special message')
app.run()
The only problem is that it prints that message twice. Heres a screenshot:
​
https://preview.redd.it/llq3l3v3zic61.png?width=402&format=png&auto=webp&s=aa279d9f272158a9f078adb24136d7803efdb061
Is there any way to fix this?
/r/flask
https://redd.it/l1eaog
I curated 525+ remote job openings from Hacker News who is hiring - January
Here I would like to share more than 500 remote jobs that I've curated from Hacker News Who is hiring thread. All these are 100% remote jobs not just allowed to work from home during COVID-19. These are 100% remote jobs and will continue to follow that after the covid.
https://remoteleaf.com/whoishiring.
Note: Select "python" in the skills filter to view all Python/Django/Flask jobs
✅ 100% remote full-time jobs.
✅ Each and every job is manually curated and verified.
/r/django
https://redd.it/l20mfo
Here I would like to share more than 500 remote jobs that I've curated from Hacker News Who is hiring thread. All these are 100% remote jobs not just allowed to work from home during COVID-19. These are 100% remote jobs and will continue to follow that after the covid.
https://remoteleaf.com/whoishiring.
Note: Select "python" in the skills filter to view all Python/Django/Flask jobs
✅ 100% remote full-time jobs.
✅ Each and every job is manually curated and verified.
/r/django
https://redd.it/l20mfo
Remoteleaf
Highly curated remote jobs hand-picked from Hacker News Who is Hiring
Remote Leaf aggregates remote jobs in one organized place from 60+ remote job boards, company career pages, AngelList, Linkedin, Reddit, Twitter, Facebook groups and Hacker news hiring
Thursday Daily Thread: Python careers!
Discussion of using Python in a professional environment, getting jobs in Python and more!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/l1m3hw
Discussion of using Python in a professional environment, getting jobs in Python and more!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/l1m3hw
reddit
Thursday Daily Thread: Python careers!
Discussion of using Python in a professional environment, getting jobs in Python and more! **This thread is not for recruitment, please see**...
Where do you store JWT tokens ( and are you even using it ? ) ?
Hi guys,
I'd start by saying that I'm not an expert in the subject by any means and corrections are welcomed.
I've already made SPAs with DRF and VueJs but the vue part was embedded into django static files. That means no separated servers and possibility to use Django Session Authentication without worrying to much about it using the same workflow as with non SPAs django apps ( just adding the csrf token on my fetch headers ).
However I'm now moving to React and I'm curious about strictly separating my frontend and my API, and the way to perform authentication with this workflow seems to be JWT. It might not be the best approach and I'm aware it should be easier to make my frontend inside Django but I want to test for learning purpose.
But how do you perform JWT authentication with the DRF without workarounds and internal code which expect you to have a deep knowledge about django, drf and security ?
The DRF documentation points to django-rest-framework-simplejwt which is barely maintained, and doesn't give a way to store tokens on an http only cookie ( use localStorage on their examples which is apparently insecure because of
/r/django
https://redd.it/l1u7to
Hi guys,
I'd start by saying that I'm not an expert in the subject by any means and corrections are welcomed.
I've already made SPAs with DRF and VueJs but the vue part was embedded into django static files. That means no separated servers and possibility to use Django Session Authentication without worrying to much about it using the same workflow as with non SPAs django apps ( just adding the csrf token on my fetch headers ).
However I'm now moving to React and I'm curious about strictly separating my frontend and my API, and the way to perform authentication with this workflow seems to be JWT. It might not be the best approach and I'm aware it should be easier to make my frontend inside Django but I want to test for learning purpose.
But how do you perform JWT authentication with the DRF without workarounds and internal code which expect you to have a deep knowledge about django, drf and security ?
The DRF documentation points to django-rest-framework-simplejwt which is barely maintained, and doesn't give a way to store tokens on an http only cookie ( use localStorage on their examples which is apparently insecure because of
/r/django
https://redd.it/l1u7to
reddit
Where do you store JWT tokens ( and are you even using it ? ) ?
Hi guys, I'd start by saying that I'm not an expert in the subject by any means and corrections are welcomed. I've already made SPAs with DRF...
Be an absolute beginner at python: Check, have co-workers think I'm performing black magic : Check
I work in an industry that is mainly manual work (think carpentry or similar). No-one going through the trade school learns anything on computers beyond making graphs in excel.
I however always have had some interest in programming, so i took some free course a while back and try to find areas of my life where i can automate the boring stuff. I have very limited knowledge of any of the advanced functions, but i understand some of the basic logic.
For my job, i also have a computer because i oversee a large number of projects, every project gets a folder, an excel spreadsheet (a gantt chart for each project).
I managed to make a script that asks for project number, checks of the folder is there, copies and modifies the cells of the excel sheet to the correct project number etc. I had to google almost everything, how do i folder scan? how do i manipulate excel? etc etc.
They actually believe I performed black magic.
Thank you Python for letting me look like an invaluable resource today ;)
/r/Python
https://redd.it/l1ynlz
I work in an industry that is mainly manual work (think carpentry or similar). No-one going through the trade school learns anything on computers beyond making graphs in excel.
I however always have had some interest in programming, so i took some free course a while back and try to find areas of my life where i can automate the boring stuff. I have very limited knowledge of any of the advanced functions, but i understand some of the basic logic.
For my job, i also have a computer because i oversee a large number of projects, every project gets a folder, an excel spreadsheet (a gantt chart for each project).
I managed to make a script that asks for project number, checks of the folder is there, copies and modifies the cells of the excel sheet to the correct project number etc. I had to google almost everything, how do i folder scan? how do i manipulate excel? etc etc.
They actually believe I performed black magic.
Thank you Python for letting me look like an invaluable resource today ;)
/r/Python
https://redd.it/l1ynlz
reddit
Be an absolute beginner at python: Check, have co-workers think...
I work in an industry that is mainly manual work (think carpentry or similar). No-one going through the trade school learns anything on computers...
Learn before Flask?
What technologies would be beneficial to know before I create a flask web application. I know Python and some HTML and CSS. If I wanted to create some sort of simple social platform, what would you recommend learning beforehand?
/r/flask
https://redd.it/l2dvmc
What technologies would be beneficial to know before I create a flask web application. I know Python and some HTML and CSS. If I wanted to create some sort of simple social platform, what would you recommend learning beforehand?
/r/flask
https://redd.it/l2dvmc
reddit
Learn before Flask?
What technologies would be beneficial to know before I create a flask web application. I know Python and some HTML and CSS. If I wanted to create...
Friday Daily Thread: Free chat Friday!
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
/r/Python
https://redd.it/l2b8wf
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
/r/Python
https://redd.it/l2b8wf
reddit
Friday Daily Thread: Free chat Friday!
Use this thread to talk about anything Python related! Questions, news, projects and any relevant discussion around Python is permitted!
[D] Machine Learning - WAYR (What Are You Reading) - Week 104
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|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|
|[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 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 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 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 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 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 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 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 88](https://reddit.com/glm6sv)|[Week 98](https://reddit.com/jhzz9v)||
|[Week 9](https://www.reddit.com/54kvsu)|[Week 19](https://www.reddit.com/5tt9cz)|[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|
|----|-----|-----|-----|-----|-----|-----|-----|-----|------|-------|
|[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 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 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 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 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 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 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 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 88](https://reddit.com/glm6sv)|[Week 98](https://reddit.com/jhzz9v)||
|[Week 9](https://www.reddit.com/54kvsu)|[Week 19](https://www.reddit.com/5tt9cz)|[Week
29](https://www.reddit.com/6m9l1v)|[Week 39](https://www.reddit.com/7nayri)|[Week 49](https://reddit.com/98n2rt)|[Week 59](https://reddit.com/b50r5y)|[Week 69](https://reddit.com/cvde5a)|[Week 79](https://reddit.com/entcxy)|[Week 89](https://reddit.com/gu5t0d)|[Week 99](https://reddit.com/jqjgo2)||
|[Week 10](https://www.reddit.com/56s2oa)|[Week 20](https://www.reddit.com/5wh2wb)|[Week 30](https://www.reddit.com/6p3ha7)|[Week 40](https://www.reddit.com/7qel9p)|[Week 50](https://reddit.com/9cf158)|[Week 60](https://reddit.com/bakew0)|[Week 70](https://reddit.com/d1g1k9)|[Week 80](https://reddit.com/euctyw)|[Week 90](https://reddit.com/hddf7j)|[Week 100](https://reddit.com/jz3evt)||
Most upvoted papers two
/r/MachineLearning
https://redd.it/kzevku
|[Week 10](https://www.reddit.com/56s2oa)|[Week 20](https://www.reddit.com/5wh2wb)|[Week 30](https://www.reddit.com/6p3ha7)|[Week 40](https://www.reddit.com/7qel9p)|[Week 50](https://reddit.com/9cf158)|[Week 60](https://reddit.com/bakew0)|[Week 70](https://reddit.com/d1g1k9)|[Week 80](https://reddit.com/euctyw)|[Week 90](https://reddit.com/hddf7j)|[Week 100](https://reddit.com/jz3evt)||
Most upvoted papers two
/r/MachineLearning
https://redd.it/kzevku
reddit
[D] Machine Learning - WAYR (What Are You Reading) - Week 29
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...
I made a course on NumPy. It got good reviews, but sales were weak so I'm releasing the entire thing for free.
My course is called Python NumPy For Your Grandma - So easy your grandma could learn it. Here's the course outline.
1. Introduction
1.1 Introduction
2. Basic Array Stuff
2.1 NumPy Array Motivation
2.2 NumPy Array Basics
2.3 Creating NumPy Arrays
2.4 Indexing 1-D Arrays
2.5 Indexing Multidimensional Arrays
2.6 Basic Math On Arrays
2.7 Challenge: High School Reunion
2.8 Challenge: Gold Miner
2.9 Challenge: Chic-fil-A
3. Intermediate Array Stuff
3.1 Broadcasting
3.2 newaxis
3.3 `reshape()`
3.4 Boolean Indexing
3.5 nan
3.6 infinity
3.7 random
3.8 Challenge: Love Distance
3.9 Challenge: Professor Prick
3.10 Challenge: Psycho Parent
4. Common Operations
4.1 `where()`
4.2 Math Functions
4.3 `all()` and `any()`
4.4 `concatenate()`
4.5 Stacking
4.6 Sorting
4.7 `unique()`
/r/Python
https://redd.it/l1jdcj
My course is called Python NumPy For Your Grandma - So easy your grandma could learn it. Here's the course outline.
1. Introduction
1.1 Introduction
2. Basic Array Stuff
2.1 NumPy Array Motivation
2.2 NumPy Array Basics
2.3 Creating NumPy Arrays
2.4 Indexing 1-D Arrays
2.5 Indexing Multidimensional Arrays
2.6 Basic Math On Arrays
2.7 Challenge: High School Reunion
2.8 Challenge: Gold Miner
2.9 Challenge: Chic-fil-A
3. Intermediate Array Stuff
3.1 Broadcasting
3.2 newaxis
3.3 `reshape()`
3.4 Boolean Indexing
3.5 nan
3.6 infinity
3.7 random
3.8 Challenge: Love Distance
3.9 Challenge: Professor Prick
3.10 Challenge: Psycho Parent
4. Common Operations
4.1 `where()`
4.2 Math Functions
4.3 `all()` and `any()`
4.4 `concatenate()`
4.5 Stacking
4.6 Sorting
4.7 `unique()`
/r/Python
https://redd.it/l1jdcj
Gormanalysis
Python NumPy For Your Grandma - 1.1 Introduction
Now available in written format on Practice Probs!
Course Curriculum Introduction
1.1 Introduction Series
2.1 Series Creation
2.2 Series Basic Indexing
2.3 Series Basic Operations
2.4 Series Boolean Indexing
2.5 Series Missing Values
2.6 Series Vectorization…
Course Curriculum Introduction
1.1 Introduction Series
2.1 Series Creation
2.2 Series Basic Indexing
2.3 Series Basic Operations
2.4 Series Boolean Indexing
2.5 Series Missing Values
2.6 Series Vectorization…
8 best Python Natural Language Processing (NLP) libraries
https://sunscrapers.com/blog/8-best-python-natural-language-processing-nlp-libraries/?utm_source=reddit&utm_medium=thread&utm_campaign=january-promo
/r/Python
https://redd.it/l2is2a
https://sunscrapers.com/blog/8-best-python-natural-language-processing-nlp-libraries/?utm_source=reddit&utm_medium=thread&utm_campaign=january-promo
/r/Python
https://redd.it/l2is2a
Sunscrapers
8 best Python NLP libraries | Sunscrapers
NLP can provide organizations with a broad range valuable insights and solutions that address language-related problems consumers might experience
D 10 Insightful & Practical AI/ML Books to Read in 2021
If you are still planning a 2021 reading list, here are 10 AI/ML books to consider. They are published over the past two years and cover a range of topics from fundamental concepts, to algorithms and applications. And here is a collection of author talks and book reviews that might be helpful to check out before diving deep into the books.
Artificial Intelligence: A Guide for Thinking Humans (Melanie Mitchell)
Rebooting AI (Gary Marcus and Ernest Davis)
Human Compatible: Artificial Intelligence and the Problem of Control (Stuart Russel)
You Look Like a Thing and I Love You: How Artificial Intelligence Works and Why It's Making the World a Weirder Place (Janelle Shane)
The Hundred-Page Machine Learning Book (Andriy Burkov)
Interpretable Machine Learning: A Guide for Making Black Box Models Explainable (Christoph Molnar)
Machine Learning Yearning (Andrew Ng)
Machine Learning Engineering (Andriy Burkov)
Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems (2nd Edition) (Aurélien Géron)
Approaching (Almost) Any Machine Learning Problem (Abhishek Thakur)
Feel free to comment below and add new book recommendations.
/r/MachineLearning
https://redd.it/l2idzt
If you are still planning a 2021 reading list, here are 10 AI/ML books to consider. They are published over the past two years and cover a range of topics from fundamental concepts, to algorithms and applications. And here is a collection of author talks and book reviews that might be helpful to check out before diving deep into the books.
Artificial Intelligence: A Guide for Thinking Humans (Melanie Mitchell)
Rebooting AI (Gary Marcus and Ernest Davis)
Human Compatible: Artificial Intelligence and the Problem of Control (Stuart Russel)
You Look Like a Thing and I Love You: How Artificial Intelligence Works and Why It's Making the World a Weirder Place (Janelle Shane)
The Hundred-Page Machine Learning Book (Andriy Burkov)
Interpretable Machine Learning: A Guide for Making Black Box Models Explainable (Christoph Molnar)
Machine Learning Yearning (Andrew Ng)
Machine Learning Engineering (Andriy Burkov)
Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems (2nd Edition) (Aurélien Géron)
Approaching (Almost) Any Machine Learning Problem (Abhishek Thakur)
Feel free to comment below and add new book recommendations.
/r/MachineLearning
https://redd.it/l2idzt
blog.crossminds.ai
10 Insightful AI Books To Read in 2021
Want to improve your understanding and skills in the AI/ML domain this year? Check out these 10 best books published over the past two years that offer deep insights into the fundamentals and applications of AI. (Authored by Crossminds in Community Sharing)
Hello? I need help with DetailView. I have written the code below to for user profiles. It's working in the template but even though I'm logged in, it's printing "This is not your profile" meaning the object is returning False. What am I missing? Thanks for the assist
/r/django
https://redd.it/l2jxe3
/r/django
https://redd.it/l2jxe3
Writing Django Project Documentation Templates
I am leading a Django Project and serve as a developer and designer of the system. I want to create a documentation endpoint that can be used to hyper link users to various parts of the documentation to read the relevant language. I looked into Sphinx and it seems a little heavy duty for our purposes. I was curious if there was another good solution for this.
What I want:
\- Help text buttons for each form input
\- Each help button hyper links to the related part of the documentation page
\- Documentation template can be edited easily ( I.e. ideally not written directly in HTML.)
/r/django
https://redd.it/l2qpu2
I am leading a Django Project and serve as a developer and designer of the system. I want to create a documentation endpoint that can be used to hyper link users to various parts of the documentation to read the relevant language. I looked into Sphinx and it seems a little heavy duty for our purposes. I was curious if there was another good solution for this.
What I want:
\- Help text buttons for each form input
\- Each help button hyper links to the related part of the documentation page
\- Documentation template can be edited easily ( I.e. ideally not written directly in HTML.)
/r/django
https://redd.it/l2qpu2
reddit
Writing Django Project Documentation Templates
I am leading a Django Project and serve as a developer and designer of the system. I want to create a documentation endpoint that can be used to...
Run machine learning model without loading it on client?
This is my first post in this subreddit and I might make a follow up post.
In my data science camp, I learned how to use flask with heroku and every member had some machine learning model deployed with it. However many hosting services (including heroku) are free up to 1GB and good ML models are usually greater that 1GB, so it would cost users money.
I didn't like the fact that the model i made had to be dumbed-down to fit the size, so I am trying to learn how to host a flask web app (using apache and WSGI_mod).
I have an old laptop that is going to act as a server and I want to know where i need to put the pickeled model so that it doesn't get loaded on the client and stays on the server. The setup i want looks like "user send input through web" --> "flask opens ML model and computes on my laptop" --> "send back results".
One idea I had was to have 2 instances of python running on my laptop, where the flask app has a sqlite3 server that stores user input and a separate
/r/flask
https://redd.it/l2vd7j
This is my first post in this subreddit and I might make a follow up post.
In my data science camp, I learned how to use flask with heroku and every member had some machine learning model deployed with it. However many hosting services (including heroku) are free up to 1GB and good ML models are usually greater that 1GB, so it would cost users money.
I didn't like the fact that the model i made had to be dumbed-down to fit the size, so I am trying to learn how to host a flask web app (using apache and WSGI_mod).
I have an old laptop that is going to act as a server and I want to know where i need to put the pickeled model so that it doesn't get loaded on the client and stays on the server. The setup i want looks like "user send input through web" --> "flask opens ML model and computes on my laptop" --> "send back results".
One idea I had was to have 2 instances of python running on my laptop, where the flask app has a sqlite3 server that stores user input and a separate
/r/flask
https://redd.it/l2vd7j
reddit
Run machine learning model without loading it on client?
This is my first post in this subreddit and I might make a follow up post. In my data science camp, I learned how to use flask with heroku and...
"anaconda-navigator" isn't opening on qiskit environment, but it opens on base env.
​
I thought all new anaconda venvs come with anaconda-navigator installed
/r/IPython
https://redd.it/l307wj
​
I thought all new anaconda venvs come with anaconda-navigator installed
/r/IPython
https://redd.it/l307wj