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

[?]Leanpub » 🌐
@leanpub@mastodon.social

Django 6 Cookbook, Second Edition: Build modern full-stack apps with Django 6, Python 3.12, APIs, authentication, testing, search, and deployment by GitforGits | Asian Publishing House is the featured book on Leanpub!

Link: leanpub.com/django6

    [?]halcy​ :icosahedron: [He/Him] » 🌐
    @halcy@icosahedron.website

    Mastodon.py version 2.2.0 is now out! 🦣🐍

    There's a quite a few bug fixes (thank you to everyone who reported and/or fixed something), and support for 4.5 functionality: Quotes as well as async refreshing! Also quite a bit of additional testing, coverage is now above 90%.

    As usual, please report any bugs you see, I should have the time to do quick fixes and maintenance release in the near future hopefully.

    * Changelog: github.com/halcy/Mastodon.py/r
    * Docs: mastodonpy.readthedocs.io/en/v
    * PyPi: pypi.org/project/Mastodon.py/

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      Ultimate ML interpretability bundle: Interpretable Machine Learning + Interpreting Machine Learning Models With SHAP by Christoph Molnar is the featured bundle on Leanpub!

      Link: leanpub.com/b/interpretability

        Ben Fulton boosted

        [?]Jason Yip » 🌐
        @jchyip@mastodon.online

        #agile boosted

        [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
        @alvinashcraft.com@web.brid.gy

        Dew Drop – April 10, 2026 (#4644)

        Top Links Running Multiple Instances of an Aspire AppHost Without Port Conflicts (James Newton-King) Why .NET MAUI Popups Lag and How to Fix Performance Issues (Kompelli Sravan Kumar Kompelli Lakshman) What’s new in Microsoft Foundry | March 2026 (Nick Brady) Expanding the MCP Maintainer Team (David Soria Parra) Visual Studio Code 1.116 Release (Visual Studio … Continue reading Dew Drop – April 10, 2026 (#4644)

        Glyph boosted

        [?]Mike Fiedler, Code Gardener » 🌐
        @miketheman@hachyderm.io

        Any time I see something like this in a REPL, I can't help but smile for two reasons:

        1. Yes, yes I did forget.
        2. I know some of the folks who worked so hard to make that message do exactly what I want it to do. Thanks to Pablo, @ambv, and so many others!

        Screenshot of a Python terminal REPL with the text:

NameError: name 'base64' is not defined. Did you forget to import 'base64'?

        Alt...Screenshot of a Python terminal REPL with the text: NameError: name 'base64' is not defined. Did you forget to import 'base64'?

          [?]Leanpub » 🌐
          @leanpub@mastodon.social

          Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: leanpub.com/build-your-own-cod

            #refactoring boosted

            [?]Leanpub » 🌐
            @leanpub@mastodon.social

            A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $5.00! leanpub.com/naming_shortguide

              [?]Leanpub » 🌐
              @leanpub@mastodon.social

              The Open Geospatial Python Series by Qiusheng Wu is the featured bundle on Leanpub!

              Aprende Python geoespacial desde cero hasta la GeoAI avanzada. Construye flujos de trabajo reales para SIG, gestión de datos espaciales y análisis impulsado por inteligencia artificial.

              Link: leanpub.com/b/geopython-es

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

                  [?]Leanpub » 🌐
                  @leanpub@mastodon.social

                  Spatial Data Management with DuckDB: From SQL Basics to Advanced Geospatial Analytics by Qiusheng Wu is the featured book on Leanpub!

                  Link: leanpub.com/duckdb

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

                    Of interest to the "Using AI LLMs to find bugs in C code" community:

                    discuss.python.org/t/systemati

                    and, of course @bagder

                      [?]Leanpub » 🌐
                      @leanpub@mastodon.social

                      Dirty Data Dojo: Cleaning Data (Excel & Python): Learn to Clean Your Dirty Data in Minutes, not Months by Lee Baker is the featured course on Leanpub!

                      Link: leanpub.com/courses/leanpub/di

                        [?]Leanpub » 🌐
                        @leanpub@mastodon.social

                        The Open Geospatial Python Series by Qiusheng Wu is the featured bundle on Leanpub!

                        Apprenez Python pour le géospatial, des bases jusqu’à la GeoAI avancée. Développez des workflows concrets pour les SIG, la gestion des données spatiales et l’analyse basée sur l’IA.

                        Link: leanpub.com/b/geopython-fr

                          [?]Leanpub » 🌐
                          @leanpub@mastodon.social

                          Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: leanpub.com/build-your-own-cod

                            [?]Leanpub » 🌐
                            @leanpub@mastodon.social

                            Real World Python by Lukas Rieger and Finxter is the featured track on Leanpub!

                            Learn Python the Practical Way - In this course you learn all the basics of the Python programming language. It contains exercises, explanatory videos, an example solution and a quiz. This will enable you to apply your skills to a wide range of real world problems.A collection of more Python exercises - Exercises with solutions to continue...

                            Link: leanpub.com/set/leanpub/realwo

                              [?]Leanpub » 🌐
                              @leanpub@mastodon.social

                              The Open Geospatial Python Series by Qiusheng Wu is the featured book bundle 📚 on Leanpub!

                              Learn geospatial Python from the ground up to advanced GeoAI. Build real-world workflows for GIS, spatial data management, and AI-powered analysis.

                              Link: leanpub.com/b/geopython

                                [?]Leanpub » 🌐
                                @leanpub@mastodon.social

                                Introduction to GIS Programming: A Practical Python Guide to Open Source Geospatial Tools by Qiusheng Wu is the featured book on Leanpub!

                                Link: leanpub.com/gispro

                                  [?]Leanpub » 🌐
                                  @leanpub@mastodon.social

                                  Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: leanpub.com/build-your-own-cod

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

                                    Adding the new feature to for clusters during Easter is basically: hiding eggs → finding eggs → realizing some eggs are actually critical alerts

                                    For real, many people asked me for their smaller and mid-sized environments, how to handle remote syslog of their nodes. I had some ideas (some of you may have already found my Rust interpretation of this) but I think having this included in as a centralized management interface makes more sense.

                                    So, PegaProx comes with an own syslog server (ipv4/ipv6, udp/tcp, encrypted/unencrypted support) and is wired to the interface within the resources tab. Providing a quick overview of all your logs and filter options. The next thing is wiring it to the notification system of PegaProx, allowing automated alerting. Might be nice to quickly identify when the quorum got lost - all built-in into PegaProx!


                                    A syslog integration (server & frontend audit) for PegaProx for Proxmox based clusters

                                    Alt...A syslog integration (server & frontend audit) for PegaProx for Proxmox based clusters

                                      [?]J. R. DePriest :verified_trans: :donor: :Moopsy: :EA DATA. SF: [She / Her / Goddess] » 🌐
                                      @jrdepriest@infosec.exchange

                                      I'm writing Python and I'm not a Python person.

                                      I have a need to get a Unix timestamp of a time that is an arbitrary number of days ago.

                                      In PowerShell, you can do something like this:

                                      PS > Get-Date -Date (Get-Date).AddDays(-30) -UFormat %s

                                      In Python, this is the best I came up with and it is ugly:

                                      import re
                                      import datetime

                                      `int(re.split('\\.',str((datetime.datetime.now(datetime.UTC) - datetime.timedelta(days=30)).timestamp()))[0])`

                                      That was from me reading module documentation and hacking away at it for a bit.

                                      Surely, there is a better way.

                                      I'm interfacing with an API that only takes datetime in Unix Time format and only down to the second in precision.

                                        [?]Leanpub » 🌐
                                        @leanpub@mastodon.social

                                        Build Your Own Coding Agent: The Zero-Magic Guide to AI Agents in Pure Python by J. Owen is the featured book on Leanpub!

                                        Skip the black-box frameworks. Build a production-grade AI coding agent from scratch in pure Python - cloud or local, tested with pytest, all in a single file.

                                        Link: leanpub.com/build-your-own-cod

                                          [?]Jeff Forcier [he/him] » 🌐
                                          @bitprophet@social.coop

                                          type hint experts: do we like

                                          foo: Optional[str] = None # or str | None = None

                                          or do we like

                                          foo: str = ""

                                          ?

                                          Having None stand in for "literally no value" can be useful sometimes, but I find type checkers require irritating extra hoops downstream of a func/whatever call in that scenario, and find myself sometimes reaching for the empty string as a good-enough stand-in.

                                          because most of the time it /is/ good enough and my use case is a binary "empty string vs non-empty string" question.

                                            [?]Wolfram wants peace » 🌐
                                            @wolframkriesing@mastodontech.de

                                            @neocolapsar same here, I am big fan, but is so much nicer, cleaner, intuitive ... totally agree with you

                                              [?]Leanpub » 🌐
                                              @leanpub@mastodon.social

                                              Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: leanpub.com/build-your-own-cod

                                                /home/rqm boosted

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

                                                Last week I had several meetings with customers where I also showcased the project for .

                                                The feedback was honestly amazing. Many were impressed by how PegaProx brings essential enterprise grade features to Proxmox clusters that are still missing today. We can clearly see the gaps that were fixed by , , , and many other ones! Keep in mind, PegaProx is free and fully !

                                                That said, we know there's always room for improvement. Whether it is major enhancements or small quality of life tweaks, every detail matters. Over the weekend, I took your feedback from the calls seriously and integrated a number of improvements to make PegaProx even more intuitive and powerful.

                                                Your input drives this project forward. If you feel something is missing or could be improved, let us know!

                                                PS: Pegaprox also support () ans corss-cluster / cross-hypervisor migrations. So, you can quickly jump over to XCP 🙂

                                                Blog: https://gyptazy.com/blog/pegaprox-real-datacenter-manager-proxmox-clusters/
                                                Website: https://pegaprox.com/
                                                GitHub: https://github.com/PegaProx/project-pegaprox/


                                                PegaProx Web-Frontend as a multi-cluster Proxmox manager with Enterprise features

                                                Alt...PegaProx Web-Frontend as a multi-cluster Proxmox manager with Enterprise features

                                                  [?]David Zaslavsky » 🌐
                                                  @diazona@techhub.social

                                                  @glyph @lattera Indeed. And in fact, now that I take a closer look at that code, there are some *really* inadvisable formatting choices in there. Including cases where the author was actively fighting against the way normally encourages one to write code.

                                                  Not that I think this is what actually happened, but if someone specifically decided to create an example of how you can write code that's "properly indented" but still badly formatted and organized, I could see them coming up with something that looks like this.

                                                    [?]David Zaslavsky » 🌐
                                                    @diazona@techhub.social

                                                    @lattera Those are exceptionally long lines and high levels of indentation, compared to most code I see. (Or honestly, compared to most mainstream languages... Java is the only one that comes to mind where the code tends to look a bit more like that.)

                                                      [?]Shawn Webb [He/Him] » 🌐
                                                      @lattera@bsd.network

                                                      makes such great use of that horizontal real estate. /s

                                                      Screenshot of Reticulum's source taking up a large portion of the horizontal real estate with just whitespace.

                                                      Alt...Screenshot of Reticulum's source taking up a large portion of the horizontal real estate with just whitespace.

                                                        [?]Mark Stosberg » 🌐
                                                        @markstos@urbanists.social

                                                        Looks like my language choices for are limited to TypeScript, Python, Go, C#, or Java. I know TypeScript better, but I'm interested in learning more so I'll choose that. Time to get Pulumi installed! 🧵

                                                          [?]advokatt » 🌐
                                                          @km@mastodon.babb.no

                                                          wizards, is there a reason that sorted() returns a list, but reversed() -- iterable?

                                                          it feels very un-Pythonic

                                                            #agile boosted

                                                            [?]Alvin Ashcraft 🐿️ » 🌐
                                                            @alvinashcraft@hachyderm.io

                                                            [?]Leanpub » 🌐
                                                            @leanpub@mastodon.social

                                                            Real World Python by Lukas Rieger and Finxter is the featured track on Leanpub!

                                                            Learn Python the Practical Way - In this course you learn all the basics of the Python programming language. It contains exercises, explanatory videos, an example solution and a quiz. This will enable you to apply your skills to a wide range of real world problems.A collection of more Python exercises - Exercises with solutions to continue...

                                                            Link: leanpub.com/set/leanpub/realwo

                                                              [?]Leanpub » 🌐
                                                              @leanpub@mastodon.social

                                                              Mastering Modern Time Series Forecasting: A Comprehensive Guide to Statistical, Machine Learning, and Deep Learning Models in Python (Preorder) by Valery Manokhin is the featured book on Leanpub!

                                                              Link: leanpub.com/mastering_modern_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

                                                                  [?]Leanpub » 🌐
                                                                  @leanpub@mastodon.social

                                                                  New 📚 Release! GeoAI with Python: A Practical Guide to Open-Source Geospatial AI by Qiusheng Wu

                                                                  Find it on Leanpub!

                                                                  Link: leanpub.com/geoai

                                                                    [?]Leanpub » 🌐
                                                                    @leanpub@mastodon.social

                                                                    New 📚 Release! GeoAI with Python: A Practical Guide to Open-Source Geospatial AI by Qiusheng Wu

                                                                    Satellites capture massive volumes of imagery every day, but turning pixels into insight requires AI. This book teaches you to build, train, and apply deep learning models to real satellite imagery using Python and open-source tools, with 23 chapters of executable code you can run today.

                                                                    Find it on Leanpub!

                                                                    Link: leanpub.com/geoai

                                                                      Back to top - More...