Giter Site home page Giter Site logo

Comments (3)

frougon avatar frougon commented on May 21, 2024 1

Hello,

Concerning the mention of "dialog-like" backends, pythondialog supports any program that is dialog-compatible (there is a keyword argument in the Dialog constructor to specify the executable). In the past, Xdialog used to be mostly dialog-compatible and was supported. Then divergences became too important between the two backend interfaces (APIs) and this support was dropped.

Regarding using urwid as a pure-Python backend, you could investigate it as an independent project, but for the time being, I'm sad to say I won't be able to do such investigation, much less the subsequent coding work. Besides, I fear that merging this into pythondialog along with the current dialog-backend support would be very uncomfortable and ugly. A separate project could keep a compatible API, though, if urwid satisfies the needs.

Regards

from pythondialog.

ztane avatar ztane commented on May 21, 2024

For my immediate needs I wrote a piece of Python code that can figure out how to install dialog the original on the user's computer.

from pythondialog.

frougon avatar frougon commented on May 21, 2024

Okay... good for you, but I'm not sure I can do much about the "issue", then. If you think your script is very useful and clean enough, it might be included in a contrib directory along with a suitable README.txt. But I'm concerned about shipping a script that automatically downloads and installs stuff using the HTTP protocol. Or is it better than that? Maybe you are using an internal mirror? Anyway, the README.txt would serve to warn users about these kinds of possible issues.

Concerning the addition of a backend that is very very far from being dialog-compatible (e.g., urwid), as said I think it falls out of the scope of pythondialog (but could be a separate project); and unfortunately, I won't work myself on such a think in the foreseeable future.

To be clear: if there were a well-working, 100% compatible replacement of the dialog backend using a pure-Python library that is easy to install, in principle I think it could be considered, with the idea of replacing the dialog backend. What I want to avoid is to have to monitor and update interface code with several backends, because that's annoying and error-prone.

Regards

from pythondialog.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.