I've been trying to adopt pyenv for a few months, but have been completely blocked by this issue on one of the main m...
Posts tagged: python
All posts with the tag "python"
Using Different versions of python with pipx | pyenv
I love using pipx for automatic virtual environment management of my globally installed python cli applications, but sometimes the application is not compatible with your globally installed pipx
This one took me a minute to figure out at first, please let me know if there is a better way. I am pretty certain that this is not the ideal way, but it works.
My first technique was to make a package that printed out sys.version.
...
LIVE-REPLAY - Python dev | Markata todoui | 4/6/2022
Super fun steam Broadcasted live on Twitch – Watch live at https://www.twitch.tv/waylonwalker
We worked on markata todoui, a command tui trello board written in python using only markdown files to store the data. I love markdown and I want to make this my workflow.
...
I really like the super clean look of no status menus, no url bar, no bookmarks bar, nothing. Don't get me wrong thes...
When you first start qutebrowser It will create some config files in your home directory for you, but they will be em...
I am getting ready to do some timeseries analysis on a git repo with python, my first step is to figure out a way to ...
is a python api for your git repos, it can be quite handy when you need to work with git from python.
How I Quickly Capture Screenshots directly into My Blog
When I am creating blog posts it’s often helpful to add screenshots to them to illustrate what I see on my screen. Sometimes I lack good screenshots in my posts because it just takes more effort than I have in the moment, and I prioritize making content over making perfect content.
When I have something to take a screenshot of, I need to take the shot, optimize the image, often convert it to a better format, publish it, and create a the img tag in my blog.
I created this tool for myself in python because that is what I am most familiar with, but realistically most of what I am calling are shell scripts that I could do in just about any language.
...
Copier < 6.0.0b0 considered dangerous
Copier is a fantastic templating library written in python, but older versions have a dangerous bug if you are using it inside of existing directories.
As of May 15, 2022, the stable release of copier now includes these changes, if you have not already make sure you update.
I Use copier several times per day and get fantastic benefit from this project, this post is not intended to crap all over copier in any way, but is rather a PSA for other users who do use copier like I do so that they know the dangers of using copier inside an existing directory.
...
Python, click install
PyOhio CFP's
Here are some CFP’s that I used for PyOhio 2022.
https://pretalx.com/pyohio-2022/cfp
Markata is a plugins all the way down static site generator, that covers all the things you need to go from markdown to a blog site out of the box. Since it’s plugins all the way down you can also rip out all the default plugins, and do something completely different with the lifecycle.
...
Sometimes you just want python to do something else when you hit an exception, maybe that's fire a text, slack messag...
pygame events are stored in a queue, by default the most suggested way shown in all tutorials "" the queue, which rem...
One of the most essential concepts of pygame to start making a game you will need to understand is loading images and...
Dunk is a beautiful git diff tool built on top of rich.
I'm poking a bit into gamedev. Partly to better understand, partly because it's stretching different parts of my brai...
My personal Site build went down last week, and I was unable to publish a new article. This is the process I went thr...
I ran into a PR this week where the author was inheriting what BaseException rather than exception. I made this examp...
When I need a consistent key for a pythohn object I often reach for It works for me and the use cases I have.
When I need to cache some data between runs or share a cache accross multiple processes my go to library in python is...