Python Stub

Open-source Python projects categorized as Stub

Top 3 Python Stub Projects

  1. typeshed

    Collection of library stubs for Python, with static types

    Project mention: PyreFly: Python type checker and language server in Rust | news.ycombinator.com | 2025-10-14

    > You can take a look yourself if you think some of them are wrong: https://github.com/python/typeshed/tree/main/stdlib/asyncio

    Hmm. Presumably mypy and pyrefly use the same ones, but then I don't understand why pyrefly is complaining and mypy isn't:

     ERROR Argument `Future[list[BaseException | Any]]` is not assignable to parameter `future` with type `Awaitable[tuple[Any]]` in function `asyncio.events.AbstractEventLoop.run_until_complete` [bad-argument-type]

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Implib.so

    POSIX equivalent of Windows DLL import libraries

    Project mention: Implib.so: POSIX equivalent of Windows DLL import libraries | news.ycombinator.com | 2025-03-17
  4. pybond

    pybond is a spying and stubbing library for python, inspired by the clojure bond library.

    Project mention: Show HN: Modshim – a new alternative to monkey-patching in Python | news.ycombinator.com | 2025-10-16

    I ported the clojure bond library over to python. It’s not quite as neat as the original, but IMO the pseudo-FP style is much more ergonomic.

    https://github.com/epgui/pybond

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Stub discussion

Python Stub related posts

  • PyreFly: Python type checker and language server in Rust

    5 projects | news.ycombinator.com | 14 Oct 2025
  • What's the point of using `Any` in Union, such as `str | Any`

    1 project | /r/learnpython | 17 Aug 2023
  • Importing python libraries "Cannot find implementation or library stub for module named ..."

    1 project | /r/neovim | 5 Jul 2023
  • Offer to Type Hint API's, or Start a Statically Typed Python?

    1 project | /r/Python | 25 Jan 2023
  • Pybond – A spying and stubbing library inspired by bond (Clojure)

    1 project | /r/CKsTechNews | 23 Jan 2023
  • Wrapping my head around type hinting

    1 project | /r/learnpython | 19 Oct 2022
  • What is the state of typings in python communities?

    1 project | /r/Python | 23 Feb 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Dec 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Stub projects in Python? This list will help you:

# Project Stars
1 typeshed 4,961
2 Implib.so 272
3 pybond 13

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?