You are viewing a single thread.
View all comments View context
2 points

types are always ignored at runtime, they’re only useful when developing

permalink
report
parent
reply
5 points

Yeah, they’re useful when developing, which is why it’s so frustrating when libraries don’t implement types. I’m developing and I’m trying to use a tool that supposedly fits a use case I have, but the tool didn’t come with instructions so it’s practically useless to me. I could open the tool up and look at its guts to figure it out but are you kidding me no, I’m not going back to the stone age for your tool.

permalink
report
parent
reply
1 point

Check if there’s a stub or types extension - https://pypi.org/search/?q=types

permalink
report
parent
reply
2 points
*

basically sums up the opencv experience in Python.

great lib, very mediocre Python wrapper.

permalink
report
parent
reply
1 point

Pydantic offers awesome runtime validation (using Rust).

permalink
report
parent
reply

Python

!python@programming.dev

Create post

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events
Past

November 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 803

    Monthly active users

  • 467

    Posts

  • 2.4K

    Comments