Skip to the content Skip to the Navigation

Red And Green

  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact

python

  1. HOME
  2. python
Digital Signatures
November 28, 2023 / Last updated : December 7, 2023 admin Python Code

Streamlit App – Digital Signature demo

I demo ECDSA public/private keys with digital signatures using Streamlit… The private key gets generated, and stays private. The public key is given to the person who want’s to verify the message. Using the public key plus the signed message they can be sure that the only the owner of the matching private key signed […]

October 21, 2023 / Last updated : October 23, 2023 admin Rust Programming

Rust for Python with Maturin

Rust for Python with Maturin

Qdrant Vector Database
July 20, 2023 / Last updated : July 20, 2023 admin AI ML

Text Embedding and Upsert with Qdrant in Python

This article describes a Python script that demonstrates how to efficiently process text data, create embeddings, and upsert the embeddings into a Qdrant database using Python. Overview In today’s era of big data and machine learning, efficient text processing and vectorization are crucial for various natural language processing (NLP) tasks. The provided Python script showcases […]

python-code
April 6, 2023 / Last updated : April 10, 2023 admin Python Code

Working with dictionaries in Python

In this article we will look at OrderedDict and Counter Use an OrderedDict to sort an existing dictionary such as the one below: How to sort a Python dictionary Enclose the dictionary with OrderedDict(sorted(dict.items()) Note: you can also add in “reverse” if you want the opposite sort order: How to remove a key:value pair from […]

plane
March 16, 2023 / Last updated : March 16, 2023 admin Python Code

Enum in a Class in Python

Enum, short for “enumerate” is a robust way for us to enforce a strict set of options in Python. For example a fixed choice of Aeroplane Manufacturers and each choice manufacturers matches a model name. Let’s look at the example below and see we can do this can be done in practice. Example Code Pass […]

python-code
March 14, 2023 / Last updated : March 25, 2023 admin Python Code

Sphinx : How to Document A Python Project

Let’s look at how to create complete documentation for your entire Python project using Sphinx Here is a guide to how to document a very small project, with 2 directories “src” and “docs” where all the source code is in “src” and the Sphinx specific files go inside “docs”. You’ll be able to view each […]

python-code
March 14, 2023 / Last updated : March 14, 2023 admin Python Code

What is a Python Generator?

A Python generator is a “lazy Iterator” – a function that is a memory efficient way of providing an object to loop through We can define a Python generator function just like a normal function. This article will show some simple examples to illustrate how easy they are to use and how effective they can […]

May 12, 2021 / Last updated : March 10, 2023 admin Pandas

Data Analysis With Pandas

If you want to learn about Data Analysis with Pandas and Python and you’re not familiar with Kaggle, check it out! Time to read article : 5 mins TLDR; We show how to use idxmax and apply with Pandas Introduction Here we will look at some functions in Pandas which will help with ‘EDA’ – […]

November 11, 2020 / Last updated : November 11, 2020 admin Python Code

Price Tracking Amazon

A common task is to track competitors prices and use that information as a guide to the prices you can charge, or if you are buying, you can spot when a product is at a new lowest price. The purpose of this article is to describe how to web scrape Amazon. Using Python, Scrapy, MySQL, […]

October 17, 2020 / Last updated : October 17, 2020 admin Python Code

How To Web Scrape Amazon (successfully)

You may want to scrape Amazon for information about books about web scraping! We shorten what would have been a very very long selector, by using “contains” in our xpath : response.xpath(‘//*[contains(@class,”sg-col-20-of-24 s-result-item s-asin”)]’) The most important thing when starting to scrape is to establish what you want in your final output. Here are the […]

Posts navigation

  • Page 1
  • Page 2
  • »

Recent Posts

lib.rs

Rust – use an upstream crate

December 1, 2023
studying Rust Code

Dissecting a Rust Program | Axum & Sled

November 30, 2023
Digital Signatures

Streamlit App – Digital Signature demo

November 28, 2023
bitcoin Script

Bitcoin Scripts and Script Language

November 28, 2023
from trait

Understanding Rust’s From Trait

November 27, 2023
bitcoin script

Learning Bitcoin Script/Miniscript and where to apply in a transaction

November 26, 2023
bitcoin Script

Explaining Bitcoin’s “Taproot”

November 25, 2023
axum-rust

Axum – testing API endpoints

November 22, 2023

BDK Wallet Descriptors

November 21, 2023
bitcoin script

Learn BDK – Bitcoin Dev Kit

November 21, 2023

Category

  • AI ML
  • automation
  • Bitcoin Programming
  • c
  • ebay api
  • email
  • JavaScript
  • LangChain
  • MySQL
  • Pandas
  • postgres
  • Python Code
  • Raspberry Pi
  • requests
  • Rust Programming
  • Scrapy
  • Selenium
  • Uncategorized
  • web scraping

Archive

  • December 2023
  • November 2023
  • October 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • September 2022
  • November 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • Rust – use an upstream crate
  • Dissecting a Rust Program | Axum & Sled
  • Streamlit App – Digital Signature demo
  • Bitcoin Scripts and Script Language
  • Understanding Rust’s From Trait

Archives

  • December 2023
  • November 2023
  • October 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • September 2022
  • November 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020

Categories

  • AI ML
  • automation
  • Bitcoin Programming
  • c
  • ebay api
  • email
  • JavaScript
  • LangChain
  • MySQL
  • Pandas
  • postgres
  • Python Code
  • Raspberry Pi
  • requests
  • Rust Programming
  • Scrapy
  • Selenium
  • Uncategorized
  • web scraping

AI API Automation axum BDK bitcoin Bitcoin Core class Closure closures dictionaries dictionary from json Documentation enum form login generator Generators git clone GitHub GROUP BY huggingface impl javascript in scrapy json json from javascript langchain LLM load more mutable Pandas python Qdrant Rust Programming scrapy Sphinx SQL struct Upsert VectorDatabase Vectors webscraping web scraping xpath Yaml Yield

  • email
  • github
  • YouTube
This site is hosted with https://webdock.io/en Fast Cloud VPS Hosting Flat fee all-inclusive VPS with a Free Control Panel

Copyright © Red And Green All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact
Translate ยป