HNHacker News
TopNewBestAskShowJobs

kenneth_reitz

2,214 karma · joined October 19, 2010

Python Overlord for @heroku. Creator of Python-Requests. Photographer. Archivist. Curator of The GitHub Reflog™. Knows where his towel is.

http://github.com/kennethreitz

submissionscomments
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
Thanks for the feedback, integrated w3lib!
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
<base> tag is now implemented as well. Thanks for bringing that to my attention — I wasn't aware of it!
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
I addressed most of your issues, like not using urlparse in the latest release.

With libraries like these, it's all about getting the API right first, them optimizing for perfection second. :)

kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
GPL dependency removed.

All of these improvements I'd like to be made to the software. It's all about getting a nice API in place first, then making it perfect second.

kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
I consider it a nice-to-have, but we can definitely remove it if deemed unnecessary. Want to open an issue about it?
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
updated :)
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
Looks like there's still some room for improvement though!
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
That bug has been fixed, but the docs hadn't been. Fixed now :)
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
It wasn't at first, actually. It was originally a wrapper around urllib2 — Andrey and I collabed early on in both project's histories to make them what they are today.
kenneth_reitz··on Requests-HTML: HTML Parsing for Humans
Very different use cases, imo. MechanicalSoup emulates a web browser experience. This is more for scraping.
kenneth_reitz··on Ask HN: Which programmer do you look up to?
Aaron Swartz
kenneth_reitz··on Show HN: Hatch – A modern project, package, and virtual env manager for Python
My thoughts exactly :)
kenneth_reitz··on Show HN: Hatch – A modern project, package, and virtual env manager for Python
See also: pipenv :)

http://docs.pipenv.org/en/latest/

Very different tools, but they cover the same surface area, in spots.

kenneth_reitz··on Increased acidity found in schizophrenia and bipolar patients’ brains
I'm bipolar!
kenneth_reitz··on Python Wrapper API to load cryptocurrencies prices from main exchanges
I wrote it by hand with tufte-css :)

I love Swagger.yaml, and considered it for this project, but it's small enough to do by hand...

For example, all the queries on the homepage are live results :)

kenneth_reitz··on Python Wrapper API to load cryptocurrencies prices from main exchanges
I made this this week: https://coinbin.org/

In a similar vein.

kenneth_reitz··on Coinbin.org: A Human–Friendly API Service for Crypto Currency Information
The data was stale, it turns out, for some coins — issue fixed now.
kenneth_reitz··on Coinbin.org: A Human–Friendly API Service for Crypto Currency Information
Yes.
kenneth_reitz··on Coinbin.org: A Human–Friendly API Service for Crypto Currency Information
I like this idea! Want to add a PR?
kenneth_reitz··on Announcing Pipenv
Operator Mono! https://www.kennethreitz.org/essays/test-driving-a-200-progr...
kenneth_reitz··on Announcing Pipenv
coming soon, hopefully via pull request!
kenneth_reitz··on Announcing Pipenv
Also `pipenv install -r requirements.txt` is supported, for importing.
kenneth_reitz··on Announcing Pipenv
Fish support was just added!
kenneth_reitz··on Announcing Pipenv
Check out https://github.com/pypa/pipfile for more info. The format is TOML. It is mainly intended for deployments (e.g. web applications)
kenneth_reitz··on Maya – Python Datetimes for Humans
Do I look unhappy at conferences or something?
kenneth_reitz··on Maya – Python Datetimes for Humans
that's why there's `maya.when('yesterday', timezone='US/Eastern')` :)
kenneth_reitz··on Maya – Python Datetimes for Humans
you'd be surprised, the amount of headache-inducing code that timezones can cause, especially when dealing with servers with different locales than your development machine when doing timezone algebra.

This API avoids that problem entirely.

kenneth_reitz··on Pipfile for Python
The problem is that it can be used in both a deterministic and non-deterministic way (no version-specifiers specified, not all sub-dependencies listed). People want the best of both worlds.

This facilitates that.

kenneth_reitz··on The Hitchhiker’s Guide to Python
Some speculate that it already has.
kenneth_reitz··on Making 1M requests with Python-aiohttp
Oh cool, I didn't know about this!
Page 1 of 11Next →