Some more batteries to do stuff with Mapping related data structures
This library provides utility functions for manipulating and transforming data structures which have or include Mapping-like characteristics.
https://github.com/erivlis/mappingtools
This library provides utility functions for manipulating and transforming data structures which have or include Mapping-like characteristics.
https://github.com/erivlis/mappingtools
GitHub
GitHub - erivlis/mappingtools: Python tools to manipulate Mapping objects
Python tools to manipulate Mapping objects. Contribute to erivlis/mappingtools development by creating an account on GitHub.
CSVs Are Kinda Bad. DSVs Are Kinda Good.
The article argues that CSVs (Comma-Separated Values) are problematic due to various edge cases involving delimiters, quotes, and newlines, and proposes using Delimiter-Separated Values (DSV) with ASCII control characters as a more robust alternative. It demonstrates how DSVs can handle complex data without escaping or quoting issues, but acknowledges that the lack of widespread tool sup...
https://matthodges.com/posts/2024-08-12-csv-bad-dsv-good/
The article argues that CSVs (Comma-Separated Values) are problematic due to various edge cases involving delimiters, quotes, and newlines, and proposes using Delimiter-Separated Values (DSV) with ASCII control characters as a more robust alternative. It demonstrates how DSVs can handle complex data without escaping or quoting issues, but acknowledges that the lack of widespread tool sup...
https://matthodges.com/posts/2024-08-12-csv-bad-dsv-good/
Matt Hodges
CSVs Are Kinda Bad. DSVs Are Kinda Good.
I would simply use delimiter characters to delimit data.
Deep-Live-Cam
Real time face swap and one-click video deepfake with only a single image.
https://github.com/hacksider/Deep-Live-Cam
Real time face swap and one-click video deepfake with only a single image.
https://github.com/hacksider/Deep-Live-Cam
GitHub
GitHub - hacksider/Deep-Live-Cam: real time face swap and one-click video deepfake with only a single image
real time face swap and one-click video deepfake with only a single image - hacksider/Deep-Live-Cam
DeltaDB
DeltaDB is a lightweight, fast, and scalable database built on polars and deltalake.
https://github.com/uname-n/deltadb
DeltaDB is a lightweight, fast, and scalable database built on polars and deltalake.
https://github.com/uname-n/deltadb
GitHub
GitHub - uname-n/deltabase: a lightweight, comprehensive solution for managing delta tables built on polars and deltalake
a lightweight, comprehensive solution for managing delta tables built on polars and deltalake - uname-n/deltabase
Automating Boolean-Based SQL Injection with Python
How to be efficiently lazy at finding hidden gems in predictable places – Database Edition.
https://trebledj.me/posts/automating-boolean-sql-injection-with-python/
How to be efficiently lazy at finding hidden gems in predictable places – Database Edition.
https://trebledj.me/posts/automating-boolean-sql-injection-with-python/
TrebledJ's Pages
Automating Boolean-Based SQL Injection with Python - TrebledJ's Pages
How to be efficiently lazy at finding hidden gems in predictable places – Database Edition
When performing a penetration test, we occasionally come across SQL injection (SQLi) vulnerabilities. One particular class of SQLi is particularly tedious to exploit…
When performing a penetration test, we occasionally come across SQL injection (SQLi) vulnerabilities. One particular class of SQLi is particularly tedious to exploit…
llm_aided_ocr
Enhance Tesseract OCR output for scanned PDFs by applying Large Language Model (LLM) corrections.
https://github.com/Dicklesworthstone/llm_aided_ocr
Enhance Tesseract OCR output for scanned PDFs by applying Large Language Model (LLM) corrections.
https://github.com/Dicklesworthstone/llm_aided_ocr
GitHub
GitHub - Dicklesworthstone/llm_aided_ocr: Enhance Tesseract OCR output for scanned PDFs by applying Large Language Model (LLM)…
Enhance Tesseract OCR output for scanned PDFs by applying Large Language Model (LLM) corrections. - Dicklesworthstone/llm_aided_ocr
From Boring Object-Oriented to INSANE Functional Code
This video demonstrates that there's a place for both object-oriented and functional code. In Python, these two approaches can be combined effectively, allowing you to leverage the strengths of each for the best results.
https://www.youtube.com/watch?v=DvdZv_DD0DY
This video demonstrates that there's a place for both object-oriented and functional code. In Python, these two approaches can be combined effectively, allowing you to leverage the strengths of each for the best results.
https://www.youtube.com/watch?v=DvdZv_DD0DY
YouTube
Refactoring Object-Oriented to AWESOME Functional Code
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.
In this video, I want to show you that there is a place for object-oriented code and a place for more functional code. In Python, you can combine the two, which is…
In this video, I want to show you that there is a place for object-oriented code and a place for more functional code. In Python, you can combine the two, which is…
EDSL
Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.
https://github.com/expectedparrot/edsl
Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.
https://github.com/expectedparrot/edsl
GitHub
GitHub - expectedparrot/edsl: Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science…
Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs. - expectedparrot/edsl
Cloudflare R2 x Django. Static Files. User uploads, css, images, js and more. Production-ready.
The video covers setting up and managing Django files, including static and user-uploaded files, using Cloudflare's R2 object storage. It emphasizes best practices for configuring environment variables, securing API keys, and managing static and media files in Django with advanced validation and customization options.
https://www.youtube.com/watch?v=VU3MAN1gs1s
The video covers setting up and managing Django files, including static and user-uploaded files, using Cloudflare's R2 object storage. It emphasizes best practices for configuring environment variables, securing API keys, and managing static and media files in Django with advanced validation and customization options.
https://www.youtube.com/watch?v=VU3MAN1gs1s
YouTube
Cloudflare for Devs Part 1: R2 with Django for Static files, user uploads, css, images, js and more.
Learn how to implement production-ready hosting for your static files and user file uploads.
In this one we only use:
- Cloudflare R2
- Django 5 (4.2+)
- django-storages
- python-decouple
Thank you to Cloudflare for sponsoring this one! Be sure to sign…
In this one we only use:
- Cloudflare R2
- Django 5 (4.2+)
- django-storages
- python-decouple
Thank you to Cloudflare for sponsoring this one! Be sure to sign…
Gemma for Streaming ML with Dataflow
The article demonstrates how to integrate Google's Gemma 2 language model into a Dataflow pipeline for real-time sentiment analysis and response generation in customer support chats. It provides a practical example of using Gemma to process streaming data, including code snippets for creating prompts, running inference, and handling model outputs within a scalable data processing framework.
https://developers.googleblog.com/en/gemma-for-streaming-ml-with-dataflow/
The article demonstrates how to integrate Google's Gemma 2 language model into a Dataflow pipeline for real-time sentiment analysis and response generation in customer support chats. It provides a practical example of using Gemma to process streaming data, including code snippets for creating prompts, running inference, and handling model outputs within a scalable data processing framework.
https://developers.googleblog.com/en/gemma-for-streaming-ml-with-dataflow/
Googleblog
Google for Developers Blog - News about Web, Mobile, AI and Cloud
Use the Gemma language model to gauge customer sentiment, summarize conversations, and assist with crafting responses in near real-time with minimal latency.
Pare
Pare is the easiest way to deploy Python Lambdas alongside your primary web application.
https://github.com/gauge-sh/pare
Pare is the easiest way to deploy Python Lambdas alongside your primary web application.
https://github.com/gauge-sh/pare
GitHub
GitHub - gauge-sh/pare: Pare is the easiest way to deploy Python Lambdas alongside your primary web application.
Pare is the easiest way to deploy Python Lambdas alongside your primary web application. - gauge-sh/pare
Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation
The video explains how to code a visual language model from scratch using PyTorch, covering topics such as vision transformers, contrastive learning, and language models. It provides a detailed walkthrough of implementing various components, including the vision encoder, language model, and how to combine image and text embeddings, with explanations of key concepts like attention mechani...
https://www.youtube.com/watch?v=vAmKB7iPkWw
The video explains how to code a visual language model from scratch using PyTorch, covering topics such as vision transformers, contrastive learning, and language models. It provides a detailed walkthrough of implementing various components, including the vision encoder, language model, and how to combine image and text embeddings, with explanations of key concepts like attention mechani...
https://www.youtube.com/watch?v=vAmKB7iPkWw
YouTube
Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation
Full coding of a Multimodal (Vision) Language Model from scratch using only Python and PyTorch.
We will be coding the PaliGemma Vision Language Model from scratch while explaining all the concepts behind it:
- Transformer model (Embeddings, Positional Encoding…
We will be coding the PaliGemma Vision Language Model from scratch while explaining all the concepts behind it:
- Transformer model (Embeddings, Positional Encoding…
OpenBB-finance / OpenBB
Investment Research for Everyone, Everywhere.
https://github.com/OpenBB-finance/OpenBB
Investment Research for Everyone, Everywhere.
https://github.com/OpenBB-finance/OpenBB
GitHub
GitHub - OpenBB-finance/OpenBB: Investment Research for Everyone, Everywhere.
Investment Research for Everyone, Everywhere. Contribute to OpenBB-finance/OpenBB development by creating an account on GitHub.
Saving Scrapy Crawl Stats to PostgreSQL with a Custom Extension and SQLAlchemy
The post explains how to extend Scrapy to save crawl statistics directly into a PostgreSQL database, detailing the implementation process and configuration needed. It provides a guide for integrating Scrapy with PostgreSQL to enhance data management and analysis.
https://www.xiegerts.com/post/scrapy-extension-save-crawlstats-postgres/
The post explains how to extend Scrapy to save crawl statistics directly into a PostgreSQL database, detailing the implementation process and configuration needed. It provides a guide for integrating Scrapy with PostgreSQL to enhance data management and analysis.
https://www.xiegerts.com/post/scrapy-extension-save-crawlstats-postgres/
Stephen Siegert
Saving Scrapy Crawl Stats to PostgreSQL with a Custom Extension and SQLAlchemy
Save the Scrapy spider crawl stats to a Postgres database using a custom extension and SQLAlchemy. We'll also update the existing database item pipeline to collect custom stats specific to the spider.
Python's Preprocessor
Every now and then you hear outrageous claims such as “Python has no preprocessor”. This is simply not true. In fact, Python has the best preprocessor of all languages - it quite literally allows us to do whatever we want, and a lot more. It’s just a little tricky to (ab)use.
https://pydong.org/posts/PythonsPreprocessor/
Every now and then you hear outrageous claims such as “Python has no preprocessor”. This is simply not true. In fact, Python has the best preprocessor of all languages - it quite literally allows us to do whatever we want, and a lot more. It’s just a little tricky to (ab)use.
https://pydong.org/posts/PythonsPreprocessor/
Pydong
Python’s Preprocessor
Every now and then you hear outrageous claims such as “Python has no preprocessor”.
PromptMage - simplifies the process of creating and managing LLM workflows
"PromptMage" is designed to offer an intuitive interface that simplifies the process of creating and managing LLM workflows. It facilitates prompt testing and comparison, and version control.
https://github.com/tsterbak/promptmage
"PromptMage" is designed to offer an intuitive interface that simplifies the process of creating and managing LLM workflows. It facilitates prompt testing and comparison, and version control.
https://github.com/tsterbak/promptmage
GitHub
GitHub - tsterbak/promptmage: simplifies the process of creating and managing LLM workflows.
simplifies the process of creating and managing LLM workflows. - tsterbak/promptmage