Introducing pyrcodio

Introducing pyrcodio

- 1 min

Cover Image

Once upon a time there were some 13-year-old kids bored as hell surfing the internet. They found Germano Mosconi on YouTube and they started to curse God for fun. They never stopped doing it.

NB: Useful for Italian-speaking people. People speaking other languages might not understand the value of this tool.

Getting Started

I have always been fascinated by how Docker creates amazing container images name like “pedantic-ice”. After some years spent working with code and countless hours spent debating naming conventions for whatever, here is a solution: pyrcodio.

pyrcodio is a Python CLI utility that is able to generate names that might result unpleasant for people going to church, but fun for people who don’t.

If you are on macOS/Unix, all you need to do to try it out is:

pip install pyrcodio

pyrcodio

To use it while naming Git branches you can:

git checkout -b $(pyrcodio)

[1] Example Git branching

To use it while naming Docker containers you can:

docker run --name "$(pyrcodio)" -d your-image

If you are on Windows, well, pyrcodio…

Reference

You can find the project on GitHub

Nicola Di Santo

Nicola Di Santo

A Person who loves tech, bikes and fighting sports

rss facebook twitter github mail instagram linkedin