-
I first learned about PDM from a blog post written by one of the PDM contributers. The post was about OOPifying argparse to allow for easy creation/modification of subcommands that exist as their own classes/files, and to avoid maintaining a single long script with an endless number of subparser.add_argument(...) lines.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Another less heavyweight solution than Docker is Tox – handy for when you need to test software with multiple different versions of Python.
-
add some dependencies from https://crates.io/ by running cargo add name_of_thing anywhere inside the project folder (for example serde, num and `rand)
-
Fair enough! Thanks for the suggestion, then. In fact, the non-Python language I develop most in (Haskell, with the Stack package manager) has exactly that behaviour as a default: new packages are installed to a sandboxed local directory, and it takes an explicit request to install something globally. (And even then, you can switch between different global "known good configurations" of package versions which work well together – a pretty handy feature.)
-
I think they were being sarcastic – there is a lot of needless ceremony there, compared to a tool like cargo or stack where you just tell it "Go! and build the thing", and it does (in a nice isolated, local sandbox, with dependencies pulled from the web and cached automatically for you).
-
A good example of how much this pep languished is poetry which has 24k stars and has become a bit of a sweetheart for a lot of new projects dropped its 0.1.0 initial release in Feb 2018