nimpy icon indicating copy to clipboard operation
nimpy copied to clipboard

Nim - Python bridge

Results 30 nimpy issues
Sort by recently updated
recently updated
newest added

Hello yglukov, i'm playing with ZODB and need some double-underscore attributes for the persistence-machinery to work. Whatever is easier to implement - 'slots' would suffice, 'dict' might have a broader...

I have a default installation of python 3.12, nim 2, and nimpy (via nimble) on Windows 11 and nimpy is unable to import any python modules and I receive the...

it's surprisingly hard to find libpython in a robust way; this does the trick but relies on an external python package `find_libpython`: ``` # ubuntu: $ pip3 install find_libpython $...

Fixes #207 # Old behavior Whenever an Exception was raised nim code, the `nimpy` python module would raise a corresponding `nimpy.`. This Exception object is a subclass of `BaseException` in...

I want to except nimpy.KeyError. However I can't do it. Example: ``` python try: # Some code: call Nim by nimpy except KeyError as e: # I can't catch nimpy.KeyError...

with a recent installation of nimpy on Mac (M1), the following does not work: ```nim import nimpy let py = pyBuiltinsModule() discard py.exec("sum([1, 2, 3])") ``` and throws error ```shell...

Hi, first of all thanks to this library. This is such an interesting project. I wonder how do you pass windows data types like HWND, HBRUSH, HDC from python to...

I want to use the Taichi python package: https://www.taichi-lang.org/ To generate GPU kernels, I need to annotate python functions like this: ```python import taichi as ti import taichi.math as tm...

I get this line "Could not find platform dependent libraries " when using python 3.11 with nimpy on windows. Using python in any other way does not cause this message...

Hi friends! I was playing around with `PyNimObjectExperimental` and I found that iterators are not exported. For example: ```nim # mymodule.nim import nimpy type TestType = ref object of PyNimObjectExperimental...

feature request