
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
.. image:: https://travis-ci.org/tylerdave/prompter.svg?branch=master :target: https://travis-ci.org/tylerdave/prompter
.. image:: http://badge.fury.io/py/prompter.png :target: http://badge.fury.io/py/prompter
.. image:: https://coveralls.io/repos/tylerdave/prompter/badge.svg?branch=master :target: https://coveralls.io/r/tylerdave/prompter?branch=master
Simple CUI prompt input for Python
Install the latest stable from PyPi::
pip install prompter
Install the latest development version from master::
pip install git+git://github.com/tylerdave/prompter
.. code-block:: python
from prompter import prompt, yesno
prompt('What is your name?') What is your name? Dave 'Dave'
prompt('What is your name?', default='Jenn') What is your name? [Jenn] 'Jenn'
prompt('What is your name?', default='Jenn', suffix='\n > ') What is your name? [Jenn]
'Jenn'
prompt('Enter text surrounded by spaces.', strip=False) Enter text surrounded by spaces. text ' text '
yesno('Really?') Really? [Y/n] True
yesno('Really?') Really? [Y/n] no False
yesno('Really?', default='no') Really? [y/N] True
yesno('') [Y/n] n False
Please open an issue on Github if you notice problems or have suggestions!
FAQs
Simple CUI input prompt
We found that prompter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.