@@ -215,11 +215,11 @@ configuration example above.
215
215
216
216
### [ Pyped] ( https://github.com/ksamuel/Pyped )
217
217
218
- I discovered Pyped while making this project! It's actually very similar, probably similar enough
219
- that I wouldn't have written this had I known. However, Pyped doesn't do the AST introspection
220
- and manipulation that we do. This means:
221
- - It's less magical! It relies on you to pass in flags to tell it what to do, when intention can
222
- be inferred from the input.
218
+ Pyped is very similar; enough so that I probably wouldn't have written pyp had I known
219
+ about it. But I'm glad I didn't, since Pyped doesn't do the AST introspection and manipulation
220
+ that we do. This means:
221
+ - Pyped relies on you to pass in flags to tell it what to do, when pyp can unambiguously infer
222
+ intention from the input.
223
223
- It doesn't provide easy automatic printing, or smart printing of iterables and dicts.
224
224
- It hardcodes a list of imports and installs some libraries on your system. This project's
225
225
automatic import will work for any library you use.
@@ -240,11 +240,13 @@ print single expressions or not handling iterables and dicts well.
240
240
- Some of them have custom syntax for in-process command chaining, which can be convenient.
241
241
- Some of them have specialised support for things like JSON input or running shell commands.
242
242
- Some of them expose the input in interesting ways with custom line / file / stream objects.
243
- - Some of them have more advanced options for error handling.
243
+ - Some of them have more advanced options for error handling (although none of them have pyp's
244
+ great tracebacks).
244
245
- None of them have powerful configuration like pyp.
245
246
- None of them have anything like ` --explain ` .
246
247
247
- For whatever it's worth, I've listed these projects in approximate order of my personal preference.
248
+ For whatever it's worth, I've listed the projects above in approximate order of my
249
+ personal preference.
248
250
249
251
### [ mario] ( https://github.com/python-mario/mario )
250
252
@@ -259,8 +261,7 @@ Consider using `mario` if:
259
261
command chain within a single process out of the box.
260
262
- You find yourself often needing to reuse complex pyp commands or doing a lot of domain specific
261
263
shell processing that you wish you could reuse with a single command.
262
- - You want more builtin support for things like processing CSV or TOML.
263
- - You want to easily be able to use async functions to process your input concurrently.
264
+ - You want to easily be able to use async functions.
264
265
265
266
Consider pyp if:
266
267
- You want to minimise keystrokes for things that should be quick and easy.
0 commit comments