Python Version Management with ASDF

As a software engineer, managing multiple programming languages and their dependencies can be a complex task and involves significant overhead in managing them. Enter Asdf - It is a version manager that aims to simplify this process by providing a unified interface for managing multiple language runtimes, including Python. Python is a widely-used programming language, and developers often need to switch between different versions of Python for various projects. Using asdf, you can install and manage different versions of Python and its dependencies, making it easier to work on multiple projects with different Python version requirements....

March 18, 2023 · 3 min · Shreyash Agarwal

Scraping web tables with requests and pandas

Hey everyone, It’s been a long time since I posted something, I’ve been busy with work and other things. I’ve written a lot of scrapes recently and while trying to reduce the code I would have to write, I stumbled upon something. Have you heard about Pandas? It’s a fantastic library which not only is useful for maintaining data structures in it’s famous Dataframe, but also helped me cut out BeautifulSoup (another awesome library which I used to use for web parsing) completely!...

August 5, 2018 · 2 min · Shreyash Agarwal

Pointers for Pipenv

Pipenv is a great tool to use, read more about pipenv HERE. Pipenv generated a lock file that is useful in replicating an exact virutal environment, which can be useful in a lot of cases. The best way to install pipenv is to install it using pip but locally, so that all the pipenv environments are also in the .local/ folder inside the user directory. 1 pip install -U pipenv Pipenv works with pew (read more about pew HERE ) to create the virtual environments....

April 9, 2018 · 1 min · Shreyash Agarwal