Installing Jare
Since this is a python module, you have to have the module installed. Know since I do have a windows and not mac or linux it might be a bit different but mostly it is the same.
To install Jare, simply open Command Promt(For Mac or Linux it is different, you can google “how to install packages in mac/linux” if you have any of those) and then type:
pip install jare
Commands:
1.jare_run_list
This Command takes 3 values:
1.Input value (input(x))
2.Questions list (questions = [“Hello”, “How are you doing”])
Answers List (answers = [“Hi”, “I am fine, Thank You!”])
BEFORE YOU CODE: MAKE SURE THAT THE INDEX OF THE QUESTION AND THE ANSWER LIST ARE THE SAME FOR EXAMPLE: IF YOU WANT THE BOT TO SAY Hi WHEN THE USER ASKE’S hello AND IF YOU WANT THE BOT TO SAY I am fine, Thank You! WHEN THE USER ASKE’S How are you doing THEN THE INDEX OR THE STRINGS HAVE TO BE IN THE SAME ORDER
questions = [“Hello”, “How are you doing”]
answers = [“Hi”, “I am fine, Thank You!”]
Then it simple combines it in to a dictionary and then ask’s the user for an input and then prints out the responses
2.jare_run_dictionary
This is very similar to the 1st Command. Simply it takes two values the input value and the dictionary. Make sure that the dictionary is something like this:
dictionary = {“Hello”:”Hi”, “How are you”:”I am fine thank you!”}
then ask’s the user for an input and then prints out the responses
Change Log
0.0.1 (11/07/2021)
First Release
Added jase_run
Changed Name
0.0.2 (11/07/2021)
Changed Name
Added more info in README.md
Metadata
Release files for Jare 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Jare-0.0.3.tar.gz | 3.5 kB | Details |
Release files / Jare-0.0.3.tar.gz
| Download URL | Jare-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7092799957336ccf4e44b74fba26e3d100c57c527353d8ffe896cc241dca3a59
|
|
BLAKE2b-256 checksum How to use checksums |
e979584f42194d468ba5baaa908a5b3453d03bfaf656193af0c9eb8f8f983e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|