-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Homer Haddock edited this page Sep 28, 2024
·
5 revisions
This Wiki will go over the entirety of the Input API and how it can be used.
The Input API is a python package to aid user input in the terminal. Designed to be simple to use for beginners and allow more features for advanced users. The Input API can grab most data types, the exception being list-like data types. The Input API can take: strings, boolean, integers, and floats.
All of these install methods are Debian GNU/Linux specific, you may have to alter the commands for Windows or MacOS.
Here is the recommended way of installing the Input API.
- Create a virtual environment (optional)
python -m venv .venv
- Use
pip
to install the package
python -m pip install inputapi
-
Download the
.whl
file from the latest release -
Install the file using
pip
python -m pip install Path/To/File.whl
WARNING!!! this method is UNSTABLE and is not recommended
- Run this command using
pip
python -m pip install git+https://github.com/HomerHaddock/Input-API.git
- Clone the repository
git clone https://github.com/HomerHaddock/Input-API.git
- Prepare for building
cd Input-API
python -m venv .venv
source .venv/bin/activate
python -m pip install build
- Build
python -m build
- Install
python -m pip install dist/inputapi-*-py3-none-any.whl