Ben Chuanlong Du's Blog

It is never too late to learn.

Path Pattern Matching in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. Pathspec is preferred over zgitignore as the latter is not actively maintained.

pathspec

pathspec is a utility library for gitignore style pattern matching of file paths.

zgitignore

zgitignore checks if a file is ignored by a .zgitignore

Tips on Jinja

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

SQL Translation Tools

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The ORM library SQLAlchemy

can be leverage

SQL Translation Tools

JOOQ Parser

Koalas is pandas API on PySpark

Run Commands on Remote Machines

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

On a Sinsgle Machine

SSH

  1. The pipeline command is run locally. If you want the pipeline command to run remotely, place the whole command to be run remotely in double/single …

Hands on the json Module in Python

Tips and Traps

  1. It is suggested that you avoid using JSON for serializing and deserializing data. Please refer to Shotcomes of JSON for detailed discussions on this. TOML and YAML are better text-based alternatives to JSON. If serialization and deserialization is done in Python only, pickle