You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I maintain the extra-platforms Python package, which helps me detect architectures, platforms, shells, terminals and CI systems, and group them by family. Something I need for my various multi-platform CLIs.
extra-platforms was born out of limitations of the distro package, that PyInfra also relies on. So there is a natural filiation.
Quickly looking at PyInfra code, there is no concept of family. So you have to do write things like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I discovered PyInfra thanks to @wowi42's talk at FOSDEM 2026.
I maintain the
extra-platformsPython package, which helps me detect architectures, platforms, shells, terminals and CI systems, and group them by family. Something I need for my various multi-platform CLIs.extra-platformswas born out of limitations of thedistropackage, that PyInfra also relies on. So there is a natural filiation.Quickly looking at PyInfra code, there is no concept of family. So you have to do write things like:
With extra-platforms, you can rely on family matching:
So I think
extra-platformscould be a good fit for PyInfra.And you can go deep because extra-platforms covers:
Beta Was this translation helpful? Give feedback.
All reactions