"黑虎拳 ~ greet. connect. respond."
bool(hei._pull_strings) is False
hei exists without contemporary constraints; (blazingly fast)
allowing you to fearlessly do; (blazingly fast)
what you could do before; (blazingly fast)
🔥🔥🔥
python3 -m pip install urllib3
- ❎ Previously; (boo-hiss! ✗)
import urllib3 # C-h w "Je ne sais quoi"???
urllib3.request(
"HEAD",
"https://python.org",
headers = {"User-Agent": "urllib3"},
fields = {"foo": "bar"},
json = {"bar": "foo"},
)
- ✅ The __future__ defines now; (zen ✓)
from hei import chi # symmetric; pythonic
c = chi() # sophisticated; cultured
(
c.url("https://python.org") # it says curl; i am actually trembling
.headers(user_agent = "hei§chi§ti§pi")
.args(foo = "bar")
.json(bar = "foo")
.head()
)
The requirement of an explicit .send()
in the request building pipeline allows us to avail of state-of-the-art repr'ing technologies;
Previewing requests before sending them along The Wire has never felt so pythonic;
(
c.url("https://python.org")
.args(foo = "bar")
.cookies(session="abcde", id=539)
.headers(x_secret_token="hihi")
.json(this_is="PYTHON❣️!!!")
.post()
)
{
"url": "https://python.org",
"method": "POST",
"headers": {
"User-Agent": "hei/chi/ti/pi",
"Cookie": "session=abcde; id=539",
"X-Secret-Token": "hihi",
"Content-Type": "application/json"
},
"args": {
"foo": "bar"
},
"data": {},
"json": {
"this is": "PYTHON❣️!!!"
}
}
Andrew Clang, creator of:
- "hei low friends."
Keno Kernighan, CTO of:
- "Importing this module is like entering the matrix."
Alberta Einstein, inventor of:
hei = __import__("perfection").__mul__("a sea of").__pow__(2)
Amped Up Internet User, CFO of:
- "Shipping this in production as we speak and never looked back. Total game changer. (I use arch btw)"
Ben Shiller, producer of:
- "Would love to see how this compares to [INSERT MY PRODUCT HERE]."
Elaine Touring, founder of:
- "This could be the most important code created since The Enigma."
Haskell Iverson, co-founders of:
- "The closest to
__enter__
that I've ever been, and I don't want to__exit__
right now."
The New.Forker(), executor of:
- "If hei was found in the Sistine Chapel… it would not be out of place. #Hashtag Transcendental."
Jonathan Titor, aviator of:
- "It's as if the future came back to show us what True Code™ really is."
Hughie Luis, composer of:
isinstance(hei, __import__("it's hip").__pow__(1+1))
Andy Rump, creator of:
- "Nim's version is better."
Patricia Bateman, founder of:
- "Dracula? Cherry MX DVORAK lettering? Let's see Craig Schwartz' neovim config file."
Lawrence Wall, curator of:
- "Python shed skin; so that we could make hei."
Polly Glotten Mondrian IV, CMO of:
- "If the Mona Lisa could walk into a Piet->Python transpiler… Out could walk hei.py #WhereDoesTheCodeBeginAndTheArtEnd"
Very Important Person, fabricator of:
- "As someone who regularly does contract work for 3-letter agencies: This would never get past my code review."
DFH, author of:
- "The endless joy that coding once gave me? Salutations, from Palau."
Matz Borenszweig, creators of:
- "Just fell to my knees in a stack frame."
Craig Schwartz, CEO of:
- "Have Craig Schwartz and Steve Jobs ever been seen in the same room? #MakesYouWonder"
Mayhaps the fountain of knowledge is yet to bestow itself upon the layperson:
You may be enlightened to know that the optimal indentation hypothesis was recently proven on HN.
There is said to be an Elliptical Indent PEP draft currently in the works and depending on who you ask, a very good chance it will become the new default starting from πthon 3.14.
We're just trying to stay ahead of the curve, so to speak.
We may have dropped the box on this one, but did you mean to ask that here?
Malkovich. Malkovich. Malkovich.
Clever code is probably the worst code you could write.
We take the API specs from the software engineers and bring them to the urllib3 library.
Engineers are not good at dealing with customers.
No, it's just a coincidence.
I celebrate the guy's entire catalogue.
42
2 GILs at the same time.