Skip to main content

Python package to manage your dotfiles

Project description

PyPI version CI Coverage Bugs

Mypydot

Mypydot is a tool created for managing your dotfiles using a Python application

Showcase

small screenshots of the application

Home selection
Installing Bye

Motivation

I just wanted the basic functionality to manage my own dotfiles. I decided to do it in Python because It seems more natural to me rather than do It using shell scripting.

Install

pip install mypydot

Instructions

Create new dotfiles

Using it for the first time : mypydot . This command will create a new folder called .mypydotfiles in your $HOME directory. In this folder you will find the following folder structure :

Folder
language In case you want to save some dotfiles related with your favourite programming languages
os Operating system dotfiles
shell Small setup of aliases and exports that can be accessed from everywhere
config Docker, Git, Editors, etc. You can also find here a few almost empty scripts for storing your aliases, exports and functions.
conf.yml This file contains every file that you want to track in your dotfiles repository, feel free to add & remove symlinks !

Once you run this process you will notice that you have a few new lines your .bashrc and in your .zshrc

export MYPYDOTFILES=/Users/username/.mypydotfiles
source $MYPYDOTFILES/shell/main.sh

This lines will be used to source yours aliases, exports and functions to be available in your terminal. Besides that, nothing else is edited.

Resync dotfiles

Select your existing conf file and the modules you want to resync / install

References

https://github.com/mathiasbynens/dotfiles

https://github.com/CodelyTV/dotly

https://github.com/denisidoro/dotfiles

https://github.com/webpro/awesome-dotfiles

Thank you!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypydot-2023.0.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file mypydot-2023.0.1.tar.gz.

File metadata

  • Download URL: mypydot-2023.0.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1030-azure

File hashes

Hashes for mypydot-2023.0.1.tar.gz
Algorithm Hash digest
SHA256 78289a4b59f29b4370c1fd1b2aa7dea6d60d0c71e1bfa092fb4a61bcb7ff8a13
MD5 cf7a27b101c0eda8d6ce3f11fc8a1d48
BLAKE2b-256 abd9449089818d92c10a92cd30e219d3e704bccad2ee856ebbb4a5aeb639ed29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page