Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 3.44 KB

File metadata and controls

83 lines (65 loc) · 3.44 KB

DotNetPythonBridge — Installation & Quick Start

This document explains how to install DotNetPythonBridge from the downloadable ZIP (included with commercial purchases) or from a NuGet feed, and troubleshooting tips. It covers both Windows (PowerShell) and cross‑platform (bash/WSL) commands.

Contents of the downloadable ZIP

  • DotNetPythonBridge.1.0.0-beta.2.nupkg
  • DotNetPythonBridge.1.0.0-beta.2.snupkg
  • README_INSTALL.md
  • COMMERCIAL_LICENSE.md
  • SampleApp (folder with a .NET app that demonstrates usage)

Prerequisites

  • .NET SDK 8.0: Ensure you have the .NET SDK version 8.0 installed on your machine. This SDK is required to build and run .NET applications using the DotNetPythonBridge.
  • A project that targets a compatible framework (see NuGet package description)
  • Visual Studio, Rider, or VS Code for development
  • If using WSL: an installed Linux distribution with Python available
  • Conda or Mamba for Python environment management

Installation options (choose one)

A — Install from local ZIP (recommended for Lemon Squeezy downloadable) Extract the ZIP to a folder (example: C:\DotNetPythonBridgeDownloads or /home/user/DotNetPythonBridgeDownloads).

PowerShell (Windows)

# create a local folder and extract ZIP (if needed)
Expand-Archive -Path .\DotNetPythonBridge-1.0.0-beta.2.zip -DestinationPath C:\DotNetPythonBridgeDownloads

# add a local nuget source
dotnet nuget add source "C:\DotNetPythonBridgeDownloads" -n DotNetPythonBridgeLocal

# add package to your project
dotnet add path\to\YourProject.csproj package DotNetPythonBridge --version 1.0.0-beta.2 --source DotNetPythonBridgeLocal

# restore and build
dotnet restore
dotnet build

Bash / macOS / Linux / WSL

# extract
unzip DotNetPythonBridge-1.0.0-beta.2.zip -d ~/DotNetPythonBridgeDownloads

# add a local nuget source
dotnet nuget add source "~/DotNetPythonBridgeDownloads" -n DotNetPythonBridgeLocal

# add package to your project
dotnet add path/to/YourProject.csproj package DotNetPythonBridge --version 1.0.0-beta.2 --source DotNetPythonBridgeLocal

# restore & build
dotnet restore
dotnet build

B — Install from NuGet.org

# from repo root or project folder
dotnet add path/to/YourProject.csproj package DotNetPythonBridge --version 1.0.0-beta.2
dotnet restore
dotnet build

Example quick start (run the Sample App)

  1. Open the sample folder (DotNetPythonBridge.SampleApp).
  2. Build & run:
dotnet build DotNetPythonBridge.SampleApp
dotnet run --project DotNetPythonBridge.SampleApp
  1. The sample app allows you test the bridge and see example code, including how to start python service, call python code, and handle results (natively or WSL).

Support & contact

Contact & contribution

Thank you for trying DotNetPythonBridge — if anything in this install guide is unclear, open a GitHub Discussion or send the order ID to support and we’ll help you get running quickly.