Skip to main content

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:

  1. Standard argument parsing

  2. Logging into MyFSU

  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsubot-0.4.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsubot-0.4.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file fsubot-0.4.0.tar.gz.

File metadata

  • Download URL: fsubot-0.4.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fsubot-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cf9a7eade21d396b7a59c4b1b4de452eed49d153aa53e847302047a268fb6fe5
MD5 b2f35a2782598ca696cfbdd68cc495b6
BLAKE2b-256 be0ff665f62fdcc5e26f9a1668743d871d9a2d17e461679308bc36ed11b6b0a6

See more details on using hashes here.

File details

Details for the file fsubot-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fsubot-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bf4f40a8cfba47aacd1f4f4a956f3d3d89cbd7ac6066d69c07bf359b369dcb1
MD5 af37f961064bfe7c99fe8f30556bf71d
BLAKE2b-256 416a3953c81fddeb6229d7b393e1ee1474a6bb9472774f274b3373fffd30c8b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page