-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command-line functionality to uuid module #88597
Comments
Suggested functionality:
|
I think it would be a useful feature. But would not be better to make interface similar to interface of standard Linux command uuidgen? In any case it should support the -h or --help options. |
@ephenix would you still like to work on this as I see you've closed your PR? If not, I'd like to work on this; I'll wait a couple of days to give you a chance to respond if you'd still like to continue. |
I lost track of this -- feel free to take my pull request and do anything necessary to get it merged. IIRC the changes I made were working. |
The `uuid` module now supports command line usage. ```python ❯ ./python.exe -m uuid 5f2d57b1-90e8-417c-ba5d-69b9b6f74289 ❯ ./python.exe -m uuid -h usage: uuid.py [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-ns NAMESPACE] [-n NAME] ... ```
thanks for the contribution. |
Thank you for your contribution @achhina. But I have few nitpicks:
I propose to rename |
@serhiy-storchaka that makes sense, I can create a follow-up patch in regards to the proposed changes if everyone agrees - cc @gpshead. |
Good thinking Serhiy, those changes makes sense to me. |
Just @ me on the PR when you've created one @achhina. |
…1248) this way they match an existing uuidgen command line tool.
thanks for the contribution! |
python#101248) this way they match an existing uuidgen command line tool.
python#101248) this way they match an existing uuidgen command line tool.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: