Yibo's Blog
  • Home
  • About
  • Gallery
  • GitHub
Sign in Subscribe

python

A collection of 3 posts
Introducing pystringsext: Simplify Binary String Extraction in Python
tools

Introducing pystringsext: Simplify Binary String Extraction in Python

When I needed to extract UUIDs from Android APKs, I found the stringsext command-line tool incredibly useful. However, it lacked programmable output for data analysis, which was crucial for my project. To bridge this gap, I created pystringsext, a Python wrapper that parses the standard output of the stringsext tool.
12 Oct 2024 2 min read
Writing Python the Rust Way
tips

Writing Python the Rust Way

UNO Card Game Implementation The Problem: A Naive Approach Let's start with a naive implementation of UNO card logic: class UnoCard: def __init__(self, color, value, is_wild=False): self.color = color self.value = value self.is_wild = is_wild def valid_to_play(card, top_card): if
12 Oct 2024 3 min read
I made a better struct alternative in Python
tools

I made a better struct alternative in Python

Introducing PackMan, a type-safe struct alternative for binary packing/unpacking for Python
12 Oct 2024 4 min read
Page 1 of 1
Yibo's Blog © 2025
  • Sign up
Powered by Ghost