shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

297
active users

#textual

0 posts0 participants0 posts today

I'm in love with uv. Seriously, the tool is small yet packs a punch with features.

I'm writing an article for Fedora Magazine about the cool things you can do with uv, here is the source code (with the article in markdown) for your enjoyment:

github.com/josevnz/tutorials/t

Tutorials. Contribute to josevnz/tutorials development by creating an account on GitHub.
GitHubtutorials/docs/Enhancing_Your_Python_Workflow_with_UV_on_Fedora at main · josevnz/tutorialsTutorials. Contribute to josevnz/tutorials development by creating an account on GitHub.
#uv#python#textual

I've written a blog post to introduce #Braindrop -- my #Raindrop client for the #Terminal.

blog.davep.org/2025/01/03/brai

blog.davep.org · BraindropA touch over a year ago I did the initial work on an application called Tinboard, a terminal-based client for the Pinboard bookmarking service. I had a lot of fun building it and it was an application that I used on a near-daily basis. However, around August last year I realised it was time for me to move on from Pinboard and try something new; based on various recommendations I settled on Raindrop. As mentioned in the other blog post, Raindrop offered more or less everything I had with Pinboard and so the move was fairly straightforward. The one thing that was missing though was an application similar to Tinboard. So, late on last year, with my winter break approaching, I decided to start from scratch and build a "Tinboard for Raindrop", which I'm calling Braindrop. This was going to be a bit of an adventure too. Since being laid off from Textualize earlier in 2024 I'd not been following its development quite as closely as I used to, and had also run into some issues and bugs with it since that time; moreover, as well as various bugs appearing, some breaking changes had also been made. As such this was going to be a process where I'd wrap my head around what's happened with the framework over the prior six months or so. Given all this, over the past couple of weeks I've been spending a few hours a day doing some for-pleasure coding and v0.1.0 of Braindrop is the result. As much as possible I've tried to keep the look and feel similar to that of Tinboard, while also doing my best to avoid some of the "ah, I wish I hadn't done it this way" design decisions I'd made. As of the time of writing I'm very pleased with the result. One thing I did want to do is ensure that the application was as keyboard-friendly as possible, while also still allowing use of the mouse. Textual can sometimes get that wrong and I ran into an example of this while trying to ensure that there's good in-application help. Somewhat recently Textual added a built-in help system which, sadly, can't easily be used by and navigated by someone using the keyboard. So instead I've recreated the help system I built into Tinboard, while adopting the documentation standard that Textual had settled on (which, coincidentally, was kind of similar to what I did in Tinboard to start with). As with Tinboard, I've also made sure to make full use of the command palette, with every action that makes sense having a keyboard hotkey as well as a command in the palette. I also took things a little further and made sure that the hotkeys are shown in the command palette for easier discovery. I've also made sure that Textual's new theme system is available for easy use; so out does dark/light mode toggling and in comes a collection of different themes. Here's a wee selection as an example: That's a small selection of the themes, with more to explore. There's a few more things I want to do before I consider the application v1.0-ready, but it's already in use by me and working well. As I decide what else I want to add to it I'm building up a list of TODO items. Given that my day job these days is quite varied, isn't quite so coding-intensive, and isn't always related to all things Python, it's actually been fun to sit down and hack up a pure Python application from scratch again. It's also helped me discover a couple or so fresh bugs in Textual (which I've reported, of course) and given me the opportunity to PR some trivial fixes as I've noticed typos and stuff as I go. Anyway; that's v0.1.0 out in the wild. I'm pleased with how it's turned out and there's more to come. It's licensed GPL-3.0 and available via GitHub and also via PyPi. If you have an environment that has pipx installed you should be able to get up and going with: $ pipx install braindrop It can also be installed with Homebrew by tapping davep/homebrew and then installing braindrop: $ brew tap davep/homebrew $ brew install braindrop I hope this is useful to someone else. :-)

Playing around with a django debug toolbar API. Got it working enough to throw together this very rough Textual based Python terminal app.

Drilling into one of those rows shows a JSON tree, similar to a browser, so lots to do if I decide to flesh this out further. But using Texual was a fun way to flex the API.

Any interest in a DjDT terminal app?

Replied in thread

@popey saying rummage isn't necessarily common in the US but it's well understood I think.
I've been following #Textual for a while from when @davep was working there, it's a great toolkit. I really should adapt my charm/gum based shell scripts to Textual and Python.
Great episode as always!

Replied in thread

@glyph @mcc I have been developing in Python over 20 years but have always been leery of UI work due to the complexity of Tkinter and GTK APIs. Last year I surveyed the options for RAD GUI tools and landed on #PySimpleGUI. Over a few months I was able to iteratively develop and enhance a SQL query tool of modest complexity and found joy in accomplishing the task. No longer intimidated I am now exploring other options such as #Streamlit and #Textual