Skip to main content

JenAssistant

What is JenAssistant?

Jen is a package which has a list of different types of assistants which can help you in virtual assistant projects.

Sample Code

This is the code for making a Simple Assistant. Here it checks if the word calendar is there in the command you have provided and accordingly displays the calendar for the given year

from jen.assistant import SimpleAssistant
from jen.functions import display_cli_calendar

assistant=SimpleAssistant("Assistant")

command=input("What do you want the Assistant to Do :")

if "calendar" in command:
    year=int(input("Enter Year:"))
    assistant.display_response("Displaying the calendar for {}".format(year))
    display_cli_calendar(year)

This is the code for making a Speech Recognising Assistant. This can recognise your speech and display the output accordingly.

from jen.assistant import SpeechRecognisingAssistant
from jen.functions import display_cli_calendar

assistant=SpeechRecognisingAssistant('Bot')
command=assistant.listen_to_the_user()

if "calendar" in command:
    year=assistant.take_input("Enter Year :")
    display_cli_calendar(int(year))

Error Handling

Here if we get a PyAudio Error then import the configure module

from jen import configure

configure.configure_pyaudio()

Metadata

Release files for JenAssistant 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JenAssistant 1.0.0
File Size Uploaded
JenAssistant-1.0.0.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for JenAssistant 1.0.0
File Interpreter ABI Platform
JenAssistant-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / JenAssistant-1.0.0.tar.gz

Download URL JenAssistant-1.0.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3274f61acd41515c98c9eef6146ae9d02ddda1b3783ac354b35a450a850a2ee6
BLAKE2b-256 checksum
How to use checksums
30b8751e3e5e13325cfcce2aad2ea0b814f4c7fbb37a0728a2e11c6ac1d595a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.3

Release files / JenAssistant-1.0.0-py3-none-any.whl

Download URL JenAssistant-1.0.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0ec4a5055b9d7050a1d0603999a7beef3102681a7198d92d1b0ceac408f74f7
BLAKE2b-256 checksum
How to use checksums
054904009368b9c52aa32a37c29b89de32eec17d9d30216465808fc3f542f139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page