Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Tools to use C# + Python mostly from Python.

Project description

README

Build status Build Status Windows https://circleci.com/gh/sdpython/csharpy/tree/master.svg?style=svg https://badge.fury.io/py/csharpy.svg GitHub Issues MIT License https://coveralls.io/repos/sdpython/csharpy/badge.svg?branch=master&service=github Requirements Status https://codecov.io/github/sdpython/csharpy/coverage.svg?branch=master Notebook Coverage

Links:

Introduction

Helpers to play with C# and Python. It can easily compile and wrap a C# function into Python:

from csharpy.runtime import create_cs_function
code = "public static double SquareX(double x) {return x*x ; }"
SquareX = create_cs_function("SquareX", code)
print(SquareX(4))

The module relies in pythonnet.

History

current - 2018-05-21 - 0.00Mb

0.0.0 - 2018-05-21 - 0.00Mb

  • 2: fix CI (2018-05-20)
  • 1: first commit (2018-05-17)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for csharpy, version 0.1.53
Filename, size File type Python version Upload date Hashes
Filename, size csharpy-0.1.53-cp36-cp36m-win_amd64.whl (24.5 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size csharpy-0.1.53.tar.gz (32.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page