Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
httpie
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)
This is part 1 of the multi-part series "The Evolution of a Script". The code of this post can be found on Github (see here).
It took me 8 month before I started to discover Github. What a phenomenal mistake of mine! Github has such a great community, people create so much admirable work, it's so interesting to discover/use or play with other peoples projects! It took me some time to understand Python's packaging (I really underestimated the packaging part!). So in the following I would like to take you with me on a journey of writing and releasing a tiny command line app. We will see how a simple script grows and goes through different stages of its development cycle. Some scripts of mine grow, some are just executed as plain script files. I collect these within a folder on my machine (see: Collection of Python Scripts).
Exploring the web through the command line is a fascinating experience. We will use the requests library to create a little HTTPie clone. HTTP clients are used to test how an API behaves when sending GET and POST requests to it.