This python:v2 OpenSAFELY image is based on Ubuntu 22.04 with Python 3.10.12.
It comes pre-installed with a standard set of python packages.
- anyio: 4.1.0
- argon2-cffi: 23.1.0
- argon2-cffi-bindings: 21.2.0
- arrow: 1.3.0
- astor: 0.8.1
- asttokens: 2.4.1
- async-lru: 2.0.4
- attrs: 23.1.0
- autograd: 1.6.2
- autograd-gamma: 0.5.0
- babel: 2.13.1
- bash-kernel: 0.9.3
- beautifulsoup4: 4.12.2
- bleach: 6.1.0
- build: 1.0.3
- cairocffi: 1.6.1
- cairosvg: 2.7.1
- certifi: 2023.11.17
- cffi: 1.16.0
- charset-normalizer: 3.3.2
- click: 8.1.7
- comm: 0.2.0
- contourpy: 1.2.0
- coverage: 7.3.2
- cssselect2: 0.7.0
- cycler: 0.12.1
- debugpy: 1.8.0
- decorator: 5.1.1
- defusedxml: 0.7.1
- exceptiongroup: 1.2.0
- executing: 2.0.1
- fastjsonschema: 2.19.0
- fonttools: 4.46.0
- formulaic: 0.6.6
- fqdn: 1.5.1
- future: 0.18.3
- idna: 3.6
- iniconfig: 2.0.0
- interface-meta: 1.3.0
- ipykernel: 6.27.1
- ipython: 8.18.1
- ipywidgets: 8.1.1
- isoduration: 20.11.0
- jedi: 0.19.1
- jinja2: 3.1.2
- joblib: 1.3.2
- json5: 0.9.14
- jsonpointer: 2.4
- jsonschema[format-nongpl]: 4.20.0
- jsonschema-specifications: 2023.11.2
- jupyter-client: 8.6.0
- jupyter-console: 6.6.3
- jupyter-core: 5.5.0
- jupyter-events: 0.9.0
- jupyter-lsp: 2.2.1
- jupyter-server: 2.11.2
- jupyter-server-terminals: 0.4.4
- jupyterlab: 4.0.9
- jupyterlab-pygments: 0.3.0
- jupyterlab-server: 2.25.2
- jupyterlab-widgets: 3.0.9
- jupytext: 1.16.0
- kaleido: 0.2.1
- kiwisolver: 1.4.5
- lifelines: 0.27.8
- llvmlite: 0.41.1
- lz4: 4.3.2
- markdown-it-py: 3.0.0
- markupsafe: 2.1.3
- matplotlib: 3.8.2
- matplotlib-inline: 0.1.6
- mdit-py-plugins: 0.4.0
- mdurl: 0.1.2
- mistune: 3.0.2
- nbclient: 0.9.0
- nbconvert: 7.12.0
- nbformat: 5.9.2
- nbval: 0.10.0
- nest-asyncio: 1.5.8
- notebook: 7.0.6
- notebook-shim: 0.2.3
- numba: 0.58.1
- numpy: 1.26.2
- opensafely-cohort-extractor: 1.90.0
- opensafely-matching: 0.2.0
- overrides: 7.4.0
- packaging: 23.2
- pandas: 2.1.3
- pandocfilters: 1.5.0
- parso: 0.8.3
- pexpect: 4.9.0
- pillow: 10.1.0
- pip-tools: 7.3.0
- platformdirs: 4.1.0
- plotly: 5.18.0
- pluggy: 1.3.0
- prometheus-client: 0.19.0
- prompt-toolkit: 3.0.41
- psutil: 5.9.6
- ptyprocess: 0.7.0
- pure-eval: 0.2.2
- py: 1.11.0
- pyarrow: 14.0.1
- pycparser: 2.21
- pygments: 2.17.2
- pyparsing: 3.1.1
- pyproject-hooks: 1.0.0
- pytest: 7.4.3
- python-dateutil: 2.8.2
- python-json-logger: 2.0.7
- pytz: 2023.3.post1
- pyyaml: 6.0.1
- pyzmq: 25.1.2
- referencing: 0.31.1
- requests: 2.31.0
- retry: 0.9.2
- rfc3339-validator: 0.1.4
- rfc3986-validator: 0.1.1
- rpds-py: 0.13.2
- scikit-learn: 1.3.2
- scipy: 1.11.4
- seaborn: 0.13.0
- send2trash: 1.8.2
- six: 1.16.0
- sniffio: 1.3.0
- soupsieve: 2.5
- sqlparse: 0.4.4
- stack-data: 0.6.3
- structlog: 23.2.0
- tabulate: 0.9.0
- tenacity: 8.2.3
- terminado: 0.18.0
- threadpoolctl: 3.2.0
- tinycss2: 1.2.1
- toml: 0.10.2
- tomli: 2.0.1
- tornado: 6.4
- tqdm: 4.66.1
- traitlets: 5.14.0
- types-python-dateutil: 2.8.19.14
- typing-extensions: 4.8.0
- tzdata: 2023.3
- upsetplot: 0.8.0
- uri-template: 1.3.0
- urllib3: 2.1.0
- venn: 0.1.3
- wcwidth: 0.2.12
- webcolors: 1.13
- webencodings: 0.5.1
- websocket-client: 1.7.0
- wheel: 0.42.0
- widgetsnbextension: 4.0.9
- wrapt: 1.16.0