Keeping your Dotfiles in check with Python

Vipul Gupta (~vipulgupta2048)




Almost all developers spend countless hours on configuring, tweaking and micro-managing their dotfiles with an obsession to exactly have them like one wants them to be. I do too. And everyone has different tastes, which I find fascinating: sit down at a crafty programmer’s shell for a minute and you’ll find that out pretty quick.

Dotfiles are just configuration files like .vimrc and .gitconfig on your OS, that stores the settings you have for applications/environments/tools to make life easier while giving you more portability.

Well, do you have to use bash scripts for initial setups of your dotfiles? or do you want to setup your dotfiles but don't want to learn or be limited by Bash? Do you forget to update/maintain your dotfiles periodically? Do you struggle with the installation of applications later on? Well, Python could be the answer to all of your problems. With a tool, one can easily manage, maintain and do a lot more with their dotfiles.

  • My talk would start with a basic intro of what exactly are Dotfiles? and what is the common way of setting them up? This helps beginners who are new to the topic, get interested and a quick recap of why dotfiles are important for all developers.

  • Building up the momentum by visual queues and comparisons through slides, I would show how exactly Python does the same using Homely as Bash does. Later, work through the more intricate details by talking about the features one can implement using Homely and Python highlighting limitations of bash. Like Automation, Logging, git control, debugging, installation of applications and so much more.

  • Summing up by demonstrating a number of scripts that I will be preparing in-advance to showcase the same features that we just talked about. This helps people grasp the talk, the topic, and "the why we are doing, what we are doing " part.

  • Ending the talk, with a round of questions and showing the setup I use after months of searching through dotfiles repositories to leave them open to all the options they can choose from for setting up their dotfiles and pick the best setup from the knowledge they just gained.

Sub Category: Developer Tools


A laptop computer running any flavor of Linux, Windows or MacOS. It would help if python 3 is already installed. Coming without a laptop is also fine. The presentation would be comprehensive enough to understand. The topic is fairly simple if you understand it.

Content URLs:


Demo Talk

Speaker Info:

I am a student, code in Python and Bash, a Linux and FOSS enthusiast, likes DevOps, Design, Data Science and web comics. Currently, part of Google Summer of Code 2018 under Sugar Labs, mentoring the GirlScript Summer of Code project, WTF Python. I am an active volunteer for PyDelhi since 2016 and manage an open-source community in my college, ALiAS. I friviously collect C&H comic strips in free time. I believe everyone should have a hobby and that is mine. I have speak at Local User Meetup groups in Delhi NCR and this would be my first time speaking for PyCon India.

When I am free, I devote my time towards closing issues on GitHub and scooping through my Twitter feed. I like to share my thoughts and meet new people. Been writing for a year now, for many organizations such as OpenEBS and TheGeekyWay. Also, I have my own blog, Mixster. Check it out.

Speaker Links:

Professional Profile available @ LinkedIn, Contribute to FOSS projects @ GitHub, Blog @ Mixster

I go by vipulgupta2048 all over the web. Feel free to connect/talk with me.

Section: Others
Type: Talks
Target Audience: Beginner
Last Updated:

Great! Sounds like a much needed talk for the Indian developer community.
Can you help me out with -

  • how are you planning to integrate dotfiles with python? I mean it can be done with shell as well.
  • Can you propose the points where python will have an edge over shell?

Overall it is a nice idea. :)

Mohit Rathore (~markroxor)

Hi Mohit, I am really glad you liked the proposal.

About your queries:-

  1. I am planning to integrate dotfiles with Python using a tool that I mentioned in bullet point 2 called Homely. Yes, till now I have been setting up my dotfiles by using shell scripts only but my talk would be more focused how you can do the same with Python and do more with them.

  2. I would be summing up those points in my presentation. ( Still working on it ) Also, an elegant solution for Dotfiles that I would be proposing will be a mixture of Shell and Python. Both have their pros and cons.

I hope my answers resolved any doubts that you have, you can mail me any further questions that you have on vipulgupta2048[at]gmail[dot]com

Vipul Gupta (~vipulgupta2048)

Here goes my dotfiles (I didn't intend to keep them in order), they are not at all user-friendly but given you know how it all works I think you can dig some good configurations. Particularly my vim configurations.

enter image description here

Mohit Rathore (~markroxor)

Content Slides has been updated, check it out !!

Also, I will be presenting this talk at the PyDelhi Meetup on the 8th of July 2018, Here's the Proposal.

Vipul Gupta (~vipulgupta2048)

Did it get selected?

Mohit Rathore (~markroxor)

Hi, Mohit I haven't received any details regarding either the selection or rejection of the proposal. What we can do is wait patiently, and let things take their natural course.

Vipul Gupta (~vipulgupta2048)

Results for workshops are out. My didn't make it through. Want to see your in the event.

Mohit Rathore (~markroxor)

Login to add a new comment.