Comments (19)
There has been some suggestions about what should be done to move the project forward. Besides from handling the PR and the issues, I think the first focus should be on adding more tests of invalid input specs and on invalid arguments passed at runtime and the error messages presented.
from docopt-ng.
@lhupfeldt @graingert moved to Jazzband! Thanks all!
from docopt-ng.
Agreed.
from docopt-ng.
Whatever the next "live" fork is, the first step needs to be to set up a big enough and democratic enough maintenance team to make it sustainable.
from docopt-ng.
Perhaps anyone who is interested in maintaining/contributing, can chime in on this thread, and we can then fork and assemble a team?
from docopt-ng.
I'm in. I even have an issue, when the time comes.
from docopt-ng.
@sesamemucho I am not sure if we should write it from scratch or borrow the code? I think the first thing would be design/define the grammar for the docs.
from docopt-ng.
I was going to say "borrow the code", but then I looked at docopt.py in this repository. It's quite a complex piece for something without a clearly defined grammar. I'd like to help, but I have little experience in designing grammars.
from docopt-ng.
Lets see if we get some others interested, then we can meet online sometime and course a path forward. Initially we can keep the grammar simple.
from docopt-ng.
Hi, sorry for being completely silent after starting this thread.
I'm not actually using docopt (in any form/package) at the moment. I gave it a short try some years ago, but gave up on it because of the difficulty of getting the spec correct, the really bad error messages presented to the users, and the belief of the author of the 'docopt' package that it was 'finished'. Så I have been using 'click' for some years, but that comes with a whole lot of different problems, making it really hard to create nice interfaces.
In my opinion the most critical issue with the docopt-ng implementation is the error messages presented to users. They are basically a dump of some internal state, which does not really help the user determine what is wrong with the input.
The docopt grammar is 'loosely' defined at docopt.org, I have not found a compilable grammar specification anywhere, all the implementations I have seen have hand coded the parser. @pythonmobile do you have experience in grammar specification? Starting from scratch is probably not a small job.
If you decide to put together a community driven project, I will be happy to participate, but cannot promise to put in a lot of effort. I already have a couple of projects requiring my attention.
I would really love to see a well functioning docopt though.
from docopt-ng.
@lhupfeldt I was thinking start with a simplified grammar, which takes a very few lines of code to parse and use. If we keep the grammar consistent and simple perhaps, instead of supporting all the bells and whistles..
from docopt-ng.
perhaps it would be worth moving docopt and docopt-ng into https://github.com/jazzband/ to prevent this sort of lapse in maintainership in future
from docopt-ng.
@graingert if you're volunteering or something - yes
from docopt-ng.
Hi friends - sorry; I had to move ~7 times between June 2019 and June 2021. I now have a mortgage, and do not anticipate further offline spells. I have so much catchup here, and probably elsewhere! Thanks for your patience!
from docopt-ng.
@lhupfeldt not dead, merely was in cryofreeze while I picked up the pieces of my life. Thanks for your patience!
from docopt-ng.
@sesamemucho @graingert @pythonmobile let's talk more!
from docopt-ng.
I'm [email protected] - if anyone in this thread wants to reach out with a vision for next steps, we can figure something out, and I'm happy to add you all as collabs to this project!
from docopt-ng.
@itdaniher it's quite easy to register for a @jazzband membership and then transfer the repository in. Then the bots take over!
I can do this for you if you add me as a repository admin
from docopt-ng.
Nice that you are back @itdaniher
I see the project has already moved to jazzband.
@graingert I just took a look at jazzband. It seems there is only one person with the roadie role. I'm not sure what permissions different people get, but seems like the roadie is the super-admin?
from docopt-ng.
Related Issues (20)
- Written a docopt grammar, interested ? HOT 6
- fork HOT 4
- Performance penalty: combinatorial explosion in `transform` HOT 3
- Make PEP561 compatible (allow mypy to actually find type hints) HOT 8
- When docopt and docopt-ng are in the same venv, docopt takes precedence HOT 6
- Add @NickCrews to test.pypi.org HOT 1
- docopt-ng fails to parse usage string that worked with docopt HOT 4
- Question: auto formatting & sorting imports HOT 5
- Is it possible to separate options in subsections? HOT 2
- Failing to put two spaces in description sometimes results in very obscure error. HOT 1
- Integrate docopt-dispatch in this project HOT 5
- Spaces in default value HOT 3
- Claim `docopt` name on pypi (PEP-541) HOT 10
- assert instr.opname.startswith("CALL_") throws on Python 3.11 HOT 5
- TODO: port spellchecker to suggest, rather than fix
- DISCUSS: future of docopt-ng HOT 17
- docopt.DocoptLanguageError: unmatched '[' HOT 1
- If there is unused data in the command line, the thrown exception doesn't include the collected and left items HOT 1
- command line parsing is storing some options multiple times HOT 2
- Allow dumping of parse tree, to make it easier to check what docopt will actually parse
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 docopt-ng.