Skip to content

Commit 0ea9713

Browse files
committed
README.md: further edits
1 parent ab80ed9 commit 0ea9713

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ configuration example above.
215215

216216
### [Pyped](https://github.com/ksamuel/Pyped)
217217

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.
223223
- It doesn't provide easy automatic printing, or smart printing of iterables and dicts.
224224
- It hardcodes a list of imports and installs some libraries on your system. This project's
225225
automatic import will work for any library you use.
@@ -240,11 +240,13 @@ print single expressions or not handling iterables and dicts well.
240240
- Some of them have custom syntax for in-process command chaining, which can be convenient.
241241
- Some of them have specialised support for things like JSON input or running shell commands.
242242
- 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).
244245
- None of them have powerful configuration like pyp.
245246
- None of them have anything like `--explain`.
246247

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.
248250

249251
### [mario](https://github.com/python-mario/mario)
250252

@@ -259,8 +261,7 @@ Consider using `mario` if:
259261
command chain within a single process out of the box.
260262
- You find yourself often needing to reuse complex pyp commands or doing a lot of domain specific
261263
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.
264265

265266
Consider pyp if:
266267
- You want to minimise keystrokes for things that should be quick and easy.

0 commit comments

Comments
 (0)