sharpyc 0.16.1

dotnet tool install --global sharpyc --version 0.16.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local sharpyc --version 0.16.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=sharpyc&version=0.16.1
                    
nuke :add-package sharpyc --version 0.16.1
                    

sharpyc

The Sharpy compiler — a statically-typed Pythonic language for .NET. Write Python-like code that compiles to C# and runs on the CLR.

Install

dotnet tool install -g sharpyc

Quick Start

# Create hello.spy
echo 'print("Hello from Sharpy!")' > hello.spy

# Compile and run
sharpyc run hello.spy

# View generated C#
sharpyc emit csharp hello.spy

# Build a multi-file project
sharpyc project myapp.spyproj

Features

  • Python syntax with static typing
  • Compiles to idiomatic C# via Roslyn
  • Full .NET interop — use any NuGet package
  • Built-in LSP server for editor support
  • Pythonic standard library (json, os, re, math, and 60+ modules)
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.16.1 38 8/20/2026