Python Compatibility Requirements
New announcements from Dash: Incident Management, Continuous Profiler, and more! New announcements from Dash!

Python Compatibility Requirements

The Python Datadog Trace library is open source. View the Github repository for more information.

Python versions 2.7+ and 3.5+ are supported in the latest version of the tracer. Python 3.4 is supported in versions 0.35.x and below of the Python tracer.

Integrations

To request support for additional libraries, contact our awesome support team.

Web Framework Compatibility

The ddtrace library includes support for a number of web frameworks, including:

FrameworkSupported VersionLibrary Documentation
aiohttp>= 1.2https://ddtrace.readthedocs.io/en/stable/integrations.html#aiohttp
Bottle>= 0.11https://ddtrace.readthedocs.io/en/stable/integrations.html#bottle
Django>= 1.8https://ddtrace.readthedocs.io/en/stable/integrations.html#django
djangorestframework>= 3.4https://ddtrace.readthedocs.io/en/stable/integrations.html#django
Falcon>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#falcon
Flask>= 0.10https://ddtrace.readthedocs.io/en/stable/integrations.html#flask
Molten>= 0.7.0https://ddtrace.readthedocs.io/en/stable/integrations.html#molten
Pylons>= 0.9.6https://ddtrace.readthedocs.io/en/stable/integrations.html#pylons
Pyramid>= 1.7https://ddtrace.readthedocs.io/en/stable/integrations.html#pyramid
Tornado>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#tornado

Datastore Compatibility

The ddtrace library includes support for the following data stores:

DatastoreSupported VersionLibrary Documentation
Cassandra>= 3.5https://ddtrace.readthedocs.io/en/stable/integrations.html#cassandra
Elasticsearch>= 1.6https://ddtrace.readthedocs.io/en/stable/integrations.html#elasticsearch
Flask Cache>= 0.12https://ddtrace.readthedocs.io/en/stable/integrations.html#flask-cache
Memcached pylibmc>= 1.4https://ddtrace.readthedocs.io/en/stable/integrations.html#pylibmc
Memcached pymemcache>= 1.3https://ddtrace.readthedocs.io/en/stable/integrations.html#pymemcache
MongoDB Mongoengine>= 0.11https://ddtrace.readthedocs.io/en/stable/integrations.html#mongoengine
MongoDB Pymongo>= 3.0https://ddtrace.readthedocs.io/en/stable/integrations.html#pymongo
MySQL MySQL-python>= 1.2.3https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.mysqldb
MySQL mysqlclient>= 1.3https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.mysqldb
MySQL mysql-connector>= 2.1https://ddtrace.readthedocs.io/en/stable/integrations.html#mysql-connector
Postgres aiopg>= 0.12.0https://ddtrace.readthedocs.io/en/stable/integrations.html#aiopg
Postgres psycopg>= 2.4https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.psycopg
Redis>= 2.6https://ddtrace.readthedocs.io/en/stable/integrations.html#redis
Redis redis-py-cluster>= 1.3.5https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.rediscluster
SQLAlchemy>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#sqlalchemy
SQLite3Fully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#sqlite
Vertica>= 0.6https://ddtrace.readthedocs.io/en/stable/integrations.html#vertica

Library Compatibility

The ddtrace library includes support for the following libraries:

LibrarySupported VersionLibrary Documentation
asyncioFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#asyncio
gevent>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#gevent
aiobotocore>= 0.2.3https://ddtrace.readthedocs.io/en/stable/integrations.html#aiobotocore
Boto2>= 2.29.0https://ddtrace.readthedocs.io/en/stable/integrations.html#boto2
Botocore>= 1.4.51https://ddtrace.readthedocs.io/en/stable/integrations.html#botocore
Celery>= 4.0.2https://ddtrace.readthedocs.io/en/stable/integrations.html#celery
FuturesFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#futures
Grpc>= 1.8.0https://ddtrace.readthedocs.io/en/stable/integrations.html#grpc
httplibFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#httplib
Jinja2>= 2.7https://ddtrace.readthedocs.io/en/stable/integrations.html#jinja2
Kombu>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#kombu
Mako>= 0.1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#mako
Requests>= 2.08https://ddtrace.readthedocs.io/en/stable/integrations.html#requests

Further Reading

Additional helpful documentation, links, and articles: