dotnetcore2
.Net Core 3.1 runtime
What it is and what it does
dotnetcore2 packages the .NET Core 3.1 runtime as a Python wheel, allowing Python environments to include and use .NET Core without separate system installation. It is cross-platform, supporting Windows (32 and 64-bit), macOS, and Linux x86_64. The package is explicitly designed to support Azure Machine Learning SDK and is not intended for general standalone use.
The runtime is bundled as precompiled platform-specific wheels, which means installation pulls the appropriate binary for your OS. Once installed, Python code can interoperate with .NET Core applications and libraries. The package is marked production-stable and actively maintained, though the latest PyPI release dates to April 2022.
Use it for:
- Running Azure Machine Learning SDK workflows that depend on .NET Core runtime
- Embedding .NET Core functionality in Python applications without requiring separate .NET installation
- Cross-platform Python projects that need to call .NET libraries or executables
- Containerized or cloud environments where .NET Core must be provisioned via Python dependencies
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Bundles the .NET Core 3.1 runtime as a Python wheel, enabling Python code to invoke .NET Core applications and libraries on Windows, macOS, and Linux.
Yes, if you are using Azure Machine Learning SDK or have a specific need to invoke .NET Core from Python. No, if you are looking for a general-purpose .NET runtime or do not have an explicit .NET interop requirement—install .NET Core directly from Microsoft instead. The package is stable and permissively licensed, but its narrow design scope and 2022 release date suggest it is maintained primarily for Azure ML compatibility rather than as a general tool.
Install
dotnetcore2 on PyPI
pip
pip install dotnetcore2uv
uv add dotnetcore2poetry
poetry add dotnetcore2Installing dotnetcore2
Before you install
Medium install friction due to platform-specific wheels (Windows 32/64-bit, macOS, Linux). The package is actively maintained and marked production-stable, with recent repository activity, though the PyPI release is from 2022. Designed primarily to support Azure Machine Learning SDK rather than general use.
License in practice
Licensed under MIT (permissive), allowing use, modification, and distribution with minimal restrictions. No notable licensing constraints for most use cases.
Quickstart
pip install dotnetcore2
import dotnetcore2
# Provides access to .NET Core runtime for interop with .NET code
Requires the appropriate platform-specific wheel (Windows, macOS, or Linux x86_64); Python version support is unspecified in the package metadata.
Verify before relying
- Exact Python version compatibility (requires_python is empty in metadata)
- Whether the package works standalone or only within Azure ML SDK context
- How to actually invoke .NET code from Python after installation
- Support status for ARM64 or other non-x86_64 architectures
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — distro |
| Maintenance | actively maintained — 1,569 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 111,300/month — #12,421 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dotnetcore2-3.1.23-py3-none-macosx_10_9_x86_64.whl; dotnetcore2-3.1.23-py3-none-manylinux1_x86_64.whl; dotnetcore2-3.1.23-py3-none-win32.whl; dotnetcore2-3.1.23-py3-none-win_amd64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pythonnetpythonnet enables Python code to call .NET and…
permissive · top 5,000 on PyPI
clr_loaderLoads and provides a generic interface to call…
unclear · top 5,000 on PyPI
azure-iot-deviceConnects Python applications to Azure IoT Hub…
permissive · top 15,000 on PyPI
azure-mgmt-iotcentralManages Azure IoT Central applications and…
unclear · top 5,000 on PyPI
azureml-sdkProvides a Python SDK to build, train, and…
unclear · top 15,000 on PyPI
msgraph-sdkPython client library for calling Microsoft…
permissive · top 5,000 on PyPI
stpyv8STPyV8 embeds Google V8 JavaScript engine into…
permissive · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
cibuildwheelAutomates building and testing Python wheels…
permissive · top 5,000 on PyPI
msgraph-beta-sdkProvides async-first Python bindings to the…
unclear · top 15,000 on PyPI