skillfed

dotnetcore2

.Net Core 3.1 runtime

dotnetcore2 v3.1.23 111.3K downloads/30d#12,421 on PyPI22,031
Permissive license Active released

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 dotnetcore2

uv

uv add dotnetcore2

poetry

poetry add dotnetcore2

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT License

Tags

.net core runtime pythondotnet interop from pythonembed dotnet in pythoncross-platform dotnet wheelpython .net integrationazure machine learning dotnetcall csharp from python
dotnet-interopazure-ml

More Software Development packages