Zillow scraper made pure in Python
Hello everyone., on today new scraper I created the python version for the zillow scraper.
https://github.com/johnbalvin/pyzill
What My Project Does
The library will get zillow listings and details.
I didn't created a defined structured like on the Go version just because it's not as easy to maintain this kind of projects on python like on Go.
It is made on pure python with HTTP requests, so no selenium, puppeteer, playwright etc. or none of those automation libraries that I hate.
Target Audience
This project target could be real state agents probably, so lets say you want to track the real price history of properties around an area, you can use it track it
Comparison
There are libraries similar outhere but they look outdated, most of the time, scraping projects need to ne on constant maintance due to changed on the page or api
Let me know what ou think, thanks
about me:
I'm full stack developer specialized on web scraping and backend, with 6-7 years of experience
/r/Python
https://redd.it/1cblimn
Hello everyone., on today new scraper I created the python version for the zillow scraper.
https://github.com/johnbalvin/pyzill
What My Project Does
The library will get zillow listings and details.
I didn't created a defined structured like on the Go version just because it's not as easy to maintain this kind of projects on python like on Go.
It is made on pure python with HTTP requests, so no selenium, puppeteer, playwright etc. or none of those automation libraries that I hate.
Target Audience
This project target could be real state agents probably, so lets say you want to track the real price history of properties around an area, you can use it track it
Comparison
There are libraries similar outhere but they look outdated, most of the time, scraping projects need to ne on constant maintance due to changed on the page or api
pip install pyzillLet me know what ou think, thanks
about me:
I'm full stack developer specialized on web scraping and backend, with 6-7 years of experience
/r/Python
https://redd.it/1cblimn
GitHub
GitHub - johnbalvin/pyzill: Zillow scraper made in Python
Zillow scraper made in Python. Contribute to johnbalvin/pyzill development by creating an account on GitHub.
Py2wasm: A Python to Wasm compiler 3x faster than pyiodide
Take the excellent nuitka, compile python code to C, turn it into web assembly, and you got Python in the browser, without the usual runtime overhead:
https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler
While the doc states you can get this effect by doing:
pip install py2wasm
py2wasm myprogram.py -o myprogram.wasm
wasmer run myprogram.wasm
You still need the wasmer WASM runtime (
/r/Python
https://redd.it/1cb0l1i
Take the excellent nuitka, compile python code to C, turn it into web assembly, and you got Python in the browser, without the usual runtime overhead:
https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler
While the doc states you can get this effect by doing:
pip install py2wasm
py2wasm myprogram.py -o myprogram.wasm
wasmer run myprogram.wasm
You still need the wasmer WASM runtime (
curl https://get.wasmer.io -sSfL | sh for Unix users, iwr https://win.wasmer.io -useb | iex for Windows user with Powershell), however. But more than that, since you need nuikta, it means you need a C compiler installed. While in Ubuntu it's a just an sudo apt install build-essential, it will require a bit more work on Windows and Mac./r/Python
https://redd.it/1cb0l1i
nuitka.net
Nuitka the Python Compiler — Nuitka the Python Compiler
With the Python compiler Nuitka, you create protected binaries from your Python source code.
I am terrible at this but trying to learn.....hosting?
I created a flask app that I would like to direct people too from my wordpress blog, which i am hosting on Bluehost. While there is supposedly a way to get my flask app hosted on bluehost, it seems like a major task.
I have heard there are simpler hosting methods. Can someone recommend one?
I finally got my flask app running locally as I want it, just need somewhere to host it so i can point to the site from my blog. Any suggestions that can handle decent traffic? Free is great, cheap is fine.
Any help is appreciated. If there is a tutorial made for idiots please recommend it. I have never deployed anything like this before.
/r/flask
https://redd.it/1cbj2vd
I created a flask app that I would like to direct people too from my wordpress blog, which i am hosting on Bluehost. While there is supposedly a way to get my flask app hosted on bluehost, it seems like a major task.
I have heard there are simpler hosting methods. Can someone recommend one?
I finally got my flask app running locally as I want it, just need somewhere to host it so i can point to the site from my blog. Any suggestions that can handle decent traffic? Free is great, cheap is fine.
Any help is appreciated. If there is a tutorial made for idiots please recommend it. I have never deployed anything like this before.
/r/flask
https://redd.it/1cbj2vd
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Anyone know why I’m getting this error?
I even ran VS Studio as an admin and I checked my security properties for my temp folders it says the user I’m using has full access
An error occurred while streaming speech: [Errno 13] Permission denied: 'C: 1 Users | Liqtad AppData||Local\\Temp||tmpf_Oplgzu-wav'
PS C: \Users\iqtad\Documents \ezorderai4>
/r/Python
https://redd.it/1cbsejs
I even ran VS Studio as an admin and I checked my security properties for my temp folders it says the user I’m using has full access
An error occurred while streaming speech: [Errno 13] Permission denied: 'C: 1 Users | Liqtad AppData||Local\\Temp||tmpf_Oplgzu-wav'
PS C: \Users\iqtad\Documents \ezorderai4>
/r/Python
https://redd.it/1cbsejs
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Created Netlify DNS Manager: CLI Tool for uploading zone Files to Netlify or exporting Netlify DNS
What My Project Does?
Command-line tool to simplify the management of DNS records for domains hosted on Netlify, whether you want to migrate to Netlify or migrate away from Netlify.
1. Import Zone File from Godaddy, NameCheap or others to Netlify - helpful in migrating nameservers.
2. Export DNS records from Netlify as zonefile to be imported.
Zonefile is a list of all the DNS records for a given domain
Here is the url - https://github.com/sumansaurabh/netlify-dns-manager
Target Audience (e.g., Is it meant for production, just a toy project, etc.)
Anyone who is intended to use Netlify DNS.
Comparison (A brief comparison explaining how it differs from existing alternatives.)
There is no such tool that can help in managing DNS in Netlify - hence I have created it.
/r/Python
https://redd.it/1cbuape
What My Project Does?
Command-line tool to simplify the management of DNS records for domains hosted on Netlify, whether you want to migrate to Netlify or migrate away from Netlify.
1. Import Zone File from Godaddy, NameCheap or others to Netlify - helpful in migrating nameservers.
2. Export DNS records from Netlify as zonefile to be imported.
Zonefile is a list of all the DNS records for a given domain
Here is the url - https://github.com/sumansaurabh/netlify-dns-manager
Target Audience (e.g., Is it meant for production, just a toy project, etc.)
Anyone who is intended to use Netlify DNS.
Comparison (A brief comparison explaining how it differs from existing alternatives.)
There is no such tool that can help in managing DNS in Netlify - hence I have created it.
/r/Python
https://redd.it/1cbuape
GitHub
GitHub - sumansaurabh/netlify-dns-manager: Manage DNS records for domains hosted on Netlify. It allows users to either import DNS…
Manage DNS records for domains hosted on Netlify. It allows users to either import DNS records from a local zone file into Netlify or export Netlify DNS records to a local zone file. - sumansaurabh...
Which Newsletters you use ? For staying update in dev aspects ?
Hey all,
Which newsletter did you subscribe to get the best and hottest information about Tech (Python, react or whatever)?
Any recommendations?
I know this one Tech Bytes but looking forward to another one/ more
Thanks In advance for helping fellow peer.
/r/Python
https://redd.it/1cbuvbg
Hey all,
Which newsletter did you subscribe to get the best and hottest information about Tech (Python, react or whatever)?
Any recommendations?
I know this one Tech Bytes but looking forward to another one/ more
Thanks In advance for helping fellow peer.
/r/Python
https://redd.it/1cbuvbg
Substack
Tech Bytes | Dillip Chowdary | Substack
The Perfect Platform For Curious Minds Seeking To Explore New Frontiers In Technology. Click to read Tech Bytes, by Dillip Chowdary, a Substack publication with hundreds of subscribers.
Runtime type checking performance
I'm trying to decide whether to use typeguard or stick to assert isinstance in the places where I care. Has anyone done benchmarking testing of the overhead of using type guards "at"typeguard decorator ?
/r/Python
https://redd.it/1cb689x
I'm trying to decide whether to use typeguard or stick to assert isinstance in the places where I care. Has anyone done benchmarking testing of the overhead of using type guards "at"typeguard decorator ?
/r/Python
https://redd.it/1cb689x
GitHub
GitHub - agronholm/typeguard: Run-time type checker for Python
Run-time type checker for Python. Contribute to agronholm/typeguard development by creating an account on GitHub.
Best way to grade Jupyter-Notebooks?
I recently took a job with a professor, that includes helping with the grading of biweekly assignments. So I basically have now 30 Notebooks that I have to grade. Top of my head I can think of these approaches:
1. Convert to PDF and write into the PDF
2. Duplicate the Notebook and write the comments in extra blocks
3. Create a .txt file with all my note
Does anybody have experience with this and can share their workflow?
/r/Python
https://redd.it/1cbxubs
I recently took a job with a professor, that includes helping with the grading of biweekly assignments. So I basically have now 30 Notebooks that I have to grade. Top of my head I can think of these approaches:
1. Convert to PDF and write into the PDF
2. Duplicate the Notebook and write the comments in extra blocks
3. Create a .txt file with all my note
Does anybody have experience with this and can share their workflow?
/r/Python
https://redd.it/1cbxubs
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
findwhere - my first Python package published to PyPi
[PyPi](https://pypi.org/project/find-where/)
[Source](https://github.com/danohn/findwhere)
What My Project Does
find_where is a Python package that provides a function to find values in dictionaries where a specified key matches a given value, similar to filtering in SQL.
Target Audience
This is my first attempt at creating a Python package so I would describe this as a toy project at this stage but am definitely looking for feedback from the wider community.
Comparison
I mainly wrote this package because I kept on writing the same iterable based code when trying to find a value, given a key:
data = {
"people":
{"first_name": "John", "last_name": "Smith", "age": 25},
{"first_name": "Alice", "last_name": "Jones", "age": 32},
}
firstname = None
for result in data["people"]:
if result["age"] == 32:
firstname = result"first_name"
break
print(firstname)
When using find\where, you can
/r/Python
https://redd.it/1cbr1fz
[PyPi](https://pypi.org/project/find-where/)
[Source](https://github.com/danohn/findwhere)
What My Project Does
find_where is a Python package that provides a function to find values in dictionaries where a specified key matches a given value, similar to filtering in SQL.
Target Audience
This is my first attempt at creating a Python package so I would describe this as a toy project at this stage but am definitely looking for feedback from the wider community.
Comparison
I mainly wrote this package because I kept on writing the same iterable based code when trying to find a value, given a key:
data = {
"people":
{"first_name": "John", "last_name": "Smith", "age": 25},
{"first_name": "Alice", "last_name": "Jones", "age": 32},
}
firstname = None
for result in data["people"]:
if result["age"] == 32:
firstname = result"first_name"
break
print(firstname)
When using find\where, you can
/r/Python
https://redd.it/1cbr1fz
PyPI
find-where
find_where is a Python package that provides a function to find values in dictionaries where a specified key matches a given value, similar to filtering in SQL.
I was looking at hosting a Flask app on my LAN..Is there any difference in hosting speed if I run Flask on Ubuntu Server as opposed to the current OS I have, which is Windows 8.1? I am downloading Ubuntu Server..but..is it faster to host than others?
When hosting Flask app using Ubuntu Server as opposed to Windows 8.1 to host?
/r/flask
https://redd.it/1cc3i52
When hosting Flask app using Ubuntu Server as opposed to Windows 8.1 to host?
/r/flask
https://redd.it/1cc3i52
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Django Developers Survey 2023 Results
https://lp.jetbrains.com/django-developer-survey-2023/
/r/django
https://redd.it/1cbzce5
https://lp.jetbrains.com/django-developer-survey-2023/
/r/django
https://redd.it/1cbzce5
JetBrains: Developer Tools for Professionals and Teams
Django Developers Survey 2023 Results
Official Django Developers Survey 2023 Results by Django Software Foundation and JetBrains: around 4,000 responses.
pwdgen v2 -a simple password generator
https://github.com/RadoTheProgrammer/pwdgen
# What my project does
My project generate simple, strong, memorable and easy-to-type passwords.
The system is simple: it generate 2 pronounceable words separated by a special char, with a number at start or end.
I tried creating a password generator that combines simplicity, security, memorability, and ease of type.
This should be secure enough because it can generate 4e15 possibilities of passwords and uses the
# Target audience
For anyone who need to have passwords easily.
# Comparison
Most passwords manager generate completely passwords with completely random characters that aren't very easy to memorize or tape.
Examples include Dashlane, Norton, Avast.
Or other like Bitwarden generate passwords that are not really fast-to-type.
The mine generate sth like
# Usage
You can install it with
pwdgen
To use it in a python code
import pwdgen
print(pwdgen.generate())
# Changes from last post
I already made another post for this, but this was not well received because my code use the random module.
I updated it to use the secrets module.
#
/r/Python
https://redd.it/1cc300n
https://github.com/RadoTheProgrammer/pwdgen
# What my project does
My project generate simple, strong, memorable and easy-to-type passwords.
The system is simple: it generate 2 pronounceable words separated by a special char, with a number at start or end.
I tried creating a password generator that combines simplicity, security, memorability, and ease of type.
This should be secure enough because it can generate 4e15 possibilities of passwords and uses the
secrets module.# Target audience
For anyone who need to have passwords easily.
# Comparison
Most passwords manager generate completely passwords with completely random characters that aren't very easy to memorize or tape.
Examples include Dashlane, Norton, Avast.
Or other like Bitwarden generate passwords that are not really fast-to-type.
The mine generate sth like
7Xy-Bonuwucete 0Qubyby+Pomafy , or 7Zuxogu:Lebuwo . # Usage
You can install it with
pip install pwd-generator and use the cli version:pwdgen
To use it in a python code
import pwdgen
print(pwdgen.generate())
# Changes from last post
I already made another post for this, but this was not well received because my code use the random module.
I updated it to use the secrets module.
#
/r/Python
https://redd.it/1cc300n
GitHub
GitHub - RadoTheProgrammer/pwdgen: A simple password generator
A simple password generator. Contribute to RadoTheProgrammer/pwdgen development by creating an account on GitHub.
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1ccdo2r
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1ccdo2r
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Frontend (Javascript) connecting with Backend(Python, Django): Failed to load resource: the server responded with a status of 500 (Internal Server Error)
https://redd.it/1cchqvq
@pythondaily
https://redd.it/1cchqvq
@pythondaily
Reddit
From the djangolearning community on Reddit: Frontend (Javascript) connecting with Backend(Python, Django): Failed to load resource:…
Explore this post and more from the djangolearning community