Lesser known parts of Python standard library – Trickster Dev
https://www.trickster.dev/post/lesser-known-parts-of-python-standard-library/
https://www.trickster.dev/post/lesser-known-parts-of-python-standard-library/
www.trickster.dev
Lesser known parts of Python standard library – Trickster Dev
Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting
Using GPT-4o for web scraping
The article discusses using GPT-4 with OpenAI's structured outputs feature to create an AI-assisted web scraper, exploring its capabilities in parsing complex tables and generating XPaths. While the author found GPT-4 effective at extracting data from various HTML tables, they also noted challenges with merged rows, high API costs, and the need for further refinements to improve accuracy...
https://blancas.io/blog/ai-web-scraper/
The article discusses using GPT-4 with OpenAI's structured outputs feature to create an AI-assisted web scraper, exploring its capabilities in parsing complex tables and generating XPaths. While the author found GPT-4 effective at extracting data from various HTML tables, they also noted challenges with merged rows, high API costs, and the need for further refinements to improve accuracy...
https://blancas.io/blog/ai-web-scraper/
Eduardo Blancas
Using GPT-4o for web scraping
tl;dr; show me the demo and source code!
Integrating Stripe Into A One-Product Django Python Shop
In the first part of this series, we created a Django online shop with htmx. In this second part, we'll handle orders using Stripe.
https://blog.appsignal.com/2024/09/04/integrating-stripe-into-a-one-product-django-python-shop.html
In the first part of this series, we created a Django online shop with htmx. In this second part, we'll handle orders using Stripe.
https://blog.appsignal.com/2024/09/04/integrating-stripe-into-a-one-product-django-python-shop.html
Appsignal
Integrating Stripe Into A One-Product Django Python Shop | AppSignal Blog
Let's handle orders on our one-product shop by setting up Stripe.
My Favorite Error Handling Technique
This video presents a surprising “Let it burn” approach to error handling, demonstrating how allowing code to fail fast can result in simpler, clearer, and more robust software. Discover the benefits of this method and its impact on improving overall code quality.
https://www.youtube.com/watch?v=YA0Wq1rcs6U
This video presents a surprising “Let it burn” approach to error handling, demonstrating how allowing code to fail fast can result in simpler, clearer, and more robust software. Discover the benefits of this method and its impact on improving overall code quality.
https://www.youtube.com/watch?v=YA0Wq1rcs6U
YouTube
My FAVORITE Error Handling Technique
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.
In this video, I’ll show you my probably surprising “Let it burn” approach to error handling. Learn why letting your code fail fast can lead to simpler, clearer, and…
In this video, I’ll show you my probably surprising “Let it burn” approach to error handling. Learn why letting your code fail fast can lead to simpler, clearer, and…
Pure Python: Build a full stack ChatGPT-like UI. Reflex, Neon Postgres. Deploy with Docker to a VM
This video tutorial demonstrates how to build a full-stack ChatGPT-like UI using Reflex, a Python framework for web development, integrating it with Neon Postgres database and OpenAI. It covers the entire process from setting up the development environment to deploying the application using Docker, GitHub Actions, and Ansible on a virtual machine.
https://www.youtube.com/watch?v=NuNaI__4xiU
This video tutorial demonstrates how to build a full-stack ChatGPT-like UI using Reflex, a Python framework for web development, integrating it with Neon Postgres database and OpenAI. It covers the entire process from setting up the development environment to deploying the application using Docker, GitHub Actions, and Ansible on a virtual machine.
https://www.youtube.com/watch?v=NuNaI__4xiU
YouTube
Pure Python: Build a full stack ChatGPT-like UI. Reflex, Neon Postgres. Deploy with Docker to a VM
⭐️ Sign up for Neon right now! https://neon.tech/cfe
Topics:
✅ Full Stack Web Development in Pure Python with Reflex
✅ Integrate Neon Database with Reflex
✅ Seamless integration with frontend and backend
✅ Using SQLModel and Reflex's built-in support for…
Topics:
✅ Full Stack Web Development in Pure Python with Reflex
✅ Integrate Neon Database with Reflex
✅ Seamless integration with frontend and backend
✅ Using SQLModel and Reflex's built-in support for…
kazam
Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind.
https://github.com/henrywoo/kazam
Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind.
https://github.com/henrywoo/kazam
GitHub
GitHub - henrywoo/kazam: Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind
Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind - henrywoo/kazam
cookiecutter-uv
A modern cookiecutter template for Python projects that use uv for dependency management.
https://github.com/fpgmaas/cookiecutter-uv
A modern cookiecutter template for Python projects that use uv for dependency management.
https://github.com/fpgmaas/cookiecutter-uv
GitHub
GitHub - fpgmaas/cookiecutter-uv: A modern cookiecutter template for Python projects that use uv for dependency management
A modern cookiecutter template for Python projects that use uv for dependency management - GitHub - fpgmaas/cookiecutter-uv: A modern cookiecutter template for Python projects that use uv for depe...
Shades of testing HTTP requests in Python
The post discusses various approaches to testing HTTP requests in Python applications, focusing on mocking external API calls during unit and integration testing.
https://rednafi.com/python/testing_http_requests/
The post discusses various approaches to testing HTTP requests in Python applications, focusing on mocking external API calls during unit and integration testing.
https://rednafi.com/python/testing_http_requests/
Redowan's Reflections
Shades of testing HTTP requests in Python
Here’s a Python snippet that makes an HTTP POST request:
# script.py
import httpx
from typing import Any
async def make_request(url: str) -> dict[str, Any]:
headers = {"Content-Type": "application/json"}
async with httpx.AsyncClient(headers=headers)…
# script.py
import httpx
from typing import Any
async def make_request(url: str) -> dict[str, Any]:
headers = {"Content-Type": "application/json"}
async with httpx.AsyncClient(headers=headers)…
nlp-zero-to-hero
A comprehensive resource for learning Natural Language Processing (NLP) from the basics to advanced topics. It contains Jupyter notebooks covering various NLP concepts, techniques, and implementations, making it a valuable guide for beginners and intermediate learners in the field of NLP.
https://github.com/JUSTSUJAY/nlp-zero-to-hero
A comprehensive resource for learning Natural Language Processing (NLP) from the basics to advanced topics. It contains Jupyter notebooks covering various NLP concepts, techniques, and implementations, making it a valuable guide for beginners and intermediate learners in the field of NLP.
https://github.com/JUSTSUJAY/nlp-zero-to-hero
GitHub
GitHub - JUSTSUJAY/nlp-zero-to-hero: NLP Zero to Hero in just 10 Kernels
NLP Zero to Hero in just 10 Kernels. Contribute to JUSTSUJAY/nlp-zero-to-hero development by creating an account on GitHub.
PyPI Proxying for Docker Builds
I wanted to improve our CI system by caching PyPI data locally. I saw that there’s a project to do this, but I didn’t see any good examples actually using it.
https://www.robopenguins.com/pypi-proxy/
I wanted to improve our CI system by caching PyPI data locally. I saw that there’s a project to do this, but I didn’t see any good examples actually using it.
https://www.robopenguins.com/pypi-proxy/
Robopenguins
PyPI Proxying for Docker Builds
I wanted to improve our CI system by caching PyPI data locally. I saw that there’s a project to do this, but I didn’t see any good examples actually using it.
Multiversion Python Thoughts
A braindump on how to make multi version in Python work.
https://lucumr.pocoo.org/2024/9/9/multiversion-python/
A braindump on how to make multi version in Python work.
https://lucumr.pocoo.org/2024/9/9/multiversion-python/
Armin Ronacher's Thoughts and Writings
Multiversion Python Thoughts
A braindump on how to make multi version in Python work.
NestedText
Human readable and writable data interchange format.
https://github.com/KenKundert/nestedtext
Human readable and writable data interchange format.
https://github.com/KenKundert/nestedtext
GitHub
GitHub - KenKundert/nestedtext: Human readable and writable data interchange format
Human readable and writable data interchange format - KenKundert/nestedtext
What’s New In Python 3.13
This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 will be released on October 1, 2024.
https://docs.python.org/3.13/whatsnew/3.13.html
This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 will be released on October 1, 2024.
https://docs.python.org/3.13/whatsnew/3.13.html
Python documentation
What’s New In Python 3.13
Editors, Adam Turner and Thomas Wouters,. This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 was released on October 7, 2024. For full details, see the changelog. ...
Revival Hijack – PyPI hijack technique exploited in the wild, puts 22K packages at risk
The article discusses a PyPI supply chain attack technique called "Revival Hijack," where attackers can hijack removed packages by re-registering them. JFrog's research team found that this technique could potentially affect 22,000 existing PyPI packages, leading to hundreds of thousands of malicious downloads, and they took proactive measures to protect the PyPI community by safely rese...
https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/
The article discusses a PyPI supply chain attack technique called "Revival Hijack," where attackers can hijack removed packages by re-registering them. JFrog's research team found that this technique could potentially affect 22,000 existing PyPI packages, leading to hundreds of thousands of malicious downloads, and they took proactive measures to protect the PyPI community by safely rese...
https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/
JFrog
Revival Hijack - PyPI hijack technique exploited in the wild, puts 22K packages at risk
JFrog’s security research team continuously monitors open-source software registries, proactively identifying and addressing potential malware and vulnerability threats to foster a secure and reliable ecosystem for open-source software development and deployment.…
peepDB
open-source CLI tool and python library to quickly view MySQL, PostgreSQL, MariaDB database tables.
https://github.com/evangelosmeklis/peepdb
open-source CLI tool and python library to quickly view MySQL, PostgreSQL, MariaDB database tables.
https://github.com/evangelosmeklis/peepdb
GitHub
GitHub - evangelosmeklis/peepdb: CLI tool and python library to inspect databases fast.
CLI tool and python library to inspect databases fast. - evangelosmeklis/peepdb