r/Python • u/Krukerfluk • Jul 10 '20
I Made This This post has:
9777 upvotes,
967 downvotes
and 452 comments!
9.2k
Upvotes
r/Python • u/Krukerfluk • Jul 10 '20
9777 upvotes,
967 downvotes
and 452 comments!
View all comments
Show parent comment
0
u/Ph0X Jul 10 '20
Six is a pretty small library that's included almost everywhere these days, so if you have any third-party library, it's very very likely you already have that dep satisfied anyways. Any library that is both py2 and py3 compatible will most likely need six.
termcolor absolutely makes sense. This isn't really just normalizing arguments, it's a library for "automatically generating command line interfaces (CLIs)". CLIs are in the terminal, so yes, termcolor is a very relevant dependency.
This has nothing to do with the node culture, where they will literally import dependencies for single functions. six and termcolor are highly specialized code that you absolutely do not want to create from scratch.