onelinerizer
Shamelessly convert any Python 2 script into a terrible single line of code (by csvoss)
dotfiles
Dotfiles (by jeetelongname)
onelinerizer | dotfiles | |
---|---|---|
19 | 2 | |
1,514 | 14 | |
- | - | |
0.0 | 4.9 | |
over 2 years ago | 8 months ago | |
Python | Emacs Lisp | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
onelinerizer
Posts with mentions or reviews of onelinerizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-22.
-
Flatliner: turn python programs into one line of (still python) code
Very cool. Also, Chelsea Voss did this in 2016 with Python 2 (https://github.com/csvoss/onelinerizer) and did a great talk about it at PyCon (https://www.youtube.com/watch?v=DsUxuz_Rt8g) . She also has try/except working, maybe something similar to her solution would also work in Python 3.
-
I think someone broke the matrix!
Ahhh, allow me to introduce you to Oneliner-izer. Devs smarter than me laugh at your thinking loops cannot be implemented in a single line without semicolons
-
C'mon Python, surely you can figure out what I meant
lambda would like a word
-
The next level of if even
It’s still possible to have it be a single line in Python!! http://www.onelinerizer.com
-
I compressed a pong game into 14 lines of code! See if you can improve it!
Outdated but if you downgrade to python 2 or figure something out from the examples: http://www.onelinerizer.com/
-
Python f-strings Are More Powerful Than You Might Think
Entire python programs can be converted to a single one-line expression.
-
What is your favourite Rust specific feature that you miss in other languages?
And then there's also oneline.py, the mother of Python onelineization.
-
The JSF*ck Keyboard, an entirely original idea.
For a similarly awful idea in python, observe the onelinerizer
-
Is there any code in python that provably needs more than one line to run?
No, in fact Chelsea Voss made http://www.onelinerizer.com/ which can convert any Python (2) program into one line (without using eval, compile, exec or semicolons). The approaches used are talked about in this PyCon 2016 talk: https://www.youtube.com/watch?v=DsUxuz_Rt8g
-
Pro tip for debugging!
You're welcome.
dotfiles
Posts with mentions or reviews of dotfiles.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-26.
-
Just discovered emacs as a long term vim user and it's incredible
as an emacser, lua is not a big language, you can learn the basics in an afternoon and for configuring nvim with little experience with lua I managed to write just under three hundred lines of lua, its a great language even if I don't want to use it for much more than nvim
-
That's a great suggestion.
There is this script in my dotfiles. https://github.com/jeetelongname/dotfiles/blob/master/scripts/.local/bin/http that I wrote and then promptly forgot about (due to adopting an actual http server) one thing to add is that you can empty a shell command outputs into to variables by putting them in backticks
What are some alternatives?
When comparing onelinerizer and dotfiles you can also consider the following projects:
Power-Fx - Power Fx low-code programming language
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
python-functions
movfuscator - The single instruction C compiler
mdp - A command-line based markdown presentation tool.
brainfuck - compiler for x86 in 100 bytes
JavaWord - Microsoft Word as a Java "IDE"
fetlang - Fetish-themed programming language
MSPaintIDE - Programming in MS Paint
JSFuck-Keyboard - A really really bad onscreen keyboard made for r/badUIbattles
onelinerizer vs Power-Fx
dotfiles vs Power-Fx
onelinerizer vs Transcrypt
dotfiles vs python-functions
onelinerizer vs movfuscator
dotfiles vs Transcrypt
onelinerizer vs mdp
dotfiles vs brainfuck
onelinerizer vs JavaWord
onelinerizer vs fetlang
onelinerizer vs MSPaintIDE
onelinerizer vs JSFuck-Keyboard