m5l.eu is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Yet another single-user instance
Admin account
@marek@m5l.eu

Search results for tag #python

[?]stfn » 🌐
@stfn@fedi.stfn.pl

In other other news, I finally had some time and will to work on Pyriodic Backend over the weekend, I might do another release soon

https://codeberg.org/stfn/pyriodic-backend

#python #smallweb

    AodeRelay boosted

    [?]Pascal Delrot » 🌐
    @pascal_delrot@pouet.chapril.org

    advice request.
    I need to have a task running in background to check a serial port, making the last data received memorized for the main process. Which library would you use ? I will look at your advices to learn. Thanks !

      AodeRelay boosted

      [?]Alex Willmer » 🌐
      @alex@social.moreati.org.uk

      strtoolz now includes `replace_count()`, `replace_exactly()`, & `replace_nth()` pypi.org/project/strtoolz/

      >>> strtoolz.replace_counted('A man, a plan, a canal, Panama', 'an', 'AN')
      ('A mAN, a plAN, a cANal, PANama', 4)

      >>> strtoolz.replace_exactly('A man, a plan, a canal, Panama', 'an', 'AN', count=5)
      ...
      ValueError: Only 4 occurrences could be replaced, required 5

      >>> strtoolz.replace_nth('A man, a plan, a canal, Panama', 'an', 'AN', n=1)
      'A man, a plAN, a canal, Panama'

        [?]P.I.W.O. Poznań » 🌐
        @piwo@fosstodon.org

        🎬️️️️ Magia TUN/TAP: Piszemy własnego VPN-a w 100 linijkach Pythona – Miłosz Kucharski

        Budowaliście kiedyś własnego VPNa od zera? Jeśli nie, koniecznie obejrzyjcie tę prelekcję – Miłosz pokazuje, jak zrobić to w Pythonie, wykorzystując stos sieciowy Linuxa.

        👉️️️️️️️️️ YouTube: youtu.be/XpP3l713H5A
        👉️️️️️️️️️ PeerTube: play.kontrabanda.net/w/d8VjSg5

          AodeRelay boosted

          [?]Jack William Bell » 🌐
          @jackwilliambell@rustedneuron.com

          OK, I found it! A about working as a software drone where the boss lays off the person keeping it all going and then the company falls apart. It's a coder revenge fantasy and it even teaches !

          (Also? The main character is a female programmer into .)

          Review here:

          > Fired? But I Maintain All the Software! animenewsnetwork.com/review/fi

          Scanlation here if you want a taste before buying:

          > mangadex.org/title/afcd0d75-58

            [?]Fabian Transchel » 🌐
            @ftranschel@norden.social

            @ngate This is an easy block for me.

            Like, did you actually read the thing?

            Do you have anything sensible to add to it?

            I mean, I too live in the ecosystem, but this is 100% on point.

              [?]P.I.W.O. Poznań » 🌐
              @piwo@fosstodon.org

              🎬️️ Jak łatwo napisać dziurawy serwis w Pythonie (i jak go poprawić)

              Posłuchajcie jak @zbyszek opowiada o bezpieczeństwie serwisów pisanych w Pythonie, na przykładzie prostej aplikacji .

              Nagranie z P.I.W.O. 2026 w ramach ścieżki @pyconpl / PyPoznań.

              👉️️️️️️️ YouTube: youtu.be/Q2-Jiml3xus
              👉️️️️️️️ PeerTube: play.kontrabanda.net/w/rZzAk1X

              [?]P.I.W.O. Poznań » 🌐
              @piwo@fosstodon.org

              🎬️ Prezentacja nt. skryptu w Pythonie, który nie powinien być skryptem w Pythonie – Mateusz Reszka

              W tej prezentacji poznacie historię próby przeportowania skryptu adbcam na Bash. Zachęcamy do obejrzenia!

              👉️️️️️️ YouTube: youtu.be/AehVjxtSHpI
              👉️️️️️️ PeerTube: play.kontrabanda.net/w/4qMidPC

              [?]P.I.W.O. Poznań » 🌐
              @piwo@fosstodon.org

              🎬️ Anegdoty z Pythona 3.15 – Bartosz Sławecki

              Kolejna prezentacja ze ścieżki @pyconpl / PyPoznań. Bartosz wprowadza uczestników w świat nowości Pythona 3.15. Jeżeli jesteście ciekawi, co nowego pojawiło się w tej wersji – obejrzyjcie tę prezentację! ;-)

              👉️️️️️️ YouTube: youtu.be/fGPJcw09Ai0
              👉️️️️️️ PeerTube: play.kontrabanda.net/w/8C3PJt2

                [?]P.I.W.O. Poznań » 🌐
                @piwo@fosstodon.org

                🎬️ Marimo as the successor to Jupyter Notebook – Mateusz Konat

                In this video, Mateusz talks about @marimo_io – successor to the popular Jupyter Notebook. If you're interested in the latest tools from the Python world, be sure to check out this presentation!

                👉️️️️️️ YouTube: youtu.be/avUW_xI2spg
                👉️️️️️️ PeerTube: play.kontrabanda.net/w/ru3yBcg

                  [?]P.I.W.O. Poznań » 🌐
                  @piwo@fosstodon.org

                  🎬️️️️ Praktyczne CLI w Pythonie – Błażej Święcicki

                  Kolejne nagranie z – tym razem w ramach ścieżki @pyconpl / PyPoznań.

                  👉️️️️ YouTube: youtu.be/Pinc8LIYwOM
                  👉️️️️ PeerTube: play.kontrabanda.net/w/1EfHAj6

                    [?]gyptazy » 🌐
                    @gyptazy@gyptazy.com

                    just got released in v1.0 and is out of beta now!

                    PegaProx for VE and clusters made a huge step and is finally out of beta!

                    The first stable release also comes around with companies providing enterprise support. If you need SLA-backed help running PegaProx in production (or training sessions) you can now find a support partner at:

                    Enterprise Support & Sponsors: https://pegaprox.com/sponsors.html
                    Release: https://github.com/PegaProx/project-pegaprox/releases/tag/v1.0
                    Website: https://pegaprox.com


                    PegaProx v1.0 Release

                    Alt...PegaProx v1.0 Release

                      0 ★ 1 ↺

                      [?]Marek S. Ł. » 🌐
                      @marek@m5l.eu

                      Who could have guessed that running a package sending data over to a page with to render at runtime using two separate embedded Chrome processes could cause my flight simulator to have performance issues?

                      Well, once I became the person to guess that and I'm simply translating some textures with everything is butter smooth again.

                        3 ★ 2 ↺

                        [?]Marek S. Ł. » 🌐
                        @marek@m5l.eu

                        I think I made a really nice setup for marrying technical documentation with academic citations in . It was as simple as writing a little script using a citation library (PybTeX) and then incorporating it into the build process.

                        See it working at https://marsh-sim.github.io/bibliography/

                        Because everything is written in regular files, the editor can autocomplete citation keys without any special tooling - they are just sections in another file. This kind of interoperability is why simple tools like text files and are so great.

                        I'm not a fan of hosting it on GitHub anymore, but there are already links in various places that I can't update, so this is the reasonable thing to do.

                          0 ★ 1 ↺

                          [?]Marek S. Ł. » 🌐
                          @marek@m5l.eu

                          It's been only four weeks and I really love using mise-en-place by @jdx@fosstodon.org So far I've used it for (chronologically):

                          - switching between versions, I liked it more than the dedicated anyzig
                          - venv activation – it's silly but feels so good, and collaborates with uv
                          - ensuring I have the right language server and formatter for a project, be it , , and trying out various options for Python
                          - setting LANG="C.UTF-8" only in the specific project folder because refused to work with Polish...

                          The final boss was getting a really comfortable Tree-sitter setup: get the CLI, write grammar in , re-generate and run tests on source change as a mise Task. And then I only cloned the repo on another machine and was ready to go!

                          This post was written as a more cultured outlet for my excitement instead of aggresively committing mise.toml into every repository I touch

                            0 ★ 2 ↺

                            [?]Marek S. Ł. » 🌐
                            @marek@m5l.eu

                            On the most recent episode of "Spending the Same Amount of Time Automating Something as It Would Take to Do It by Hand" our protagonist finds himself exporting business cards for his colleagues with and !

                            Join the fun at: https://paste.sr.ht/~maarrk/2f1125139c62ebc567d15eac5e066a73ef638845

                              4 ★ 3 ↺

                              [?]Marek S. Ł. » 🌐
                              @marek@m5l.eu

                              Recently tried https://astral.sh/uv tooling for , and I think I'm switching over for the foreseeable future.

                              What made me finally try something else than raw pip and venv was easy installing of multiple Python versions. I was completing a PR to a library that (admirably) wants to support the old ones as well. Once I had the tool, I tried it for releasing a new version of my own PyPI package, and I wasn't ready for how fast and convenient it would be.

                                0 ★ 1 ↺

                                [?]Marek S. Ł. » 🌐
                                @marek@m5l.eu

                                Today's discovery: make history of Jupyter notebooks cleaner with this package:

                                pipx install nb-clean
                                nb-clean add-filter --remove-empty-cells --preserve-cell-outputs

                                  0 ★ 1 ↺

                                  [?]Marek S. Ł. » 🌐
                                  @marek@m5l.eu

                                  Today I threw together a small in to help with experimental characterisation of hardware for . It's simply generating a sinusoidal signal within configurable limits, but now it's definitely easier to understand than running scripts in terminal.

                                  I did enjoy the ease of setup of TkInter, and compatibility with Matplotlib, but I was missing the simplicity of immediate mode libraries. In trying to emulate these, now a few callbacks trigger "given this dataclass with state, the widgets should look like this".
                                  The micro-management gremlin is whining that it's repeating useless work, but more importantly the window is complete and I can go on with the experiment.

                                  Screenshot of a basic graphical application with settings, showing plots of generated signal to its side.

                                  Alt...Screenshot of a basic graphical application with settings, showing plots of generated signal to its side.