Hi there 馃憢

I am a sofware engineer currenly located in Bangalore, India. Welcome to my blog and feel free to reach out to me at any of the below links!

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

A simple Docker walkthrough

According to the official docker page - A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings. Docker helps programmers to deliver their software in a reliable and consistent manner....

May 24, 2019 路 4 min 路 Shreyash Agarwal

Scraping web tables with requests and pandas

Hey everyone, It鈥檚 been a long time since I posted something, I鈥檝e been busy with work and other things. I鈥檝e 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鈥檚 a fantastic library which not only is useful for maintaining data structures in it鈥檚 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

Implementing High Scores in Android

To implement high scores in an Android game, there are a few options- To use LocalStorage. To use a DB locally. To use a cloud based DB service, such as FireCloud. In this post I will be describing about how I have implemented highscores for my application QuizApp using LocalStorage. I will be talking about the other two in a later post. SharedPreferences is used to setup an acess to key-value pairs that can be stored locally on the device....

August 13, 2017 路 2 min 路 Shreyash Agarwal