PythonNet
dataenforce
Our great sponsors
PythonNet | dataenforce | |
---|---|---|
37 | 2 | |
4,333 | 208 | |
1.7% | - | |
7.2 | 0.0 | |
23 days ago | about 3 years ago | |
C# | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PythonNet
- I modified and hacked away xonsh source code
-
Multi-threaded task processing engine that supports both sync and async execution
I looked into using .NET as a "backend" and the pythonnet library to bridge the gap, but unfortunately that library does not support async. To properly support it would require some kind of integration with the asyncio event loop APIs or implement the AbstractEventLoop interface and some how make it thread-safe - not even sure that's possible with the API design of asyncio itself.
-
[WPF, C#] Need ideas on how to automate these operations based on the response I get from python script.
If you're running the python within C# using Python.NET, then you're somewhat within-process and there are ways of sending the data across. (Return objects, channel/queues, whatever fits your use case.)
-
Found this on a job description. Wasn't aware .Net supports Java & Python! .Net core is really coming along.
I was going to make a joke about Python .NET core .. but .. apparently it's a real thing.
- Announcing .NET 8 Preview 4 - .NET Blog
-
Starting Python, confused about cross platform app development. Is IronPython + .NET the only option?
I am not set on .NET, but just curious, so thanks for the suggestions. Interesting that it's billed as cross-plaform, but doesn't do it that well. I just searched 'python wrapper for .net' and found PythonNET. Also, it seems yes IronPython is active.
-
TIA Openness with Docker
I created a Django based python project that interfaces to TIA Openness to create some Remote IO. To do this I use the pythonnet library. so that I can load the Openness DLL.
- Guidance into the unknown...
- mask detection model made with python, need to make predictions with that model in C#
-
Python's “Disappointing” Superpowers
Any .NET language with https://github.com/pythonnet/pythonnet
dataenforce
-
Swift for TensorFlow Shuts Down
The dependence on library authors is always a challenge in any language. You might have one author using `[a]` where another uses `PositiveNumeric a, Fin n => NonEmptyList n a` for the same thing. You can always just annotate whatever the library author used (e.g. they return a list of strings, so you use List[str]).
There are some interesting further add ons that seem very python, allowing you to go further. For example, with a pandas dataframe you can just say your type is a dataframe which isn't so useful, but it's possible to hack your own types onto it in the vein of https://github.com/CedricFR/dataenforce, or use things like https://smarie.github.io/python-vtypes/ to get smarter typing on things the authors didn't type. I expect that trend will continue.
What fascinates me about python's types is actually the very fact that they are bolted on. You have a language that lets you do crazy things and a type system trying to catch up and make it convenient to verify those crazy things. It's a nice complement to the usual developments of verifying all of the things and slowly extending the set of things you can do.
-
[D] Question: Do you enforce a data format in Pandas? When collecting data over a long period of time, wouldn't it be useful to use a system with versioned schemas that specify how various data entries must be formatted? Give me feedback on this Open Source idea:
https://github.com/CedricFR/dataenforce enforces column names and types, no versioning though. My first instinct is that important data should be stored in databases which enforce schemas, and that should be separate from the python code that reads it.
What are some alternatives?
Iron python - Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).
swift - Swift for TensorFlow
PyWin32 - python for windows extensions
MLJ.jl - A Julia machine learning framework
WinPython - A free Python-distribution for Windows platform, including prebuilt packages for Scientific Python.
julia - The Julia Programming Language
CefSharp - .NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
YOLOv4 - Port of YOLOv4 to C# + TensorFlow
CppSharp - Tools and libraries to glue C/C++ APIs to high-level languages
py2many - Transpiler of Python to many other languages
NuGetForUnity - A NuGet Package Manager for Unity
Enzyme.jl - Julia bindings for the Enzyme automatic differentiator