Skip to content

Commit 5c75ba3

Browse files
Merge pull request #1 from ashioyajotham/development
Bump version to 1.0.1
2 parents 82a6242 + fe2496c commit 5c75ba3

File tree

15 files changed

+752
-6
lines changed

15 files changed

+752
-6
lines changed

.github/workflows/publish.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
push:
7+
tags:
8+
- 'v*'
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [3.9, "3.10", "3.11"]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install -e .
29+
pip install pytest flake8
30+
31+
- name: Lint with flake8
32+
run: |
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
36+
- name: Test CLI import
37+
run: |
38+
python -c "from elimu_research_assistant.cli import main; print('CLI import successful')"
39+
40+
publish:
41+
needs: test
42+
runs-on: ubuntu-latest
43+
if: github.event_name == 'release' && github.event.action == 'published'
44+
45+
steps:
46+
- uses: actions/checkout@v4
47+
48+
- name: Set up Python
49+
uses: actions/setup-python@v4
50+
with:
51+
python-version: '3.9'
52+
53+
- name: Install build dependencies
54+
run: |
55+
python -m pip install --upgrade pip
56+
pip install build twine
57+
58+
- name: Build package
59+
run: python -m build
60+
61+
- name: Publish to PyPI
62+
uses: pypa/gh-action-pypi-publish@release/v1
63+
with:
64+
password: ${{ secrets.PYPI_API_TOKEN }}
65+
repository-url: https://upload.pypi.org/legacy/

cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
def display_banner():
4646
"""Display the ASCII art banner."""
4747
console.print(BANNER)
48-
console.print("\n[dim]Version 1.0.0 - Educational Content Creation Tool[/dim]\n")
48+
console.print("\n[dim]Version 1.0.1 - Educational Content Creation Tool[/dim]\n")
4949
console.print("[dim]Developed by [bold magenta]Ashioya Jotham[/bold magenta] - Empowering Kenyan Education![/dim]\n")
5050

