Initial commit: Tamigo CLI with Gitea Actions and global installation support
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,19 @@
|
||||
Copyright 2020 Tom Bocklisch and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,143 @@
|
||||
Metadata-Version: 2.3
|
||||
Name: questionary
|
||||
Version: 2.1.1
|
||||
Summary: Python library to build pretty command line user prompts ⭐️
|
||||
License: MIT
|
||||
Keywords: cli,ui,inquirer,questions,prompt
|
||||
Author: Tom Bocklisch
|
||||
Author-email: tombocklisch@gmail.com
|
||||
Maintainer: Tom Bocklisch
|
||||
Maintainer-email: tombocklisch@gmail.com
|
||||
Requires-Python: >=3.9
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Topic :: Software Development :: Libraries
|
||||
Requires-Dist: prompt_toolkit (>=2.0,<4.0)
|
||||
Project-URL: Documentation, https://questionary.readthedocs.io/
|
||||
Project-URL: Repository, https://github.com/tmbo/questionary
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# Questionary
|
||||
|
||||
[](https://pypi.org/project/questionary/)
|
||||
[](#)
|
||||
[](#)
|
||||
[](https://coveralls.io/github/tmbo/questionary?branch=master)
|
||||
[](https://pypi.python.org/pypi/questionary)
|
||||
[](https://questionary.readthedocs.io/en/latest/?badge=latest)
|
||||
|
||||
✨ Questionary is a Python library for effortlessly building pretty command line interfaces ✨
|
||||
|
||||
* [Features](#features)
|
||||
* [Installation](#installation)
|
||||
* [Usage](#usage)
|
||||
* [Documentation](#documentation)
|
||||
* [Support](#support)
|
||||
|
||||
|
||||

|
||||
|
||||
```python3
|
||||
import questionary
|
||||
|
||||
questionary.text("What's your first name").ask()
|
||||
questionary.password("What's your secret?").ask()
|
||||
questionary.confirm("Are you amazed?").ask()
|
||||
|
||||
questionary.select(
|
||||
"What do you want to do?",
|
||||
choices=["Order a pizza", "Make a reservation", "Ask for opening hours"],
|
||||
).ask()
|
||||
|
||||
questionary.rawselect(
|
||||
"What do you want to do?",
|
||||
choices=["Order a pizza", "Make a reservation", "Ask for opening hours"],
|
||||
).ask()
|
||||
|
||||
questionary.checkbox(
|
||||
"Select toppings", choices=["foo", "bar", "bazz"]
|
||||
).ask()
|
||||
|
||||
questionary.path("Path to the projects version file").ask()
|
||||
```
|
||||
|
||||
Used and supported by
|
||||
|
||||
[<img src="https://raw.githubusercontent.com/tmbo/questionary/master/docs/images/rasa-logo.svg" width="200">](https://github.com/RasaHQ/rasa)
|
||||
|
||||
## Features
|
||||
|
||||
Questionary supports the following input prompts:
|
||||
|
||||
* [Text](https://questionary.readthedocs.io/en/stable/pages/types.html#text)
|
||||
* [Password](https://questionary.readthedocs.io/en/stable/pages/types.html#password)
|
||||
* [File Path](https://questionary.readthedocs.io/en/stable/pages/types.html#file-path)
|
||||
* [Confirmation](https://questionary.readthedocs.io/en/stable/pages/types.html#confirmation)
|
||||
* [Select](https://questionary.readthedocs.io/en/stable/pages/types.html#select)
|
||||
* [Raw select](https://questionary.readthedocs.io/en/stable/pages/types.html#raw-select)
|
||||
* [Checkbox](https://questionary.readthedocs.io/en/stable/pages/types.html#checkbox)
|
||||
* [Autocomplete](https://questionary.readthedocs.io/en/stable/pages/types.html#autocomplete)
|
||||
|
||||
There is also a helper to [print formatted text](https://questionary.readthedocs.io/en/stable/pages/types.html#printing-formatted-text)
|
||||
for when you want to spice up your printed messages a bit.
|
||||
|
||||
## Installation
|
||||
|
||||
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Questionary:
|
||||
|
||||
```bash
|
||||
pip install questionary
|
||||
```
|
||||
✨🎂✨
|
||||
|
||||
## Usage
|
||||
|
||||
```python
|
||||
import questionary
|
||||
|
||||
questionary.select(
|
||||
"What do you want to do?",
|
||||
choices=[
|
||||
'Order a pizza',
|
||||
'Make a reservation',
|
||||
'Ask for opening hours'
|
||||
]).ask() # returns value of selection
|
||||
```
|
||||
|
||||
That's all it takes to create a prompt! Have a [look at the documentation](https://questionary.readthedocs.io/)
|
||||
for some more examples.
|
||||
|
||||
## Documentation
|
||||
|
||||
Documentation for Questionary is available [here](https://questionary.readthedocs.io/).
|
||||
|
||||
## Support
|
||||
|
||||
Please [open an issue](https://github.com/tmbo/questionary/issues/new)
|
||||
with enough information for us to reproduce your problem.
|
||||
A [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)
|
||||
would be very helpful.
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are very much welcomed and appreciated. Head over to the documentation on [how to contribute](https://questionary.readthedocs.io/en/stable/pages/contributors.html#steps-for-submitting-code).
|
||||
|
||||
## Authors and Acknowledgment
|
||||
|
||||
Questionary is written and maintained by Tom Bocklisch and Kian Cross.
|
||||
|
||||
It is based on the great work by [Oyetoke Toby](https://github.com/CITGuru/PyInquirer)
|
||||
and [Mark Fink](https://github.com/finklabs/whaaaaat).
|
||||
|
||||
## License
|
||||
Licensed under the [MIT License](https://github.com/tmbo/questionary/blob/master/LICENSE). Copyright 2021 Tom Bocklisch.
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
Tom Bocklisch
|
||||
Copyright 2019 Tom Bocklisch
|
||||
|
||||
----
|
||||
|
||||
This product includes software from PyInquirer (https://github.com/CITGuru/PyInquirer),
|
||||
under the MIT License.
|
||||
|
||||
Copyright 2018 Oyetoke Toby and contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
----
|
||||
|
||||
This product includes software from whaaaaat (https://github.com/finklabs/whaaaaat),
|
||||
under the MIT License.
|
||||
|
||||
Copyright 2016 Fink Labs GmbH and inquirerpy contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
@@ -0,0 +1,46 @@
|
||||
questionary-2.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
questionary-2.1.1.dist-info/LICENSE,sha256=OkkqttQ2xedfVKmlVt6RxDIsitQI_oScfaH3NSchxjo,1070
|
||||
questionary-2.1.1.dist-info/METADATA,sha256=BZ21KEUJiinGLuGaJzkfjs5_mx5ncDCyyrPCxHDQwrY,5402
|
||||
questionary-2.1.1.dist-info/NOTICE,sha256=EBhJRRP5MqIF8YmmHmMpLWdleQR4nscXWxIFSzPXNfc,2419
|
||||
questionary-2.1.1.dist-info/RECORD,,
|
||||
questionary-2.1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
questionary-2.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
||||
questionary/__init__.py,sha256=bQblqO0QLjc6NAOfmMX8tjdsfRxzCkQxtNYVM4GHAFQ,1630
|
||||
questionary/__pycache__/__init__.cpython-312.pyc,,
|
||||
questionary/__pycache__/constants.cpython-312.pyc,,
|
||||
questionary/__pycache__/form.cpython-312.pyc,,
|
||||
questionary/__pycache__/prompt.cpython-312.pyc,,
|
||||
questionary/__pycache__/question.cpython-312.pyc,,
|
||||
questionary/__pycache__/styles.cpython-312.pyc,,
|
||||
questionary/__pycache__/utils.cpython-312.pyc,,
|
||||
questionary/__pycache__/version.cpython-312.pyc,,
|
||||
questionary/constants.py,sha256=5UlPEjfdyxkBTthdaN3vadDnbGGDJTQbxgykN4W_uA8,1946
|
||||
questionary/form.py,sha256=l5Y3Fu8rW4eO2ZLt0o7zzjquDsjKIPzqfghb7F2x-z4,3426
|
||||
questionary/prompt.py,sha256=6LLkL2L5LtmLU_H-acNpfOmFICr0IKIMFRpftZgIn6E,8481
|
||||
questionary/prompts/__init__.py,sha256=_4rrs9dz_zU_n_i_-RAXT_fCC_6LmAdFCSkAvTjwYrY,940
|
||||
questionary/prompts/__pycache__/__init__.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/autocomplete.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/checkbox.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/common.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/confirm.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/password.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/path.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/press_any_key_to_continue.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/rawselect.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/select.cpython-312.pyc,,
|
||||
questionary/prompts/__pycache__/text.cpython-312.pyc,,
|
||||
questionary/prompts/autocomplete.py,sha256=yhM_Lqv-NdYCzFIWvS3MCy1OYyT5JyVyEnIf_M7lPno,7292
|
||||
questionary/prompts/checkbox.py,sha256=kW5sKSEZetUXpMxdv3xJLgqRMFAaj6vTBJPvYtnXTXI,11564
|
||||
questionary/prompts/common.py,sha256=WcHZB0MJXsuSyAbDFgmOwzhHp9KZ4yUP2FyW9kB_TNM,21719
|
||||
questionary/prompts/confirm.py,sha256=mzSaYX11mO9pCzd2MoytqmOaDKKUXAj6NT9vUqs0rwc,4085
|
||||
questionary/prompts/password.py,sha256=CK-8fcFMHw2bwOg6jIqjo0ySP1PwEUtPAdjH6tzk3ik,1998
|
||||
questionary/prompts/path.py,sha256=p5eQbTLS-9pNaVC--6eEHtLQEqiZXcH5am8BTRnXxpI,9911
|
||||
questionary/prompts/press_any_key_to_continue.py,sha256=jLq3qkDLDEXisfR77IAFgMN8TeRIEHjjGPKpVLyNVbg,1662
|
||||
questionary/prompts/rawselect.py,sha256=ozihfRmHxMLhCh0CftQDq-GUTK8mbDJOPCnK3nUEdME,2486
|
||||
questionary/prompts/select.py,sha256=Z8jMgCnmaPCkNikTIv7xtUgxFdXAjLAQ6MLP4TkIW5I,10864
|
||||
questionary/prompts/text.py,sha256=V1AYXmRYJE8-MyZvEncN15ayvrlN6YC2-QGbGaXwP5k,3403
|
||||
questionary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
questionary/question.py,sha256=R0n9yiEiGsKS2tWhPVJFKxT6xIqBpO2IKQdLUd9l_k0,3998
|
||||
questionary/styles.py,sha256=3or3Uh_rSsEO5_V2guSmGjE7k04-y2TFcz2S8zsfTUo,595
|
||||
questionary/utils.py,sha256=U_pvZFP9FNgx8AjhkU0L1Zb6hIUfgmfaycZyJZ4_baU,2300
|
||||
questionary/version.py,sha256=zPJIgPGcoSNiD0qme18OnYJYE3A9VVytlhO-V5DaAW0,22
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry-core 2.1.3
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
Reference in New Issue
Block a user