Skip to main content

A poetry plugin that adds/removes type stubs as dependencies like the mypy --install-types command.

Reason this release was yanked:

Incompatible with poetry>=1.5

Project description

poetry-types

This is a plugin to poetry for the upcoming poetry 1.2 plugin feature. It installs/removes/updates typing stubs via following commands:

  • poetry types add <package names>
  • poetry types remove <package names>
  • poetry types update <package names>

Usage examples

  • poetry types add SQLAlchemy adds types-SQLAlchemy to your project
  • poetry types update adds types-SQLAlchemy if SQLAlchemy is present, but not types-SQLAlchemy
  • poetry types update removes types-SQLAlchemy if types-SQLAlchemy is present, but not SQLAlchemy

Installation

Run poetry plugin add poetry-types for global install or run poetry add -D poetry-types to use this plugin with your project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry-types-0.3.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

poetry_types-0.3.0-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page