5151
def display_intro():
@@ -124,7 +124,7 @@ def _extract_preview_sections(content, max_length=2000):
124124
@click.option('--no-config', is_flag=True, help="Skip API key checks (commands requiring API keys will fail)")
125125
def cli(verbose, no_config):
126126
"""
127-
Elimu Research Assistant - AI-powered educational content creation for Kenyan educators.
127+
Elimu Research Assistant - An intelligent educational content creation for Kenyan educators.
128128
129129
Create localized, contextual educational materials that bridge the gap between
130130
curriculum and students' lived experiences in Kenya.

results/task_10_result.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Task: Create a business studies case study on successful Kenyan entrepreneurs
2+
3+
# Create a business studies case study on successful Kenyan entrepreneurs
4+
5+
## Research Findings
6+
7+
### Search Results Found
8+
9+
**1. There aren't enough Kenyan Business Case Studies. | Kyle Schutter**
10+
11+
There aren't enough Kenyan Business Case Studies. When I went to Strathmore all the case studies were of Airbnb, Uber, etc.
12+
13+
Source: https://www.linkedin.com/posts/kyleschutter_there-arent-enough-kenyan-business-case-activity-7266005625153728512-3_XE
14+
15+
16+
17+
**2. Developing African-Focused Case Studies for Impact in Teaching ...**
18+
19+
A case study for teaching and learning in higher education is defined as a story and a teaching vehicle which presents participants with a critical management, ...
20+
21+
Source: https://sbs.strathmore.edu/developing-african-focused-case-studies-for-impact-in-teaching-and-learning/
22+
23+
24+
25+
**3. Case Study: Kenya's Leap Forward- Creating a Dynamic Youth ...**
26+
27+
This case study delves into the multifaceted approach taken to revamp the entrepreneurship curriculum, ensuring it meets the dynamic needs of young ...
28+
29+
Source: https://yerh-kenya.com/case-study-kenyas-leap-forward-creating-a-dynamic-youth-entrepreneurship-curriculum/
30+
31+
32+
33+
**4. [PDF] Expanding Private Education in Kenya: Mary Okelo and Makini ...**
34+
35+
The Okelos planned to offer a preuniversity International Baccalaureate (IB) curriculum at the same location as the secondary school. Such a program allows ...
36+
37+
Source: https://business.columbia.edu/sites/default/files-efs/pubfiles/87/Kenya_Makini.pdf
38+
39+
40+
41+
**5. [PDF] Case Study - Kenya - Ei-ie - Education International**
42+
43+
Edda is a teacher union organiser in Kenya. For over a year she has been involved in a new international project to promote free quality education for all ...
44+
45+
Source: https://download.ei-ie.org/Docs/WebDepot/GR%20workshop-Case%20Study%20Kenya_final.pdf
46+
47+
48+
49+
## Research Summary
50+
51+
**Research completed using comprehensive_synthesis strategy.**
52+
53+
54+
**Research scope:**
55+
56+
- 2 search operations completed
57+
58+
- 0 web pages processed
59+
60+
- 0 content extracts from search snippets
61+
62+
- 10 search results analyzed

results/task_1_result.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Task: Create a Form 3 Business Studies lesson plan on the impact of M-Pesa on small enterprises in Kenya
2+
3+
# Create a Form 3 Business Studies lesson plan on the impact of M-Pesa on small enterprises in Kenya
4+
5+
## Research Findings
6+
7+
### Search Results Found
8+
9+
**1. [PDF] implementation of the business studies curriculum**
10+
11+
The secondary school Business education programme comprised the teaching of commerce, principles of accounts, economics and typewriting with office practice.
12+
13+
Source: https://ir-library.ku.ac.ke/bitstreams/52c61525-0d89-431c-9918-a503291a1627/download
14+
15+
16+
17+
**2. [PDF] Basic Education Curriculum Framework**
18+
19+
Business studies at secondary level will equip the learner with the five key competencies deemed ... Plan 2012-2017, Republic of Kenya. Republic of Kenya ...
20+
21+
Source: https://kicd.ac.ke/wp-content/uploads/2017/10/CURRICULUMFRAMEWORK.pdf
22+
23+
24+
25+
**3. Business Studies Lesson Plans | 8-4-4 & CBC curriculum**
26+
27+
Lesson Plans for Kenyan schools > Business Studies. Select Lesson Plans by Class. Business Studies Lesson Plans(All classes) · Grade 7 Business Studies Lesson ...
28+
29+
Source: https://www.elimulibrary.co.ke/site/category/2/lesson-plans/13/business-studies
30+
31+
32+
33+
**4. 0721634274 form-2-business-studies-lesson-plans-term-2 - Scribd**
34+
35+
This document outlines lesson plans for a Business Studies course focusing on various aspects of transport and communication. It includes objectives, lesson ...
36+
37+
Source: https://www.scribd.com/document/853941384/0721634274-form-2-business-studies-lesson-plans-term-2
38+
39+
40+
41+
**5. CIM 230 Business Studies Challenges & 40-Min Lesson Plan by ...**
42+
43+
Classroom and a Sample Forty-Minutes Lesson Plan for Teaching a Business Studies Topic. Oscar Philip – EDB/259/. CIM 230 – Curriculum Development. by. Dr. Rose.
44+
45+
Source: https://www.studeersnel.nl/nl/document/rijksuniversiteit-groningen/curriculumtheorie/cim-230-curriculum-development-cat-exams-oscar-philip-115208/119673728
46+
47+
48+
49+
## Research Summary
50+
51+
**Research completed using comprehensive_synthesis strategy.**
52+
53+
54+
**Research scope:**
55+
56+
- 2 search operations completed
57+
58+
- 0 web pages processed
59+
60+
- 0 content extracts from search snippets
61+
62+
- 10 search results analyzed

results/task_2_result.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Task: Generate a geography handout for Form 2 students about Kenya's renewable energy projects, focusing on geothermal power in Olkaria
2+
3+
# Generate a geography handout for Form 2 students about Kenya's renewable energy projects, focusing on geothermal power in Olkaria
4+
5+
## Research Findings
6+
7+
### Information Found
8+
9+
**Source 1:**
10+
11+
- Kenya is Africa's leading geothermal energy production country, with major geothermal plants in Olkaria and Menengai. The geothermal potential is estimated to ...
12+
13+
- In 2018, Kenya set a goal to be 100% powered by renewable energy by 2020 – a goal that was later pushed to 2030. The country has made great ...
14+
15+
- Geothermal energy accounts for almost half of Kenya's total energy production. The majority of that energy is produced at the Olkaria power project.
16+
17+
- This review paper aims at identifying challenges experienced in geothermal energy in Kenya with environmental and health impacts from the output through a ...
18+
19+
- Engineers say they are developing the largest geothermal plant on earth, Olkaria VI, in Hell's Gate. The country has exploited close to 950 MW of geothermal ...
20+
21+
22+
23+
### Search Results Found
24+
25+
**1. Renewable energy status and uptake in Kenya - ScienceDirect.com**
26+
27+
Kenya is Africa's leading geothermal energy production country, with major geothermal plants in Olkaria and Menengai. The geothermal potential is estimated to ...
28+
29+
Source: https://www.sciencedirect.com/science/article/pii/S2211467X24001603
30+
31+
32+
33+
**2. Kenya's big bet on renewables - Nature**
34+
35+
In 2018, Kenya set a goal to be 100% powered by renewable energy by 2020 – a goal that was later pushed to 2030. The country has made great ...
36+
37+
Source: https://www.nature.com/articles/d44148-025-00092-7
38+
39+
40+
41+
**3. How Kenya is helping its neighbors develop geothermal energy**
42+
43+
Geothermal energy accounts for almost half of Kenya's total energy production. The majority of that energy is produced at the Olkaria power project.
44+
45+
Source: https://www.sciencenews.org/article/geothermal-energy-africa-kenya-renewable-electricity
46+
47+
48+
49+
**4. Geothermal energy in Kenya: Evaluating health impacts and ...**
50+
51+
This review paper aims at identifying challenges experienced in geothermal energy in Kenya with environmental and health impacts from the output through a ...
52+
53+
Source: https://www.sciencedirect.com/science/article/pii/S0973082624001480
54+
55+
56+
57+
**5. Kenya Taps the Earth's Heat - International Monetary Fund (IMF)**
58+
59+
Engineers say they are developing the largest geothermal plant on earth, Olkaria VI, in Hell's Gate. The country has exploited close to 950 MW of geothermal ...
60+
61+
Source: https://www.imf.org/en/Publications/fandd/issues/2022/12/country-case-kenya-taps-the-earth-heat
62+
63+
64+
65+
## Research Summary
66+
67+
**Research completed using comprehensive_synthesis strategy.**
68+
69+
70+
**Research scope:**
71+
72+
- 2 search operations completed
73+
74+
- 0 web pages processed
75+
76+
- 1 content extracts from search snippets
77+
78+
- 10 search results analyzed

results/task_3_result.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Task: Develop a case study on coastal tourism in Mombasa for use in a Form 4 Geography class
2+
3+
# Develop a case study on coastal tourism in Mombasa for use in a Form 4 Geography class
4+
5+
## Research Findings
6+
7+
### Search Results Found
8+
9+
**1. [PDF] Coastal and marine Tourism in Kenya - Nairobi Convention**
10+
11+
Kenya (Mombasa, Malindi, and Diani). The most popular ones are scuba diving, speed boat riding, water skiing, windsurfing, swimming, sunbathing and coastal walk ...
12+
13+
Source: https://nairobiconvention.org/clearinghouse/sites/default/files/Coastal%20and%20marine%20Tourism%20in%20Kenya.pdf
14+
15+
16+
17+
**2. [PDF] TOURISM - African Studies Centre Leiden |**
18+
19+
The development of mass tourism at the Kenya coast created profound socio-economic change in the Muslim towns, especially Mombasa and Malindi. Not surprisingly, ...
20+
21+
Source: https://www.ascleiden.nl/sites/default/pubfiles/reviews-sindiga-tourism-v18.pdf
22+
23+
24+
25+
**3. Ecoliteracy Initiatives on the Coast of Kenya - ResearchGate**
26+
27+
This essay explores select German initiatives in the educational sector that have emerged in the context of the area's tourism industry. Diani ...
28+
29+
Source: https://www.researchgate.net/publication/353577575_Environmental_Education_Catalyzed_by_Tourism_Ecoliteracy_Initiatives_on_the_Coast_of_Kenya
30+
31+
32+
33+
**4. [PDF] coastal and marine tourism - Nairobi Convention**
34+
35+
Tourism creates linkages with other sectors of the economy, adding to about 1.6 million jobs, or 8.5% of total employment (WTTC, 2020). According to the Kenya ...
36+
37+
Source: https://nairobiconvention.org/clearinghouse/sites/default/files/Coastal%20Tourism%20July%202021.pdf
38+
39+
40+
41+
**5. Efficacy of Tourism as a Tool for Local Community Development**
42+
43+
This research uses the case study of Mombassa and adjacent townships in Kenya's coastal region to analyse the role played by tourism as one of the options for ...
44+
45+
Source: https://rozenbergquarterly.com/efficacy-of-tourism-as-a-tool-for-local-community-development-a-case-study-of-mombassa-kenya/
46+
47+
48+
49+
## Research Summary
50+
51+
**Research completed using comprehensive_synthesis strategy.**
52+
53+
54+
**Research scope:**
55+
56+
- 2 search operations completed
57+
58+
- 0 web pages processed
59+
60+
- 0 content extracts from search snippets
61+
62+
- 10 search results analyzed

0 commit comments

Comments
 (0)