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

Glyph boosted

[?]Trey Hunner 🐍 »
@treyhunner@mastodon.social

Do you use PDF, epub, or other downloadable documentation? Or do you only use the web docs?

The core team are trying to decide whether it's worth keeping various non-HTML builds (which are often slow to build).

discuss.python.org/t/removing-

    [?]Paul Hoffman »
    @paulehoffman@infosec.exchange

    Asking for an opinion from all my friends. The non-work Python project I'm developing has a few places where I need to find the most recent text above the current position that matches a . I can either:

    - Require the non-standard regex module (pypi.org/project/regex/) which has a REVERSE flag

    - Create a "match all the things from the beginning, but then only use the one whose match.start() is before the current position

    The first is clearly cleaner, but requires users to add one more module (they're already needing to add two others for different stuff in the program). The second is a tad kludgy, slower (but only by maybe a tenth of a second), but requires no additional includes.

    Opinions? Strong opinions? First-hand experience with the regex module?

      [?]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/CAQR6Uy0

        [?]Glyph »
        @glyph@mastodon.social

        Okay, so, fans of the help me out here:

        I am mucking around with writing a simple new thing that, in order to have type annotations that aren't *completely* useless, needs to deal with the fact that Protocol and Factory aren't annotated.

        But adding annotations makes the entire framework notice that the pattern of paired-Protocol-and-Factory subclasses are inherently LSP violations, because .protocol and .factory are writable attributes and thus invariant.

          Jeff Rizzo boosted

          [?]Stylus »
          @stylus@social.afront.org

          @pybay This ticket choice is fully awesome! I would love to see other conferences adopt the same idea.

          I don't think it's in the cards for me to travel to California for but I'll be wishing you a successful conference from afar.

          Community Support (Your way) - Regular Ticket
Support your way: low-cost entry or high-impact support of your local community. Just edit the price
This ticket exists for two reasons:
1. You need a break on price right now — we've got you. $55 minimum (same as our student ticket), or
2. You want to support the community and pay way more (like, a lot more) — but your finance team
Isn't a fan of the word “donation.” Skip the forms, support the community, and expense It like a boss.

          Alt...Community Support (Your way) - Regular Ticket Support your way: low-cost entry or high-impact support of your local community. Just edit the price This ticket exists for two reasons: 1. You need a break on price right now — we've got you. $55 minimum (same as our student ticket), or 2. You want to support the community and pay way more (like, a lot more) — but your finance team Isn't a fan of the word “donation.” Skip the forms, support the community, and expense It like a boss.

            [?]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/NlOWKklm

              Ron Jeffries boosted

              [?]Trey Hunner 🐍 »
              @treyhunner@mastodon.social

              What if you need to compare two iterables while ignoring the order of their items?

              Read the full article: Checking whether iterables are equal in Python
              trey.io/0frqkp

                [?]Leanpub »
                @leanpub@mastodon.social

                Master Python leanpub.com/b/masterpython by Noah Gift and Alfredo Deza is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com

                  [?]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!

                    [?]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

                      [?]Glyph »
                      @glyph@mastodon.social

                      Ahem. By which I mean to say I usually do some on that channel, using . One of these days I will remember how actually doing self-promotion works

                        [?]Leanpub »
                        @leanpub@mastodon.social

                        Django for Beginners/APIs/Professionals leanpub.com/b/djangoforbeginne by William S. Vincent is the featured bundle of ebooks 📚 on the Leanpub homepage! leanpub.com

                        The following 3 books are included in this bundle...

                        Django for Beginners (5th Edition), Django for APIs, and Django for Professionals

                        Find it on Leanpub!

                          [?]Seth Larson »
                          @sethmlarson@mastodon.social

                          🚨 Be aware there's a potential phishing campaign likely targeting / package maintainers:

                          discuss.python.org/t/phishing-

                            [?]Leanpub »
                            @leanpub@mastodon.social

                            Practical Python for Production under Pressure (The Book + Resources) by Alex Telford is on sale on Leanpub! Its suggested price is $27.99; get it for $10.49 with this coupon: leanpub.com/sh/ajkAFuHH

                              [?]Hugo van Kemenade »
                              @hugovk@mastodon.social

                              Glyph boosted

                              [?]Ryan »
                              @yantor3d@mas.to

                              FINALLY.

                              This week's department newsletter confirms - 2.7 is no longer being used in production at my job.

                              Only 67 months late.

                                [?]Leanpub »
                                @leanpub@mastodon.social

                                50+ App Features with Python: Implement feature-focused, code-driven Python capabilities with UX at the core leanpub.com/pythonapplication is the featured book on the Leanpub homepage! leanpub.com

                                Find it on Leanpub!

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

                                  You can be a part of guiding the future direction of the PSF 🩵🐍💛 Nominate yourself or someone else for the PSF Board for the 2025 election! Nominations open Tuesday, July 29th, 2:00 pm UTC and close Tuesday, August 12th, 2:00 pm UTC.
                                  pyfound.blogspot.com/2025/07/p

                                    [?]Leanpub »
                                    @leanpub@mastodon.social

                                    Creating TUI Applications with Textual and Python by Michael Driscoll leanpub.com/textual

                                    Learn how to create amazing lightweight user interfaces using Python and Textual in your terminal!

                                    You will learn the basics of Textual and then create ten different applications.

                                    Find it on Leanpub!

                                      [?]Hugo van Kemenade »
                                      @hugovk@mastodon.social

                                      Just released: Python 3.14.0 release candidate 1! 🚀🐍

                                      🫖 T-strings!

                                      🧵 Free-threading is officially supported!

                                      🚇 Subinterpreters in the stdlib!

                                      🗜️ Zstandard compression!

                                      🎨 REPL syntax highlighting and tab autocomplete!

                                      ⚠️ Better error messages!

                                      📦 Are you a package maintainer? Prepare for 3.14 and report bugs!

                                      🛞 No ABI changes: upload 3.14 wheels to PyPI

                                      🥧 And much, much more!

                                      discuss.python.org/t/python-3-

                                        [?]Trey Hunner 🐍 »
                                        @treyhunner@mastodon.social

                                        The new t-string syntax in Python 3.14.0 now has documentation! 🎉

                                        docs.python.org/3.14/library/s

                                          [?]Leanpub »
                                          @leanpub@mastodon.social

                                          Mastering Modern Time Series Forecasting: A Comprehensive Guide to Statistical, Machine Learning, and Deep Learning Models in Python leanpub.com/mastering_modern_t by Valery Manokhin is the featured book on the Leanpub homepage! leanpub.com

                                          Find it on Leanpub!

                                            [?]Georgically🐍 »
                                            @georgically@mastodon.social

                                            🌍✨ EuroPython has just ended.
                                            One issue came up again and again during community organisers open space: it’s harder to find sponsors.

                                            Now that AI is taking the spotlight, I’m asking: Who is being left behind?

                                            That’s what this blog post is about:
                                            ✍️ georgiker.com/blog/is-ai-leavi

                                              [?]Leanpub »
                                              @leanpub@mastodon.social

                                              New 📚 Release! Python in Practice: From Fundamentals to Functional Code by unseen Perspectives

                                              Find it on Leanpub!

                                              Link: leanpub.com/pythoninpractice

                                                [?]Leanpub »
                                                @leanpub@mastodon.social

                                                Mastering Modern Time Series Forecasting by Valery Manokhin is on sale on Leanpub! Its suggested price is $49.95; get it for $40.46 with this coupon: leanpub.com/sh/62tDVB9r

                                                  [?]Leanpub »
                                                  @leanpub@mastodon.social

                                                  Real World Python leanpub.com/set/leanpub/realwo by Lukas Rieger and Christian Mayer is the featured Track of online courses on the Leanpub homepage! leanpub.com

                                                    [?]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!

                                                      [?]Leanpub »
                                                      @leanpub@mastodon.social

                                                      Leanpub book LAUNCH 🚀 Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools by Qiusheng Wu

                                                      Watch here:

                                                      youtu.be/UFGSXOJ4nrE

                                                        [?]Leanpub »
                                                        @leanpub@mastodon.social

                                                        New 📚 Release! Python in Practice: rom Fundamentals to Functional Code by unseen Perspectives

                                                        Find it on Leanpub!

                                                        Link: leanpub.com/pythoninpractice

                                                          Back to top - More...