Posts tagged with 'python' - 3

I have a post on starship where I have some notes on how I use starship to make my zsh experience great with a sweet terminal prompt. Now... I spend quite a bit of time in ipython every day and I got kind of sick of the vanilla experience and wanted ... read more →

I am working on a project to create a small system monitoring dashboard using the python psutil library. The repo is here (if you want actual system monitoring please use netdata). I'm using streamlit and plotly for the webserver, design, and plotti ... read more →

Streamlit I use streamlit for any EDA I ever have to do at work. It's super easy to spin up a small dashboard to filter and view dataframes in, live, without the fallbacks of Jupyter notebooks (kernels dying, memory bloat, a billion "Untitled N ... read more →

Self-hosting 1 or several media servers is another common homelab use-case. Getting content for your media servers is up to you, but I'll show a few ways here to get content somewhat easily! YouTube Disclaimer at Bottom you-get you-get is a nice cli ... read more →

EDA I work with data a lot, but the nature of my job isn't to dive super deep into a small amount of datasets, I'm often jumping between several projects every day and need to just get a super quick glance at some tables to get a high level view. Wh ... read more →

I like to keep my workspace clean and one thing that I don't personally love looking at is the __pycache__ directory that pops up after running some code. The *.pyc files that show up there are python bytecode and they are cached to make subsequent ... read more →

Mike Driscoll has been posting some awesome posts about psutil lately. I'm interested in making my own system monitoring dashboard now using this library. I don't expect it to compete with Netdata or Glances but it'll just be for fun to see how Pyth ... read more →

Mu

If you work with a template for several projects then you might sometimes need to do the same action across all repos. A good example of this is updating a package in requirements.txt in every project, or refactoring a common module. If you have sev ... read more →

ABCMeta I don't do a lot of OOP currently, but I have been on a few heavy OOP projects and this ABCMeta and abstractmethod from abc would've been super nice to know about! If you are creating a library with classes that you expect your users to exte ... read more →

Being lazy I almost exclusively use Python for my job and have been eye-balls deep in it for almost 5 years but I really lack in-depth knowledge of builtins. I recently learned of an awesome builtin called calendar that has way more than I know abo ... read more →