awesome-cli-frameworks VS httpx

Compare awesome-cli-frameworks vs httpx and see what are their differences.

awesome-cli-frameworks

Collection of tools to build beautiful command line interface in different languages (by shadawck)

httpx

A next generation HTTP client for Python. 🦋 (by encode)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
awesome-cli-frameworks httpx
4 53
522 12,274
- 1.2%
7.5 8.9
3 months ago 9 days ago
HTML Python
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" 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.

awesome-cli-frameworks

Posts with mentions or reviews of awesome-cli-frameworks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.
  • Harlequin: SQL IDE for Your Terminal
    11 projects | news.ycombinator.com | 5 Jan 2024
    I like this one for .NET https://github.com/spectreconsole/spectre.console which I found in this list https://github.com/shadawck/awesome-cli-frameworks.
  • Build Your Own CLI App in 5 Minutes (ClackJS + Node + NPM Tutorial)
    2 projects | dev.to | 5 Aug 2023
    Done! But before you start this project for yourself, take into consideration that Clack is really lacking in the documentation. Anything fairly complex, you won’t benefit from the pre-made components of clack/prompts. Here's a list of other CLI frameworks you can use instead.
  • Ask HN: Simple framework/way to create command-line apps?
    4 projects | news.ycombinator.com | 25 Mar 2022
    Oclif was one I used a while back but, last I tried it (a couple of months ago), there were either technical or documentation issues that made it a challenge to get started. It sounded like they were in the middle of fixes though so that might be worth a look. Combined with a solid HTTP package like axios, that would be a good leg up if you are proficient in JS.

    Good list of options here:

    https://github.com/shadawck/awesome-cli-frameworks

  • Don't make me think, or why I switched to Rails from JavaScript SPAs
    22 projects | news.ycombinator.com | 4 Feb 2022
    Thor looks great! I'd be surprised if something similar didn't exist for most languages, but with many of them living in obscurity because discovery is so hard without a well-established name for that class of tool. Some googling for "CLI framework" led me to oclif ("Thor for js"?) and to https://www.nexmo.com/legacy-blog/2020/06/12/comparing-cli-b... , but that can't be everything.

    PS: https://github.com/shadawck/awesome-cli-frameworks also lists some for go and rust, getting there! (though most probably not half as complete as Thor, self-documentation should definitely be a first-class citizen!)

httpx

Posts with mentions or reviews of httpx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-27.
  • A Retrospective on Requests
    2 projects | news.ycombinator.com | 27 Feb 2024
    For reference, it's a butterfly, not a moth.

    Source: https://github.com/encode/httpx/issues/834

  • Show HN: Twitter API Wrapper for Python – No API Keys Needed
    3 projects | news.ycombinator.com | 3 Feb 2024
    Very cool, first I'm hearing of httpx https://www.python-httpx.org/

    I think most people would start with trying out requests or something for this kind of work, I'm guessing that didn't work out? You've got a star from me.

  • Harlequin: SQL IDE for Your Terminal
    11 projects | news.ycombinator.com | 5 Jan 2024
    To access 10 different commands at the same time, that is tricky but definitely doable.

    First thing that comes to mind, you can use aliases.

    To keep it simple, lets use 3 examples instead of 10: harlequin (this project), pgcli (https://www.pgcli.com/) and httpx (https://www.python-httpx.org/)

    Setup a main home for all your venvs:

        cd ~
  • HTTP Rate Limit
    3 projects | dev.to | 4 Jan 2024
    There are already some implementations for Python HTTP clients. One of them is aiometer. But it's not suitable for my use case. Since httpx already has the internal pool, it would be better to reuse the design.
  • Introducing Flama for Robust Machine Learning APIs
    11 projects | dev.to | 18 Dec 2023
    Besides, flama also provides support for SQL databases via SQLAlchemy, an SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. Finally, flama also provides support for HTTP clients to perform requests via httpx, a next generation HTTP client for Python.
  • Embracing Modern Python for Web Development
    12 projects | dev.to | 8 Dec 2023
    We can use the async HTTP client provided by httpx, a fully featured HTTP client for Python with an API broadly compatible with requests, so it can be used in pretty much the same way in most cases.
  • Didn't want to click on refresh to see updates, this is what I did!
    2 projects | dev.to | 15 Nov 2023
    httpx in place of requests library
  • Python Requests 3
    1 project | news.ycombinator.com | 13 Nov 2023
    The main value of Requests is that it provided an abstract interface on top of HTTP, which was designed well-enough to become a standard. But today it has fallen way behind in its field, and there are much better alternatives such as HTTPX [0].

    [0] https://www.python-httpx.org/

  • Unlocking Performance: A Guide to Async Support in Django
    2 projects | dev.to | 25 Jun 2023
    HTTPX is a popular Python library that provides an asynchronous HTTP client, and it can be beneficial for enabling async support in Django. While Django itself does not require HTTPX for async support, using HTTPX in combination with Django's async views can bring several advantages:
  • Show HN: Python package for interfacing with ChatGPT with minimized complexity
    8 projects | news.ycombinator.com | 19 Jun 2023
    The underlying library for both sync and async is httpx (https://www.python-httpx.org/) which may be limited from the HTTP Client perspective but it may be possible to add rate limiting at a Session level.

What are some alternatives?

When comparing awesome-cli-frameworks and httpx you can also consider the following projects:

openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python

restish - Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

Niquests - Requests but with HTTP/3, HTTP/2, Multiplexed Connections, System CAs, Certificate Revocation, DNS over HTTPS / TLS / QUIC or UDP, Async, DNSSEC, and (much) pain removed!

awesome-resources - :sunglasses: List of helpful resources added by the community for the community!

requests-html - Pythonic HTML Parsing for Humansâ„¢

calendar - What's Upcoming in 2023? - A collection of awesome ruby conferences & camps from around the world - Add your ruby conference or camp!

requests - A simple, yet elegant, HTTP library.

awesome-django - The original Awesome Django project. Permission granted by the original author. Now under new management! :)

Flask - The Python micro framework for building web applications.

openapi-cli-generator - Generate a CLI from an OpenAPI 3 specification

starlette - The little ASGI framework that shines. 🌟