Suresh Kumar
sureshdsk.dev

sureshdsk.dev

Follow
homePythonPython DecoratorsPostgres TipsToday I Learned (TIL)badgesnewsletter
Series

Today I Learned (TIL)


Articles in this series

how to implement catch all route in fast api?

Oct 11, 20211 min read

Sometimes you would require to implement a catch all requests in your fastapi application. We can achieve it by using api_route method. Catch all...

how to implement catch all route in fast api?

Check diff between two files in Python

Oct 14, 20211 min read

In Today I Learned(TIL) series, I'm going to explore python standard module called difflib. What is difflib difflib is a built-in standard python...

Check diff between two files in Python

Minify docker image size upto 30x with docker-slim

Oct 21, 20212 min read

Today I found a amazing tool to optimise and minifies docker image and reduces the docker image size. docker-slim docker-slim doesn't change anything...

Minify docker image size upto 30x with docker-slim

How to get pretty python interpreter automagically?

Oct 21, 20211 min read

Install rich ➜ pip install rich ➜ mkdir ~/pystartup ➜ touch ~/pystartup/startup.py Create startup script ➜ ~ echo "import rich.pretty;...

How to get pretty python interpreter automagically?