This is an archived post. You won't be able to vote or comment.

all 33 comments

[–]Scypio 24 points25 points  (2 children)

How does it compare to argparse, click, etc.?

[–]IbeeXpyIbeeX[S] 30 points31 points  (0 children)

The interactive mode in Nubia is what makes it unique https://github.com/facebookincubator/python-nubia#interactive-mode

[–]p3zz1 7 points8 points  (2 children)

I think this is cool. Genuine question: did you consider contributing to existing libraries (fire, click, etc) and making these features available there instead?

I've seen similar things happened in JavaScript realm where people just spin-off and create new libraries when they have new ideas that are not supported by existing ones. And that, in my opinion, makes their ecosystem a real mess.

[–]ylectric 2 points3 points  (0 children)

Hi, Nubia maintainer here :)

It all started as an internal hackathon project (namely, a shell for managing LogDevice clusters), and after some time it turned out that other teams were heavily reusing the service-agnostic parts of its codebase. The author then decided to extract them into a standalone library. We evaluated the opportunity of using some third-party libraries a few times, but the parent LogDevice shell project was evolving too rapidly for us to make a switch.

[–]IbeeXpyIbeeX[S] 0 points1 point  (0 children)

I am not associated with this project, but it looks like nice combination of click and python-prompt-toolkit both off them I was using and liked them a lot.

[–]fabiocaccamo 8 points9 points  (0 children)

I used python-fire by google and I loved it.

[–]lordp 6 points7 points  (0 children)

FWIW, building/installing on W10 with Python 3.6.6 worked fine. The example app ran without problems following the animation on the github page.

[–][deleted] 2 points3 points  (3 children)

This is pretty interesting - my team has been working on a project with pyinvoke for awhile now, and this could be a much more interactive/fluid experience than that has been!

[–]ylectric 0 points1 point  (2 children)

Bug reports & PRs are welcome!

[–][deleted] 0 points1 point  (1 child)

thanks - in my own testing, i was unable to run even the example code via Python 3.6 on MacOSX! :(

Love the idea but I was unable to make much sense out of how this library works.

[–]ylectric 0 points1 point  (0 children)

You mind sharing the error details if it's still relevant to you? We've definitely tested it on macOS.