notcurses icon indicating copy to clipboard operation
notcurses copied to clipboard

Python wrappers incomplete?

Open omgold opened this issue 10 months ago • 0 comments

I'm trying to use the lib from Python, but I'm not sure I get how this should be done.

I see 2 different sets of bindings, one in /cffi and one in /python and . The former is rather incomplete (e.g. not boxes, widgets, etc.). The latter seems to have most (all?) bindings implemented in C, but notcurses.py contains only stubs. The examples for the latter won't run because of that:

Traceback (most recent call last):
  File "<...>/notcurses/src/notcurses-3.0.14/python/examples/009-box.py", line 4, in <module>
    notcurses = nc.Notcurses()
  File "<...>/notcurses/src/notcurses-3.0.14/python/notcurses/notcurses.py", line 330, in __init__
    raise NotImplementedError('Stub')
NotImplementedError: Stub

omgold avatar Apr 27 '25 14:04 omgold