pyp
shyaml
pyp | shyaml | |
---|---|---|
5 | 2 | |
1,366 | 759 | |
- | 0.3% | |
6.3 | 0.0 | |
2 months ago | 5 months ago | |
Python | Python | |
MIT License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyp
-
Modern Linux Tools vs. Unix Classics: Which Would I Choose?
> I too can never remember jq syntax when I need to. I usually just end up writing a Python script
Same here! That's why for small things I made pyxargs [1] to use python in the shell. In another thread I also just learned of pyp [2] which I haven't tried yet but looks like it'd be even better for this use case.
[1] https://github.com/elesiuta/pyxargs
[2] https://github.com/hauntsaninja/pyp
-
Shshsh is a bridge connects Python and shell
I have bookmarked/tried so many Python/Shell mashups over the years.
IMHO the following is about the only one that's tasteful and not going off the deep end: https://github.com/hauntsaninja/pyp
-
Easily handle CLI operation via Python instead of regular Bash programs
I wrote a similar tool a while back that lets you create your own "magic" variables. I use `f` all the time! https://github.com/hauntsaninja/pyp#pyp-lets-you-configure-y...
-
A Tour of the Oil Language
Thank you for the extensive and thoughtful comment! This does help clarify your approach quite considerably. I wonder, since you are hoping to attract collaborators, whether there is some kind of formal spec for the language somewhere? For example, you mentioned parallel efforts: suppose I wanted to write a port to pure C; is there any way, short of reading every one of your posts and trying to contain the whole language in my head at once, for me to know exactly what I need to implement?
Something I've been trying to figure out: what is the exact relationship at present between OSH and Oil? When you say "OSH" do you mean the language, or the shell itself "oil shell"? If Oil is not something I can download, why exactly does that `const v = max(1, 2)` statement work in osh? It's clearly not just a Bash implementation, it's got other features. Is that a subset of Oil's features? Which subset?
Since you're also interested in other shells, you might have a look at pyp [1]. It captures a lot of the way I personally would like to use some future shell. If the features of pyp were integrated into the shell itself, you wouldn't need an external command, you could just (for example) pipe the output of one program into a python-like statement that mangles the incoming strings in some way, and pipe that out to some xargs-like program to use in a subshell. (The fact that you apparently can't use the pipe in what Xonsh calls "Python mode" is for me the central limiting feature of that shell.)
[1] https://github.com/hauntsaninja/pyp
-
9 Command-Line Tools to Go to Infinity & Beyond
9. Pyp
shyaml
What are some alternatives?
InquirerPy - :snake: Python port of Inquirer.js (A collection of common interactive command-line user interfaces)
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
DALLE-pytorch - Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch
deadlink - :skull: Checks and fixes URLs in code and documentation.
Pawky - The Python version of awk
please - 🙏 Please CLI - Minimalistic New Tab Page CLI Tool with a greeting, date and time, inspirational quotes and your personal tasks and to-do list
deep-daze - Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:
jrnl - Collect your thoughts and notes without leaving the command line.
theme.sh - A script which lets you set your $terminal theme.
pyxargs - Command line Python scripting with an xargs-like interface and AWK-like capabilities for data processing and task automation