Command-line applications have a hard time with OAuth, because it requires a browser. The auth flow has so many steps, it was much easier to just give up and use Basic Auth with a password.
Taking a hint from a Google's library, I made cli-oauth2: a Python library that makes authenticating a one-line task.
https://github.com/Zverik/cli-oauth2
Fun fact: the idea came when I was rewriting Level0 for command-line. Didn't get it to work (yet haha), but there's one less problem to solve.
This one came up yesterday, while preparing for @organicmaps GSoC student work.
When developing an editor, you need to work with OSM Sandbox, a dev copy of API with no data. Sometimes it's frustrating because complex data is where an editor breaks. Usually I downloaded an OSM extract in JOSM, fixed ids, and uploaded it to the Sandbox, but on the 100th time I gave up.
https://github.com/Zverik/osm_to_sandbox
This script helps you transfer a bbox worth of data in two commands, one of which is pip install.
This one came up yesterday, while preparing for @organicmaps GSoC student work.
When developing an editor, you need to work with OSM Sandbox, a dev copy of API with no data. Sometimes it's frustrating because complex data is where an editor breaks. Usually I downloaded an OSM extract in JOSM, fixed ids, and uploaded it to the Sandbox, but on the 100th time I gave up.