pymediate
Getting Started

Installation

Requirements and install options for PyMediate on Python 3.12+.

PyMediate is published on PyPI and can be installed with a Python package manager.

Requirements

  • Python 3.12 or higher — PyMediate uses PEP 695 type parameter syntax.
  • The core package has no required dependencies.
  • The optional di extra installs dependency-injector>=4.41.0 for container integration.

Install the core package

pip install pymediate

Install with dependency injection support

The di extra adds the dependency-injector integration:

pip install 'pymediate[di]'

DependencyInjectorServiceProvider only imports successfully when dependency-injector is installed. Without the di extra, from pymediate.providers import DependencyInjectorServiceProvider raises ModuleNotFoundError. See troubleshooting if you hit this.

Verify the install

import pymediate

print(pymediate.__version__)

Continue

Build and send a complete PlaceOrder request in the quick start.

On this page