HackerTrans
TopNewTrendsCommentsPastAskShowJobs

deepakjois

no profile record

Submissions

Running a static website in AWS for $0.55

cottongeeks.com
7 points·by deepakjois·anno scorso·3 comments

Fun with uv and PEP 723

cottongeeks.com
640 points·by deepakjois·anno scorso·227 comments

Podscript – a CLI tool to transcribe podcasts

github.com
2 points·by deepakjois·anno scorso·0 comments

Podscript – CLI app to transcribe podcasts using ChatGPT and Deepgram

github.com
2 points·by deepakjois·2 anni fa·0 comments

comments

deepakjois
·anno scorso·discuss
(author of post here)

I still use both Go and Python. But Python gives me access to a lot more libraries that do useful stuff. For example the YouTube transcript example I wrote about in the article was only possible in Python because afaik Go doesn't have a decent library for transcript extraction.
deepakjois
·anno scorso·discuss
C# too: https://devblogs.microsoft.com/dotnet/announcing-dotnet-run-...
deepakjois
·anno scorso·discuss
uvx is useful to run scripts inside PyPi packages. It does not support running Python scripts directly

You can use uvx run scripts with a combination of the --with flag to specify the dependencies and invoking python directly. For e.g

uvx --with youtube-transcript-api python transcript.py

But you wont get the benefit of PEP 723 metadata.