dragon_bot - The Personal Assistant Bot
Installation
The dragonbot can be installed using pip.
pip install dragon-bot
Description
The Personal Assistant Bot can:
- Save contacts with names, addresses, phone numbers, emails and birthdays to the contact book.
- Display a list of contacts whose birthday is a specified number of days from the current date.
- Check the correctness of the entered phone number and email when creating or editing an entry and notify the user in case of incorrect entry.
- Search for contacts among the book's contacts.
- Edit and delete entries from the contact book.
- Save notes with text information.
- Search for notes
- Edit and delete notes.
- Add "tags" to your notes, keywords that describe the topic and subject of the entry.
- Search and sort notes by keywords (tags).
Usage
Start using the assistant by simply entering a console command
dragon-bot
You will see a prompt
Enter command:
The following commands will be available to you:
-
Add a contact
add-contact <name> <phone> -
Edit the name in the contact
edit-name <old_name> <new_name> -
Add another phone number to the contact
add-phone <name> <phone> -
Add or change email to the contact
set-email <name> <email> -
Add or change birthday to the contact
set-birthday <name> <DD.MM.YYYY> -
Display the contact list on the screen
all-contacts -
Find a contact by name
find-contact <name> -
Display a list of contacts whose birthday is a specified number of days away from the current date
birthdays <number_of_days> -
Delete contact's phone
del-phone <name> <phone> -
Delete contact's email
del-email <name> -
Delete contact's birthday
del-birthday <name> -
Delete a contact
del-contact <name> -
Add or change address to the contact
set-address <name> <address -
Delete an address from the contact
del-address <name> -
Add a note
add-note <Any_note_in_quotation_marks> -
Edit a note
edit-note <note_id> <Any_note_in_quotation_marks> -
Display the note list on the screen
all-notes -
Add another a tag to the note
add-tag <note_id> <tag> -
Delete a tag from the note
del_tag <note_id> <tag> -
Display the sorted note list by tags
sort-notes -
Delete a note
del-note <note_id> -
Display the note list on the screen by a tag
find-notes-by-tag <tag> -
Display the note list on the screen by a keyword
find-notes-by-keyword <keyword> -
Get help about the bot commands
help -
Exit from program
exitquit
Demo Contacts
The project includes sample contacts that allow you to immediately test the bot's functionality.
The example data is located in:
example/dragon_bot_data/*.pkl
How to use:
Clone the repository:
git clone
Navigate to the project folder
Copy the folder dragon_bot_data from the example directory to your home directory.
You can do it in two ways:
Option 1 — manually
Copy the folder dragon_bot_data from example and paste it into your home directory.
Option 2 — using a command
cp -r example/dragon_bot_data ~/
After copying, the structure in your home folder should look like this:
~/dragon_bot_data/*.pkl
Run the bot:
python main.py
After starting the bot, the sample contacts from contacts.pkl and notes from notes.pkl will be loaded automatically, so you can immediately test contact and note management commands.
Metadata
Release files for dragon-bot 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dragon_bot-0.1.4.tar.gz | 10.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dragon_bot-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / dragon_bot-0.1.4.tar.gz
| Download URL | dragon_bot-0.1.4.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
accbf85e1e3e40ea75f60ad51f3d5460ec4dc4c65ff42effa06abb6d9ef84ac1
|
|
BLAKE2b-256 checksum How to use checksums |
10785b3f257b55394b3827bb21fb37a42d5c2d6dfc5093c813ce13026c85ba2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / dragon_bot-0.1.4-py3-none-any.whl
| Download URL | dragon_bot-0.1.4-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab8affee905a43d18a187a335e6a22f61533f2c8fa77e765516ed6cecb656143
|
|
BLAKE2b-256 checksum How to use checksums |
d48929164eb90235c153bd719ced9df26466a40921fa95de772507e5b2f22973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for dragon-bot 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.