sharpyc 0.22.1

dotnet tool install --global sharpyc --version 0.22.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.22.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=sharpyc&version=0.22.1
                    
nuke :add-package sharpyc --version 0.22.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.22.1 81 10/11/2026
0.22.0 99 10/4/2026
0.21.0 100 9/30/2026
0.20.0 110 9/16/2026
0.19.0 123 9/5/2026
0.18.0 117 9/4/2026
0.17.0 117 8/30/2026
0.16.1 119 8/20/2026