Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
stubpy
stubpy

Getting Started

  • Installation
  • Quickstart
  • How it works

Examples

  • Basic stub generation
  • **kwargs and *args backtracing
  • Type alias preservation
  • Cross-file class references

API Reference

  • API Reference
    • stubpy — public API
    • stubpy.context
    • stubpy.generator
    • stubpy.loader
    • stubpy.aliases
    • stubpy.annotations
    • stubpy.imports
    • stubpy.resolver
    • stubpy.emitter

Project

  • Changelog
Back to top
View this page

API Reference¶

stubpy exposes a minimal public API. The main entry point for everyday use is generate_stub(). The remaining modules are documented here for contributors and for anyone building on top of stubpy.

  • stubpy — public API
  • stubpy.context
  • stubpy.generator
  • stubpy.loader
  • stubpy.aliases
  • stubpy.annotations
  • stubpy.imports
  • stubpy.resolver
  • stubpy.emitter
Next
stubpy — public API
Previous
Cross-file class references
Copyright © 2024, Josue N Rivera
Made with Sphinx and @pradyunsg's Furo