IronLanguages / IronLanguages/ironpython3

Loading pyd python modules

Open
#78 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

Many essential python packages (pycrypto, lxml, etc...) come with prebuilt binaries as modules. Usually these packages are written in C and compiled as native windows images as pyd files.
I understand that IronPython can't load native dll-s, so there is no way to use such libraries.

Unfortunately this seems to be a show-blocker for me in my effort to use Cisco YDK Api from IronPython.

But perhaps there is a light at the end of the tunnel....

I found IronClad, that is targeting this issue but seems a bit abandoned. I wanted to ask if someone heard about IronClad, used it, and whether it can effectively solve this problem. Or are there any other possibilities to use these python packages from IronPython ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the IronClad project and the native .pyd loading limitations described in the issue, including the pycrypto, lxml, and Cisco YDK examples. Done means documenting whether IronClad or another supported approach can make these native Python packages usable from IronPython.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.