Skip to main content

mypy-boto3-events

Type annotations for boto3.EventBridge 1.10.42 service compatible with mypy, VSCode, PyCharm and other tools.

More information can be found here.

How to use

Type checking

Make sure you have mypy installed and activated in your IDE.

Install boto3-stubs for EventBridge service.

python -m pip install boto3-stubs[mypy-boto3-events]

Use boto3 with mypy_boto3 in your project and enjoy type checking and auto-complete.

import boto3

from mypy_boto3 import events
# alternative import if you do not want to install mypy_boto3 package
# import mypy_boto3_events as events

# Use this client as usual, now mypy can check if your code is valid.
# Check if your IDE supports function overloads,
# you probably do not need explicit type annotations
# client = boto3.client("events")
client: events.EventBridgeClient = boto3.client("events")

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: events.EventBridgeClient = session.client("events")


# Paginators need type annotation on creation
list_rule_names_by_target_paginator: events.ListRuleNamesByTargetPaginator = client.get_paginator("list_rule_names_by_target")
list_rules_paginator: events.ListRulesPaginator = client.get_paginator("list_rules")
list_targets_by_rule_paginator: events.ListTargetsByRulePaginator = client.get_paginator("list_targets_by_rule")

How it works

Fully automated builder carefully generates type annotations for each service, patiently waiting for boto3 updates. It delivers a drop-in type annotations for you and makes sure that:

  • All available boto3 services are covered.
  • Each public class and method of every boto3 service gets valid type annotations extracted from the documentation (blame botocore docs if types are incorrect).
  • Type annotations include up-to-date documentation.
  • Link to documentation is provided for every method.
  • Code is processed by black for readability.

Release files for mypy-boto3-events 1.10.42.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mypy-boto3-events 1.10.42.1
File Size Uploaded
mypy-boto3-events-1.10.42.1.tar.gz 8.4 kB Details

Release files / mypy-boto3-events-1.10.42.1.tar.gz

Download URL mypy-boto3-events-1.10.42.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
69bd8a8a16e0535dc8c2867c3d6f0842c337a2c6c1153ebca4adecca5c385ee2
BLAKE2b-256 checksum
How to use checksums
0214e38b6bf2563b34cd5a94d73deeb122a0d9235c45ed04951e84c315738e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

Release history Release notifications | RSS feed

1.43.0

2 release files

1.41.0

2 release files

1.40.0

2 release files

1.39.5

2 release files

1.39.0

2 release files

1.38.0

2 release files

1.37.0

2 release files

1.36.0

2 release files

1.35.0

2 release files

1.34.0

2 release files

1.33.0

2 release files

1.29.3

2 release files

1.29.0

2 release files

1.25.0

2 release files

1.24.0

2 release files

1.23.0

2 release files

1.22.0

2 release files

1.21.0

2 release files

1.19.7

2 release files

1.19.6

2 release files

1.19.5

2 release files

1.19.4

2 release files

1.19.3

2 release files

1.19.2

2 release files

1.19.1

2 release files

1.19.0

2 release files

1.18.9

2 release files

1.18.8

2 release files

1.18.7

2 release files

1.18.6

2 release files

1.18.5

2 release files

1.18.4

2 release files

1.18.3

2 release files

1.18.2

2 release files

1.18.1

2 release files

1.18.0

2 release files

This release

1.10.42.1 This release

1 release file

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page