davep, to python
@davep@fosstodon.org avatar

Someone was asking on the Discord how you'd go about writing a simple live-preview Markdown editor and I’d never really thought about mashing the TextArea and Markdown widgets together and it makes a lot of sense and also makes for a working editor/preview in very few lines of code!

nobodyinperson, to python
@nobodyinperson@fosstodon.org avatar

I added a roadmap brainstorm to my :gitannex: Git Annex Control Center mockup. Here's a screencast (the emojis make it a bit wonky though):

https://asciinema.org/a/623450

What would you like to see in a TUI for Git Annex?

TUI development in Textual is very much less hassle than the 'real' GUI frameworks (, , etc.). What you see here is less than 400 lines of Python code (including all the text).

https://gitlab.com/nobodyinperson/git-annex-control-center/-/blob/main/git_annex_control_center/

willmcgugan, to python
@willmcgugan@mastodon.social avatar

Some funky interfaces create with a mixture of grid and keylines!

image/png
image/png
image/png

nobodyinperson, to random
@nobodyinperson@fosstodon.org avatar

It's incredible how quickly one gets up to speed in Textual. Very little code and the result already looks like a TUI. This is an early rough draft of what I want the :gitannex: Git Annex Control Center to look like:

https://asciinema.org/a/622847

Code is here: https://gitlab.com/nobodyinperson/git-annex-control-center

@textualize

willmcgugan, to random
@willmcgugan@mastodon.social avatar

The answer to Life, the Universe, and Everything is 0.42.0

See release notes for details...

https://github.com/Textualize/textual/releases/tag/v0.42.0

davep, to random
@davep@fosstodon.org avatar

Developing a non-trivial application with is, I believe, a good thing to do -- dogfooding it has happened a couple of times in the past and Tinboard is in part a personal project to do that some more. Last night I started sketching out the add/edit dialog, and ran into a couple or so issues that I’d hope we'll address:

  • Looks to be an issue with Input width vs other widgets.
  • TextArea doesn't wrap
  • TextArea can't be easily styled
  • TextArea retains cursor when not focused

image/png

nobodyinperson, to python
@nobodyinperson@fosstodon.org avatar

Just read through the Textual stopwatch tutorial again:

https://textual.textualize.io/tutorial/

It's very well written and fun to go through! Well done!

It still amazes me what you made with Textual: an approachable way of making beautiful UIs in the Terminal with pure Python.

@textualize @willmcgugan @davep

driscollis, to python
@driscollis@mastodon.social avatar

The newest issue of The Python Papers Newsletter is out! 🐍📰

Learn how to style a Text-Based User Interface (TUI) in and

https://www.pythonpapers.com/p/using-css-to-style-a-python-tui-with

davep, to python
@davep@fosstodon.org avatar

Still iterating over the UI and the underlying code and widgets for my current pet project. I think, think, I'm there now; more or less. It feels clean and tidy while also packing a fair bit in. So I can finally move on to the add/edit/delete side of things.

Also some full text searching is on the cards too.

But the weekend has plans with a lot less coding in them; so might be a wee while yet.

pamelafox, to random
@pamelafox@fosstodon.org avatar

Live streaming with Jay now, we're working on ! https://www.youtube.com/watch?v=L7bEZxazmo4

kjaymiller, to random
@kjaymiller@mastodon.social avatar

at 2pm ET (about 30 minutes now) I'm going to be hanging with @pamelafox to work on a project using
@willmcgugan's

https://www.youtube.com/watch?v=L7bEZxazmo4

davep, to python
@davep@fosstodon.org avatar

So it looks like @Migueldeicaza has made it necessary, NECESSARY, that I get a VisionPro for @textualize support purposes. 🤷🏻‍♀️

https://mastodon.social/@Migueldeicaza/111398962783946711

pamelafox, to random
@pamelafox@fosstodon.org avatar

I'm using to make a few CLI apps for understanding the results of running an evaluation pipeline on an open-source RAG chat example app.

So cool to have such a quick and easy way to make a functional interface!

Screenshot that shows a question with two different answers

nobodyinperson, to python
@nobodyinperson@fosstodon.org avatar

dreaming of a make/just/scons/etc. clone with a simple syntax and pretty rich/textual output with individual and total progress bars 😌

@textualize

pawamoy, to random
@pawamoy@fosstodon.org avatar

I'm reusing 's doc tools to take screenshots of my app and inject it as SVG into my docs:

Screenshot of the resulting HTML page.

pawamoy, to random
@pawamoy@fosstodon.org avatar

Update: it's now called , and it got improved! Faster loading, keybindings to refresh columns or run specific actions, user configuration (define your own board!)... workers and notifications are lovely 😍

video/mp4

willmcgugan, to python
@willmcgugan@mastodon.social avatar

I could not have planned this better. Releasing Textual 0.41.0 on Halloween, and we have 666 forks! 🎃👻🧛‍♂️

https://github.com/Textualize/textual/releases/tag/v0.41.0

davep, to python
@davep@fosstodon.org avatar

Another tinker project, riffing on evolving stuff with random mutation again, but this time point, insertion and deletion, to “evolve" words and test their "fitness” against /usr/share/dict/words

Another good test of textual-plotext and workers too.

video/mp4

acmeCSE, to python
davep, to python
@davep@fosstodon.org avatar

This week I’m revisiting textual-plotext, the library that wraps the Plotext terminal plotting library and makes it easy to use in a application. The aim of this round of development is to improve the colour and theme support.

To this end I've built a small tool to visualise all of the themes: https://www.youtube.com/watch?v=uVN1epVMsZE

pvergain, to python French
@pvergain@framapiaf.org avatar

plot -plotext

A Textual widget wrapper library for Plotext

pawamoy, to random
@pawamoy@fosstodon.org avatar

I made myself a development dashboard using . It scans all my local repositories to display -style columns of things to do (like committing code, pulling/pushing commits, releasing new versions, updating projects, etc.).

video/mp4

bouncing, to random
@bouncing@twit.social avatar

My first experiment with a project: https://github.com/kkinder/mehditor/

Simple text editor, a (maybe?) suitable replacement for nano, for people who prefer a more modern user interface but don't like vim or emacs.

I just threw it together over the weekend, but I think it's fun.

willmcgugan, to random
@willmcgugan@mastodon.social avatar

We've just released a library to integrate the Plotext project with Textual. ♥️

Add a variety of plots to your apps!

https://textual.textualize.io/blog/2023/10/04/announcing-textual-plotext/

steven, to Cyberdeck

What are everybody's favourite simple libraries.

I've been looking at and or maybe or ?

Basically, I want to design a sort of thing, but I want the interface to be more like a Gameboy or an old fashioned purpose-built device.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • everett
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • mdbf
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • cisconetworking
  • GTA5RPClips
  • tester
  • Leos
  • tacticalgear
  • osvaldo12
  • Durango
  • ngwrru68w68
  • megavids
  • provamag3
  • normalnudes
  • modclub
  • lostlight
  • All magazines