home.social

#pythonrich — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pythonrich, aggregated by home.social.

  1. Getting PyPI uploads to work with trusted publishers from a GitLab pipeline took several attempts. Maybe I’ll write something about it on my way to #EuroPython2024.

    The “build” step also prints some nice output, inspired by @hynek’s build-and-check GitHub action. But with #nox and #pythonRich by @willmcgugan there are so much more possiblities (e.g. colored package trees and a rendered Markdown README) 🤩

    gitlab.com/sscherfke/typed-set

  2. Missing: a :python: package to make flowcharts with , i.e. to draw arrows between (auto-arranged) renderables.

    github.com/Textualize/rich

  3. At this point, behaves similar to , but much more flexible:

    - track simultaneous, overlapping events
    - have arbitarily many open-ended events
    - modify events individually
    - take notes for points in time
    - mark events with todos to follow-up later (e.g. after meetings)
    - export to for further analysis
    - pretty output with @willmcgugan's library
    - dry-run and confirmation mode so you don't mess anything up
    - conflict-free syncing with
    ...

  4. Finishing the day with the most basic feature a time tracker can possibly have: recording a period of time. ⏱️

    This is , the :gitannex: based time tracker I'm making in the hope that it'll suit me better than or plain .

    I love adding configurably crazy amounts of debug output (-vvvvvvvv 😉) to my programs and @textualize's rich makes this a bliss!

    gitlab.com/nobodyinperson/anne

  5. Finishing the day with the most basic feature a time tracker can possibly have: recording a period of time. ⏱️

    This is #annextimelog, the :gitannex: #gitAnnex based time tracker I'm making in the hope that it'll suit me better than #timewarrior or plain #hledger #timeclock.

    I love adding configurably crazy amounts of debug output (-vvvvvvvv 😉) to my programs and @textualize's rich makes this a bliss!

    gitlab.com/nobodyinperson/anne

    #Python #pythonRich

  6. Finishing the day with the most basic feature a time tracker can possibly have: recording a period of time. ⏱️

    This is #annextimelog, the :gitannex: #gitAnnex based time tracker I'm making in the hope that it'll suit me better than #timewarrior or plain #hledger #timeclock.

    I love adding configurably crazy amounts of debug output (-vvvvvvvv 😉) to my programs and @textualize's rich makes this a bliss!

    gitlab.com/nobodyinperson/anne

    #Python #pythonRich

  7. Finishing the day with the most basic feature a time tracker can possibly have: recording a period of time. ⏱️

    This is #annextimelog, the :gitannex: #gitAnnex based time tracker I'm making in the hope that it'll suit me better than #timewarrior or plain #hledger #timeclock.

    I love adding configurably crazy amounts of debug output (-vvvvvvvv 😉) to my programs and @textualize's rich makes this a bliss!

    gitlab.com/nobodyinperson/anne

    #Python #pythonRich

  8. Finishing the day with the most basic feature a time tracker can possibly have: recording a period of time. ⏱️

    This is #annextimelog, the :gitannex: #gitAnnex based time tracker I'm making in the hope that it'll suit me better than #timewarrior or plain #hledger #timeclock.

    I love adding configurably crazy amounts of debug output (-vvvvvvvv 😉) to my programs and @textualize's rich makes this a bliss!

    gitlab.com/nobodyinperson/anne

    #Python #pythonRich

  9. latex-flatten now shows a nice diff view what it does in your LaTeX file. I also improved handling of weirdly indented \input and \includegraphics calls.

    gitlab.com/nobodyinperson/late

    @textualize

  10. @folkerschamel @birnim Yes in such cases the ETA estimation is useless, sure. But take or for example. Both just try their best at estimating an eta while iterating over a sequence (or more complex structure). If ETA it's wrong, okay. But it's a huge difference between knowing if there's 10000 steps or 100 needed. Any kind of progress display is better than none. Unfortunately you can't even query SCons reliably while it's running how many steps are left... No watching wc -l...

  11. The level of confidence you get into the safety of your files when using :gitannex: probably goes into the direction of how :nixos: @nixos_org users feel about the unbreakability of their systems 😁

    I made a script with @willmcgugan's library to give me a quick overview over the availability and timeseries data content of my that's collected on a in the field with flaky internet and power.

    Game-changing software alltogether! 👍

  12. Whenever one of my programs calls an external program, I have grown fond of presenting a copy-pastable, syntax-highlighted version of the command with @willmcgugan's for easier debugging and out-of-context repetition. I like when programs tell me exactly what they're doing and rich is fantastic for this purpose.

  13. @willmcgugan And spawn an ecosystem where people build cool things for the terminal you will!!

    and are plain awesome! 🤩

    Keep up the good work! 💪

  14. The liveliness of a command-line interface enhanced with @willmcgugan's is astonishing! 😲

    Auto-colored logging, progress bars, syntax highlighting, diffs, ... So much fun! 🤩

    BTW taught `sensemapi` to download data from the via the :

    pypi.org/project/sensemapi

    @textualize

  15. Wouldn't it be awesome if there was a / -based backend? That would step up the terminal plotting game in to the extreme. 💪

    drawilleplot (pypi.org/project/drawilleplot/) works, but it's monochrome and thus quite limited.

    Here is a template for backends:

    github.com/matplotlib/matplotl

    Maybe someone will pick it up? Or even future me? 🙃 So many ideas, so little time...

    @willmcgugan @simonmic

  16. Alright, release time! 🎉 hledger-utils v1.1.1 is ready and ships with a fixed 'hledger edit', an extension to edit (all or specific) transactions in your $EDITOR no matter in which file they reside.

    It uses @willmcgugan's to show a nice diff and logs.

    Here is a screencast of 'hledger edit' in action:

    📹 asciinema.org/a/549559

    📥 Install with 'pip install hledger-utils' from : pypi.org/project/hledger-utils/

    @simonmic