fastapi_client icon indicating copy to clipboard operation
fastapi_client copied to clipboard

Full Python: no Bash, no Docker

Open pawamoy opened this issue 4 years ago • 1 comments

Would you consider refactoring this project as a Python CLI tool?

Currently I cannot even try it, because I need to clone the repository to be able to run the Bash scripts, and my corporate proxy is sensitive (if often rejects git clones), and the scripts try to pull a Docker image from community repositories which are blocked by my corporate proxy.

Looking at the Dockerfile, it seems that it would be fairly simple to configure the project as a Python package with these dependencies; black autoflake isort httpx fastapi typing_extensions. Then the Bash scripts would be rewritten in Python (could be more complicated, I just glanced at them). Users could then install the project with pipx, and run it like fastapi-client OPTS.... This is the approach openapi-python-client is taking for example :slightly_smiling_face:

pawamoy avatar Aug 07 '20 15:08 pawamoy

Very much open to it if someone wants to put in the effort!

dmontagu avatar Feb 11 '21 19:02 dmontagu

I don't think this project is active anymore, so I'll close this. Feel free to reopen :slightly_smiling_face:

pawamoy avatar Sep 25 '23 22:09 pawamoy