https://github.com/mwelwankuta/sba-bot
making it easier to ecz school based assesment
https://github.com/mwelwankuta/sba-bot
csv python selenium webscraper
Last synced: 8 months ago
JSON representation
making it easier to ecz school based assesment
- Host: GitHub
- URL: https://github.com/mwelwankuta/sba-bot
- Owner: mwelwankuta
- Created: 2021-11-06T14:55:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-06T15:09:53.000Z (over 4 years ago)
- Last Synced: 2025-03-09T12:56:43.364Z (about 1 year ago)
- Topics: csv, python, selenium, webscraper
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# G7 Ecz School Based Assesment Bot
entering learners exam marks takes a long time, this project makes it easier to submit SBA results for learner withing a short period of time
## Entering Marks Duration
- #### With the SBA Bot `5 minutes`
- #### Without the SBA Bot `2 hours`
to use the SBA bot, your csv data needs to be arranged by exam number
your csv file's information should be arranged exactly like the example below.
|SN| EXAM | NAME | MATH | ENG | SCIE | BEMBA | CTS | SS|
|---|--------|-----------|------|-----|------|-------|-----|---|
| 1 | 145264 | Learner | 30 | 30 | 30 | 30 | 30 | 30|
## The Following are examples of how information should be passed
```js
--- status code---:
( L / X / -)
```
```js
--- subject name ---:
ENGLISH LANGUAGE, SOCIAL STUDIES, CREATIVE AND TECHNOLOGY STUDIES
ICIBEMBA, INTEGRATED SCIENCE
```
## Initializing a bot
```py
# import bot class
from code import Bot
# bot init
sba_bot = Bot()
# login
sba_bot.login(username="user/2021", password="strong_password")
# select subject & enter data
sba_bot.subject_name(name="ENGLISH LANGUAGE", status_code="L").set_data(file="data\data.csv")
```
## File Structure
| Folder | Description |
| ------ | --------------------------- |
| data | contains `csv` file of data |
## How to run
run `pip install pipenv` to enter pipenv then run `pipenv install` then run `python main.py` to start the bot
## What i learnt
headless browsing with `selenium` and `python`
might not work for other gra