Skip to main content

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.

Source Distribution

csharpy-0.1.53.tar.gz (32.5 kB view details)

Uploaded Source

Built Distribution

csharpy-0.1.53-cp36-cp36m-win_amd64.whl (24.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file csharpy-0.1.53.tar.gz.

File metadata

  • Download URL: csharpy-0.1.53.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for csharpy-0.1.53.tar.gz
Algorithm Hash digest
SHA256 b0a27e70bd92a511496363cff464f282dfae4e530af5817547cab2d69eb1a672
MD5 4440b8e6b973c3de071d63b5e818de84
BLAKE2b-256 6e1e8c1014088ab809d785dfd0b5c04e0389da1a26293336abbf8a4c84a9830f

See more details on using hashes here.

File details

Details for the file csharpy-0.1.53-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for csharpy-0.1.53-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0dab4f9e5d7ece3a7c6334797ee0b7556366b93878b40cecb9a93c2cbc46dac4
MD5 dc84e838bb69e8c0afc1e0e478dc0acd
BLAKE2b-256 0db0548f07ff00e8a3c6363c35815994c88a054897455bba77d036770336d95a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page