Skip to main content

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 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 on pythonnet.

Installation

Windows

pip install csharpy

Linux

Follow the instructions described in config.yml.

History

current - 2019-01-08 - 0.00Mb

  • 9: implements sphinx extension runcsharp (2018-08-19)

  • 8: catch standard output and error when running a C# script (2018-08-19)

  • 5: run unit tests for C# (2018-06-16)

  • 6: add Debug and Release folder in assemblies (2018-06-14)

0.1.53 - 2018-05-20 - 0.02Mb

  • 2: fix CI (2018-05-20)

  • 1: first commit (2018-05-17)

Release files for csharpy 0.1.116

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for csharpy 0.1.116
File Interpreter ABI Platform
csharpy-0.1.116-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details

Release files / csharpy-0.1.116-cp37-cp37m-win_amd64.whl

Download URL csharpy-0.1.116-cp37-cp37m-win_amd64.whl
Size 109.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
da56cd7d0fdab9fd7d30ff433064c9683e383bc8ad11b200d50405606c6a2a27
BLAKE2b-256 checksum
How to use checksums
e13aac2bd0f9474ee4b813fa5f717309c50eec820c3687c508eeb9ec6659f287
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

0.1.116 This release

1 release file

0.1.53

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page