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)…
👍1
  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. ...
🔥1
  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
  How To Perform Unit Testing in Flask
Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.
https://www.digitalocean.com/community/tutorials/unit-test-in-flask
  
  Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.
https://www.digitalocean.com/community/tutorials/unit-test-in-flask
Digitalocean
  
  How To Perform Unit Testing in Flask | DigitalOcean
  Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.
  LibrePythonista allows running IPython code in a LibreOffice spreadsheet
https://github.com/Amourspirit/python_libre_pythonista_ext
  
  https://github.com/Amourspirit/python_libre_pythonista_ext
GitHub
  
  GitHub - Amourspirit/python_libre_pythonista_ext
  Contribute to Amourspirit/python_libre_pythonista_ext development by creating an account on GitHub.
👍2
  Python HTTP Clients: Requests vs. HTTPX vs. AIOHTTP
Learn about the differences between Requests, HTTPX, and AIOHTTP, and when to use each library for your Python projects.
https://www.speakeasy.com/post/python-http-clients-requests-vs-httpx-vs-aiohttp
  
  Learn about the differences between Requests, HTTPX, and AIOHTTP, and when to use each library for your Python projects.
https://www.speakeasy.com/post/python-http-clients-requests-vs-httpx-vs-aiohttp
Speakeasy
  
  Python HTTP Clients: Requests vs. HTTPX vs. AIOHTTP
  Learn about the differences between Requests, HTTPX, and AIOHTTP, and when to use each library for your Python projects.
  DBOS transact – Ultra-lightweight durable execution in Python
https://github.com/dbos-inc/dbos-transact-py
  
  https://github.com/dbos-inc/dbos-transact-py
GitHub
  
  GitHub - dbos-inc/dbos-transact-py: Lightweight Durable Python Workflows
  Lightweight Durable Python Workflows. Contribute to dbos-inc/dbos-transact-py development by creating an account on GitHub.
  How We Made Jupyter Notebooks Load 10 Times Faster
When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.
https://www.singlestore.com/blog/how-we-made-notebooks-load-10-times-faster/
  
  When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.
https://www.singlestore.com/blog/how-we-made-notebooks-load-10-times-faster/
SingleStore
  
  How We Made Notebooks Load 10 Times Faster | Build Intelligent Apps With SingleStore
  When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.
  ostris / ai-toolkit
Various AI scripts. Mostly Stable Diffusion stuff.
https://github.com/ostris/ai-toolkit
  
  Various AI scripts. Mostly Stable Diffusion stuff.
https://github.com/ostris/ai-toolkit
GitHub
  
  GitHub - ostris/ai-toolkit: The ultimate training toolkit for finetuning diffusion models
  The ultimate training toolkit for finetuning diffusion models - ostris/ai-toolkit
  LightAPI
LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It provides a simple and intuitive interface for defining endpoints and handling HTTP requests without the need for complex configuration or dependencies.
https://github.com/iklobato/LightAPI
  
  LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It provides a simple and intuitive interface for defining endpoints and handling HTTP requests without the need for complex configuration or dependencies.
https://github.com/iklobato/LightAPI
GitHub
  
  GitHub - iklobato/LightAPI: LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It…
  LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It provides a simple and intuitive interface for defining endpoints and handling HTTP requests with...
  Build a Translation Application Using Tkinter and OpenAI
In this tutorial, we'll build a desktop translator application to translate natural language using ChatGPT APIs. We'll be building the UI using the Tkinter library from the Python standard library.
https://www.pythonguis.com/examples/translator-app-tkinter-ai-chatgpt/
  
  In this tutorial, we'll build a desktop translator application to translate natural language using ChatGPT APIs. We'll be building the UI using the Tkinter library from the Python standard library.
https://www.pythonguis.com/examples/translator-app-tkinter-ai-chatgpt/
Python GUIs
  
  Build a AI-powered desktop Translator with Python & Tkinter
  In this tutorial you'll use Tkinter, Python and OpenAI to build a desktop translator application. Translation tools have existed for many years and are incredibly useful if you're learning a new language or wanting to read foreign websites.
  Python macOS Framework Builds
Building Python with --enable-framework changes some stuff around; should you care?
https://blog.glyph.im/2024/09/python-macos-framework-builds.html
  
  Building Python with --enable-framework changes some stuff around; should you care?
https://blog.glyph.im/2024/09/python-macos-framework-builds.html
blog.glyph.im
  
  Python macOS Framework Builds
  Building Python with --enable-framework changes some stuff around; should you care?