Base bot for developing FSU bots.
Project description
A bot which serves as the foundation for other bots for use on the Florida State University website. It is useful for automating tasks that are otherwise very menial and tedious.
This project serves as a framework for creating bots which are designed for Florida State University websites. It handles logging into MyFSU automatically, and setting up ubiquitous attributes and functionality such as:
Standard argument parsing
Logging into MyFSU
Web browser driver handling.
Where to Begin
Package Installation
Install the FSUBot package using pip.
$ pip install fsubot
If you receive a error 13 and/or a permission error, prefer:
$ pip install fsubot --user
rather than:
sudo pip install fsubot
Driver Installation
Download and install any driver from the following (I prefer chromedriver):
Chrome: chromedriver
Firefox: geckodriver
There has not been extensive testing using geckodriver, proceed with caution.
Ensure that the driver executable is located within your environment’s PATH variable. There are many readily available guides on Google for how to do this.
Bot Instantiation
If you instantiate your bot with the following:
fsu_dr = FSUBot(use_cli=True)
Then, you can pass in arguments like so:
$ python fsubot/bot.py --fsu-id abc13 --fsu-pw hunter2 --browser chrome --executable-path drivers/chromedriver
Examples
Vindicta, my personal bot which automatically enrolls for desired courses.
EasyGradeBot, my personal bot which traverses through a list of BlackBoard Smart View pages and downloads all submitted assignment’s most recently submitted attempts.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fsubot-0.4.1.tar.gz
.
File metadata
- Download URL: fsubot-0.4.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ac8d2a10d76eeee28e7a68a6437da2ee242e2d2a1668d1063fc3c20d758999 |
|
MD5 | 933232a276a08db4178edddea0a4ab80 |
|
BLAKE2b-256 | 5de8bdb145c26ccca9860957acaccceba616024b9f44b745a152706019ecfbc6 |
File details
Details for the file fsubot-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: fsubot-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82de77136957d74b29255431f8c6b8c818715b304b3a5f10a96243d8071ac2ae |
|
MD5 | 7e0f83218911e46380a2ff6a03a5eeb6 |
|
BLAKE2b-256 | a6a5b373881ce30e40abda1545ed12975fff3193b5ec6b664874372e438944c9 |