schmonz.com 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.

Search results for tag #python

[?]Christopher Neugebauer »
@chrisjrn@social.coop

Do you have ways the PSF can solicit donations and you're wondering who to tell?

Me. I will gladly accept new and innovative (and ideally ethical) ways for us to convince you to donate. Some of them, like wandering.shop/@phildini/11522, I will even pass on!

    [?]Leanpub »
    @leanpub@mastodon.social

    Leanpub Books LAUNCH 🚀 Functional Programming in Python and more! by Gábor Szabó

    Watch here: youtu.be/wovZs9Sch8Q

      [?]Leanpub »
      @leanpub@mastodon.social

      Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python by Arnaud Weil is free with a Leanpub Reader membership! Or you can buy it for $11.99! leanpub.com/k8s

        [?]Chris is. »
        @offby1@wandering.shop

        13 seats, 13 candidates... wtf?

          [?]Python Software Foundation »
          @ThePSF@fosstodon.org

          📣📣 ATTN PSF Voting Members: The 2025 PSF Board election vote closes tomorrow, September 16th, at 2PM UTC- but don't wait, go vote today! If you affirmed for 2025 or are pre-affirmed from last year, check your email for voting instructions 🗳️
          pyfound.blogspot.com/2025/08/t

            [?]Test Double »
            @testdouble@mastodon.social

            Python devs, is this familiar: Your team writes beautiful snake_case code, but every external API wants camelCase.

            You could:
            - Pollute your codebase with non-Pythonic naming
            - Write manual conversion layers
            - Live with the friction

            Or you could use Pydantic's field aliases to solve this once and for all.

            New guide: How to handle non-Pythonic naming conventions seamlessly 👇
            link.testdouble.com/e357d1

              [?]Paco Hope wishes ill for JK Rowling »
              @paco@infosec.exchange

              @glyph Same laptop, same version of cpython (3.13), same requirements.txt file with pip:

              real    2m5.404s
              user 0m42.650s
              sys 0m5.081s

              So 125 seconds versus 14 seconds. Pip and uv calculate dependencies differently, though uv tries to be compatible. Pip did 253 packages and uv did 250. But pip works sequentially, one package at a time. One download at a time. Like many programs, uv is "embarrassingly parallel."

                [?]Paco Hope wishes ill for JK Rowling »
                @paco@infosec.exchange

                So I just rebuilt my personal venv in my home directory on my daily driver laptop. I did pip freeze > requirements.txt to capture all the packages I had installed. Then I took away all the ==a,b.c versioning so I'd install the latest compatible version.

                Then I ran uv pip install -r requirements.txt. This blew me way:

                $ time uv pip install -r requirements.txt 
                Resolved 250 packages in 2.38s
                Built python-ldap==3.4.4
                Built py-cui==0.1.6
                Built docopt==0.6.2
                Built email-normalize==2.0.0
                Built ecos==2.0.14
                ... bunch of lines...
                real 0m14.028s
                user 0m11.605s
                sys 0m4.131s

                Wow. 250 packages in 14 seconds.

                  [?]Leanpub »
                  @leanpub@mastodon.social

                  Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP leanpub.com/b/interpretability by Christoph Molnar is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com

                    [?]Leanpub »
                    @leanpub@mastodon.social

                    Advanced Conformal Prediction:Practical Uncertainty Quantification for Real-World ML by Valery Manokhin is on sale on Leanpub! Its suggested price is $44.95; get it for $31.96 with this coupon: leanpub.com/sh/jlvBbw3N

                      Glyph boosted

                      [?]lachlan slowly taming rust »
                      @lachlan@mastodon.social

                      If a highly customisable , or utility actually sounds like something you'd be keen on using, I'd actually really love to know. v0.2 has a couple of significant design changes that would effect calling it as a library or creating your own templates, and I'd love some feedback on the design (probably in a week or two) before I merge it in.

                      But - `pip install scrummd` will already give you the scrum tool nobody asked for!

                        [?]lachlan slowly taming rust »
                        @lachlan@mastodon.social

                        Sometimes, when coding your own thing, you do little things to make yourself happy even if it isn't _strictly in scope_ of the feature you're building.

                        I'm adding writing fields to . I needed to rewrite the output code to make that work - which meant I'm moving (eventually) all output to Jinja2 templates rather.

                        And, to make me happy: I added ANSI color when using interactively to the new default template.

                        ScrumMD card in terminal. The headings and titles highlighted in color.

