jnovinger

joined 1 year ago
MODERATOR OF
 

Inspired by FastAPI and Kombu, Propan was created to simplify Message Brokers' code writing and to provide a helpful development toolkit, which existed only in HTTP-frameworks world until now.

It's designed to create reactive microservices around Messaging.

It is a modern, high-level framework on top of popular specific Python brokers libraries, based on pydantic, FastAPI, and pytest concepts.

 

I guess I knew the whole "you can't use next on iterables" in the sense that I've never tried it.

I TIL'd about the default value for next.

 

At least I posted it to !programming_horror@programming.dev first!

 

Once you've installed it, pytest will produce nice colourised diffs for any assert == :

😍

Via https://mastodon.social/@hynek/110479665200902390

 

cross-posted from: https://programming.dev/post/196935

To be clear, this isn't my project. Just cross-posting the author's post from !python@programming.dev .

Sometimes unused class or function manages to slip into code base. Static code checkers like ruff, flake8 does not have rules for detecting such globally unused code.

I tried using vulture, but it has too many false positives to have it as part of CI/CD pipeline.

I have tried to implement my own, more reliable check for global deadcode detection.

Please let me know what you think about it.

 

Link your favorite Python conference talk and give everyone else a chance to be blown away like you were the first time you heard it!

Please also include some description of what you liked about the talk. Also, the only requirement is that it is at least tangentially related to Python, so talks about developing in Python, developing CPython, general programming techniques that also apply to Python, some Python library, or even the community are all fair game.

Also, feel free to submit more than one talk, but please include only one talk per top-level comment so that we can have a place to discuss each one.

0
submitted 1 year ago* (last edited 1 year ago) by jnovinger@programming.dev to c/python@programming.dev
 

Events from the Python Events Calendar:

  • Building Mico-Tech Communities Around Python Programming Language

    20 June 2023 - 30 July 2023

    Python is one of the most popular programming languages today and is used in a variety of industries, including data science, web development, artificial intelligence, and machine learning. Learning Python earlier can give you a head start in your career and make you a valuable candidate in the job market.

  • Careers with Python: Volume 2 meetup

    20 June 2023, 1:30 CEST

    PyLadies Amsterdam

    Youtube live-stream link: https://www.youtube.com/live/KO4jeWoP9bI

    Talk 1 - Python in Agricultural Technology by Neha Kalia

    Talk 2 - Python in banking by Sharanya Missula

    Talk 3 - Python in Data science and strategy consulting by Estelle Altazin

  • Dominican Republic Python User Group

    20 June 2023, 21:30 AST

    Location:

    12 Calle Eugenio Deschamps
    La CastellanaLos Prados
    Santo Domingo
    National District
    Dominican Republic
    
view more: ‹ prev next ›