---
title: "💭 PyAnnotate: Auto-generate PEP-484 annotations"
description: "!https://github.com/dropbox/pyannotate"
date: 2024-06-26
published: true
tags:
  - python
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/dropbox/pyannotate" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://opengraph.githubassets.com/76758a1b2e208e81ae198bfc192746515f68c91041f46b587df4f643190f5622/dropbox/pyannotate" alt="GitHub - dropbox/pyannotate: Auto-generate PEP-484 annotations — Auto-generate PEP-484 annotations. Contribute to dropbox/pyannotate development by creating an account on GitHub." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">GitHub - dropbox/pyannotate: Auto-generate PEP-484 annotations</div>
      <div class="embed-card-description">Auto-generate PEP-484 annotations. Contribute to dropbox/pyannotate development by creating an account on GitHub.</div>
      <div class="embed-card-meta">GitHub &middot; github.com</div>
    </div>
  </a>
</div>


pyannotate is a tool that uses runtime types to suggest type annotations to use.  Test runners such as pytest can be used to generate the types.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
