Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does the label "ruamel" come from in regards to ruamel.* pypi packages?

Where does the label "ruamel" come from in regards to ruamel.* pypi packages?

All of my google searches are returning documentation for ruamel.yaml, but there are other packages like ruamel.ordereddict, ruamel.base, and so forth. I understand that ruamel is technically just a package namespace, but I was curious if this is a namespace that builds up to some cohesive set of tools and/or product, or is it merely a namespace/brand for anthon's (the author's) code?

like image 358
Vincent Agriesti Avatar asked Sep 02 '25 08:09

Vincent Agriesti


1 Answers

The name Ruamel, is the name of a company¹. It doesn't really have a meaning, but there is a street 'Rua mel' (honey-road?) somewhere in Portugal.

As the Zen of Python indicates: "Namespaces are one honking great idea -- let's do more of those!". Namespaces were necessary to prevent clashes between company internal packages (there are over 150 of those) and packages on PyPi. Most ruamel. packages that are in the public domain were originally company internal packages. enter image description here

The namespace allows e.g. to have a package that wraps the standard library pathlib with some extra functionality (and backwards compatibility for Python 2) and have it name ruamel.std.pathlib

Note that user anthon is the maintainer of ruamel.yaml: enter image description here


¹ That name was chosen based on the combined and mixed initials of the two children of Ruamel's founder.

like image 196
Anthon Avatar answered Sep 04 '25 21:09

Anthon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!