Text reads:
---
cli001: Display basic collection from cards
---

status: Done

# description

A basic collection is a folder in the `scrum` folder containing md cards.

By default, all cards are in the inventory. There's no filters being applied at the moment.

For now, a card must have a summary. Other fields are optional. Fields are defined either in obsidian style properties:

```md
---
Property 1: Value
Property 2: Value
---
```

or by the text following a hash header with.

A card's index is currently its filename.

# cucumber

**GIVEN** a collection of cards, and a collection folder _C_.
**WHEN** `sbl C` is run.
**THEN** a table showing the index and description all the cards in the collection is shown.

                        Alt...ScrumMD card in terminal. The headings and titles highlighted in color. Text reads: --- cli001: Display basic collection from cards --- status: Done # description A basic collection is a folder in the `scrum` folder containing md cards. By default, all cards are in the inventory. There's no filters being applied at the moment. For now, a card must have a summary. Other fields are optional. Fields are defined either in obsidian style properties: ```md --- Property 1: Value Property 2: Value --- ``` or by the text following a hash header with. A card's index is currently its filename. # cucumber **GIVEN** a collection of cards, and a collection folder _C_. **WHEN** `sbl C` is run. **THEN** a table showing the index and description all the cards in the collection is shown.

                          [?]Leanpub »
                          @leanpub@mastodon.social

                          Mastering Modern Time Series Forecasting by Valery Manokhin is on sale on Leanpub! Its suggested price is $54.95; get it for $42.46 with this coupon: leanpub.com/sh/2ct53JYb

                            [?]Jesus Michał 🏔 (he) »
                            @mgorny@social.treehouse.systems

                            So released new versions of their packages, with pkg-resources style namespace removal.

                            Totally normal way to do the bumps:

                            1. At first, keep the existing testing hack (writing `__init__.py`).
                            2. Notice that the next package fails because it expects test paths relative to `zope` subdirectory. Skip it for now.
                            3. While doing the next package, realize you could remove that hack and simply run tests within the `zope` subdirectory! Go back and update all the previous packages, including the one that failed before.
                            4. Back to bumping. Notice that in the very next package you've had an even better solution: instead of `cd`, you just called `python -m unittest -s …`. Go back and update all the previous packages.
                            5. Back to bumping. The very next package turns out to actually expects test paths relative to the top-level site-packages directory. Well, you can use a hybrid of the `__init__.py` hack with `python -m unittest -s …`.

                              Glyph boosted

                              [?]Pete Prodoehl 🍕 »
                              @rasterweb@mastodon.social

                              I did not make any good progress on my project to read GPX data with Python today. (Trying to read speed.) May need to just read it as XML.

                              There are a bunch of nerds who do Python and bikes though, so someone might have the code example I need.

                                [?]Leanpub »
                                @leanpub@mastodon.social

                                Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools leanpub.com/gispro by Qiusheng Wu is the featured book on the Leanpub homepage! leanpub.com

                                Find it on Leanpub!

                                  [?]Matthew Martin »
                                  @mistersql@mastodon.social

                                  and supply chain mitigation for *apps*

                                  What we (and npm and cargo and so on) need is pipx, except it runs that app in a docker container.

                                  So I wrote a little script to generate a docker file, transferred the credentials for a secure python proxy to it, build and run the docker file.

                                  The docker part was hard, but 10% of users, 1% of the time would be able to do it, but that wasn't the worst.

                                    dch :flantifa: :flan_hacker: boosted

                                    [?]gyptazy »
                                    @gyptazy@gyptazy.com

                                    [?]Leanpub »
                                    @leanpub@mastodon.social

                                    Forecasting Professional leanpub.com/b/forecasting_prof by Valery Manokhin is the featured bundle on the Leanpub homepage! leanpub.com

                                    The following 2 books are included in this bundle...
                                    Mastering Modern Time Series Forecasting and Probabilistic Forecasting with Conformal Prediction in Python

                                    Find it on Leanpub!

                                      [?]ax6761 »
                                      @ax6761@freeradical.zone

                                      Installing commands of a package

                                      What people are using to install commands (Python programs and/or shell scripts that parses options, imports & uses modules of same package) of a package?

                                      I am aware of "entry point" in "pyproject.toml"; am not asking for or help with that.

                                      If nothing comes up, may have to do edit those files during installation to supply the python interpreter (either to run with or in shebang line) & "sys.path" via Makefile & such ...

                                        [?]Holly Becker »
                                        @hwesta@wandering.shop

                                        I was laid off recently so I'm looking for a new job!

                                        I have a decade of experience as a web backend dev writing APIs in Python and Ruby in a variety of frameworks. I'm usually the git and Postgres expert on the team, and if you leave me alone I'll start writing tests and doing security updates. Used to help run PyLadies Vancouver, now PyCascades. More: hollybecker.net/resume/

                                        Looking for: full-remote, hiring in Canada, minimal LLM nonsense

                                          [?]Leanpub »
                                          @leanpub@mastodon.social

                                          Feature Selection in Machine Learning by Soledad Galli, PhD is on sale on Leanpub! Its suggested price is $29.99; get it for $21.24 with this coupon: leanpub.com/sh/D3vVpWb8

                                            Bill Seitz boosted

                                            [?]Glyph »
                                            @glyph@mastodon.social

                                            It's 2025 and I am still not 100% sure how to have go to sleep and wait for *either* an event from the keyboard/mouse/controller *or* an event from the network *or* a vblank interrupt without some kind of hard-coded polling timeout. Various attempts I've made at this in the past have violated thread safety rules and I'm not sure the documentation even covers all the constraints I need to preserve.

                                              [?]Leanpub »
                                              @leanpub@mastodon.social

                                              The Hitchhiker’s Guide to Plotnine by Jodie Burchell and Mauricio 'Pacha' Vargas Sepúlveda is free with a Leanpub Reader membership! Or you can buy it for $10.00! leanpub.com/plotnine-guide

                                                [?]Leanpub »
                                                @leanpub@mastodon.social

                                                The Forecasting, CatBoost & Conformal Prediction Tetralogy leanpub.com/b/forecasting_catb by Valery Manokhin is the featured bundle on the Leanpub homepage! leanpub.com

                                                Find it on Leanpub!

                                                  [?]Leanpub »
                                                  @leanpub@mastodon.social

                                                  Feature Selection in Machine Learning: Over 20 methods to select the most predictive features and build simpler, faster, and more reliable machine learning models. leanpub.com/feature-selection- by Soledad Galli, PhD is the featured book on the Leanpub homepage! leanpub.com

                                                  Find it on Leanpub!

                                                    [?]Steven G. Harms »
                                                    @sgharms@techhub.social

                                                    Every day, I"m thankful that transitive library tracing installers exist: pkg(8) and apt-get. I stared on and remember being awed by RedHat's `rpm`.

                                                    But...

                                                    How is it that installing `gnustep-base` gets me a compiler, a installation, (<3 you forever), , and (because why leave any interpreted language behind?); oh wait, there's too. This is not reasonable.

                                                      [?]scy »
                                                      @scy@chaos.social

                                                      A about just got released, and it's really good.

                                                      It talks about Python's origins, the founding of the PSF, the Python 2 to Python 3 transition, the struggle to increase diversity, Guido's resignation over the walrus operator, as well as Python's relevance as a language now and in the future.

                                                      youtube.com/watch?v=GfH4QL4VqJ0 (84 min)

                                                        Back to top - More...