Comments (10)
While I appreciate that textual is quite sophisticated & in that sense supersedes bullet, the thing I like about bullet is that it's so easy to just quickly get some simple prompts working. Textual's docs are a bit daunting as it does so much, so for small projects where you just want a Yes/No or Password input, Textual feels like overkill.
from bullet.
I tried emailing the maintainer a long time ago (July 2021) asking if I could offer my services as a maintainer to help triage issues and deal with PRs, etc. No response whatsoever unfortunately.
from bullet.
Might have to fork it. Or, consider another library. Lots of areas for improvement.
from bullet.
I started using it in several projects years ago. Switching to another library (assuming one can be found that is similar in function and ease of use) would be a bit of work, but using an abandoned library is also unappealing. Any ideas of maintained alternatives? (Or can @a-luna let us know if you decide to fork?)
from bullet.
Well there is SimpleTerm https://pypi.org/project/simple-term-menu/ - I have not used it but at least there was a release a couple of months ago.
Maybe we should collectively take over this repo, or fork it and start making it better. Anyone want in with me? Or should I try the simple-term route to see if that's a reasonable alternative?
from bullet.
Sorry for the delayed response, I would definitely be willing to fork and participate as a maintainer.
I do not have the bandwidth to take over the project solely by myself, but would love to help create/maintain the roadmap, merge/reject the current PR backload, and triage issues.
I would only be willing to move forward if the two of you (@jeffwright13 and @davedittrich) can commit to a similar workload. Any lurkers out there reading this please chime in if you would also be willing to help out.
However, it might be wise to create a single new release of bullet that merges critical PRs and fixes blocking issues and cease new development.
Why? Because @willmcgugan (creator of the excellent rich library (over βοΈ39K)) is working on a terminal UI framework called textual (over βοΈ13K) which honestly makes bullet look sad and unnecessary in comparison.
I can see there being an argument for bullet as a different category than textual, with a much, much smaller feature set that therefore makes it easier to learn, thus requiring less time to apply to a project. And if you really only need the menu system that bullet provides, trying to figure out how to create the same experience in textual would require a steep learning curve for no benefit since you won't ever use the other 95% of textual's features.
Sorry for this somewhat contradictory ramble of ideas, I'd love to hear both of your thoughts (and anybody else out there reading this, please reply as well!)
from bullet.
Hi @a-luna,
Yes, I would be willing to commit to such a workload. TBH this is a fairly small codebase, and I don't think it would be too much effort to get it into a state where it's meeting everyone's needs (i.e. PRs merged, critical bugs addressed, etc.). I would look to you for guidance on the roadmap but I can provide help with PR reviews, fixing issues, etc. I'd also like to see some tests put in place and possibly a Github Actions build/release train.
BUT - what I like about Bullet as it stands now is (1) the code is in place and it mostly works; (2) it's really easy to get off the ground and running without a lot of setup. :-)
As far as Textual goes, I'm not sure a full blown TUI is necessary for such a simple application as this, but maybe I am missing something. I can certainly see how Rich (the 'other' Will McGugan library that Textual depends on) would put a fresh face on Bullet though. I am pretty familiar with both Rich and Textual, having used Textual to build up a TUI for the pytest-tui plugin, so it would be fun to use those to make over Bullet.
from bullet.
https://github.com/h4rldev/rebullet π
from bullet.
Hi! Would you mind providing a brief context on the pull requests and/or fixes you've applied in your fork? Thanks!
from bullet.
Hi! Would you mind providing a brief context on the pull requests and/or fixes you've applied in your fork? Thanks!
- I've merged most or all pull requests on this repo
- Done some documentation fixes
- Fixed some code structure
- Fixed yesno
There might be more, I haven't worked on rebullet in a while, but I can say it works on 3.10, I don't really know if it works below 3.10, if it doesn't. Make a pull request that reverses these 3.10 only features π
Although I might not be able to fix any new issues right now, I haven't worked in python in a while, neither do I have my environment set-up, waiting on a new m.2 ssd.
from bullet.
Related Issues (20)
- feature request - check if value is integer and ask to re-enter if not
- ScrollBar fails with "IndexError: list index out of range" when choices contains a single element. HOT 4
- Feature request: Scrollbar for Check
- Next release? HOT 1
- [Query] Callbacks and Validators HOT 1
- Multiline input
- TypeError: launch() got an unexpected keyword argument 'default' in 2.2.0 HOT 1
- Supported Python Versions And Contribution Guidelines HOT 1
- [BUG] TypeError: expected string or bytes-like object when entering e.g. "Γ€, ΓΌ, ΓΆ"
- How to contribute win32 and keyhandling updates to bullet HOT 1
- [Query] Validator for Input HOT 1
- Multiline Bullet
- Only Ascii characters accepted HOT 3
- Feature request: set a key to exit from a Check list without any selection HOT 1
- pycharm console running error
- Pull added with Windows support and more
- How to quit a SlidePrompt ? HOT 2
- Feature request: clear last prompt
- Input with strip=True will error when user presses the down arrow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bullet.