Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
740a07c
added sample hello world
kazisean Nov 3, 2025
271029c
Merge pull request #1 from swe-students-fall2025/core-functions
TawhidZGit Nov 3, 2025
61aefd3
added bloomberg as ascii
kazisean Nov 3, 2025
38e54b9
improved quality ascii
kazisean Nov 3, 2025
54ad013
Merge pull request #2 from swe-students-fall2025/feature/ascii
hna2019 Nov 3, 2025
9dbf01c
added necessary files
lunasuzuki Nov 4, 2025
f310b8d
Merge pull request #3 from swe-students-fall2025/files
hna2019 Nov 4, 2025
edc7be5
Started us off with a pipfile and code that shows ASCII art and message
hna2019 Nov 4, 2025
4dcab1f
Merge pull request #4 from swe-students-fall2025/start
lunasuzuki Nov 4, 2025
aef1b8a
added bubble.py
lunasuzuki Nov 4, 2025
4b9256b
Merge pull request #6 from swe-students-fall2025/bubble-file
lunasuzuki Nov 5, 2025
19be87b
added new avg function and gave random function a parameter
hna2019 Nov 5, 2025
098d64c
Merge pull request #7 from swe-students-fall2025/feature/function1
lunasuzuki Nov 5, 2025
0f202ae
Added coding_wisdom function and tests
Nov 6, 2025
ede2b9d
added helper function wrap_text
a247686991 Nov 6, 2025
11776eb
added tests for bubble
a247686991 Nov 6, 2025
27783e8
added compute_avg and random_quote
a247686991 Nov 6, 2025
1a0c9bd
fixed test_wisdom.py
a247686991 Nov 6, 2025
6d8438e
added init.py
a247686991 Nov 6, 2025
fa75526
added test for wrap_texgt
a247686991 Nov 6, 2025
f96f883
fixed yml
a247686991 Nov 6, 2025
d47271e
fixed yml
a247686991 Nov 6, 2025
a74bca5
Merge pull request #8 from swe-students-fall2025/feature/coding_wisdo…
kazisean Nov 6, 2025
803c6cc
Merge branch 'pipfile-experiment' into bubble
kazisean Nov 6, 2025
322ae47
Merge pull request #10 from a247686991/bubble
kazisean Nov 6, 2025
fbf9b39
QOL updates, small refactors and update to test cases
kazisean Nov 6, 2025
5ba9b02
Merge pull request #11 from swe-students-fall2025/bugfixes
lunasuzuki Nov 7, 2025
75cb747
small updates to readme
lunasuzuki Nov 7, 2025
bf9236f
Merge pull request #12 from swe-students-fall2025/readme
lunasuzuki Nov 7, 2025
2b2b36f
added more to readme
lunasuzuki Nov 7, 2025
315d5b9
Merge pull request #13 from swe-students-fall2025/readme2
kazisean Nov 7, 2025
ad1d5e2
Added example output to README.md
lunasuzuki Nov 7, 2025
8b74134
Merge pull request #14 from swe-students-fall2025/exampleoutput
lunasuzuki Nov 8, 2025
7c801ce
added funny jokes + test cases + small bug fixes
kazisean Nov 8, 2025
92b663a
Merge pull request #15 from swe-students-fall2025/feature/jokes
TawhidZGit Nov 8, 2025
75e2021
Added study_tip() function
Nov 8, 2025
d97ba4d
Completed test cases for studytip() func
Nov 8, 2025
907259d
Added study_tip func
Nov 8, 2025
787e8bb
Updated the main to incorporate missing functions
Nov 8, 2025
f2e9455
Merge pull request #16 from swe-students-fall2025/feature/study_tip
kazisean Nov 8, 2025
db484e9
Merge pull request #17 from swe-students-fall2025/feature/updated_main
kazisean Nov 8, 2025
27474a2
added workflow and example file
kazisean Nov 8, 2025
4c8d579
workflow bug
kazisean Nov 8, 2025
24b9307
save
kazisean Nov 8, 2025
ec7f9f6
fix bugs
kazisean Nov 8, 2025
7cafd89
sav e
kazisean Nov 8, 2025
ffa86ce
fixed bug
kazisean Nov 8, 2025
ac03f0c
finished run
kazisean Nov 8, 2025
39be926
Changed some meta data files
hna2019 Nov 8, 2025
84e7468
Merge pull request #18 from swe-students-fall2025/workflow
hna2019 Nov 8, 2025
d949905
Merge branch 'pipfile-experiment' into update-meta-data
hna2019 Nov 8, 2025
aaf8772
upgraded version
kazisean Nov 8, 2025
4046b3b
we use tags now for publishing
kazisean Nov 8, 2025
ffaba2e
Merge pull request #19 from swe-students-fall2025/update-meta-data
TawhidZGit Nov 8, 2025
a85dea3
Updated Read.me with contributing info and functions
Nov 8, 2025
1fe14b9
fixed typo
kazisean Nov 8, 2025
10020b9
Merge pull request #20 from swe-students-fall2025/updated-readme
kazisean Nov 8, 2025
33f1b63
fixed typo
kazisean Nov 8, 2025
c504f74
Merge pull request #21 from swe-students-fall2025/typo
hna2019 Nov 8, 2025
fc6d651
fixed typo
kazisean Nov 8, 2025
8e4ee9c
typo fixed now
kazisean Nov 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: bloomsay ci/cd

on:
pull_request:
branches: [pipfile-experiment]
push:
branches: [pipfile-experiment]
tags:
- 'v*.*.*'

jobs:
build-and-test:
name: build and test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]

steps:
- name: check out repo
uses: actions/checkout@v4

- name: python ${{ matrix.python-version }} setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}


- name: install dependencies
run: |
python -m pip install pipenv
pipenv install --dev

- name: build package
run: pipenv run python -m build

- name: run pytests
run: pipenv run pytest

- name: store distribution
uses: actions/upload-artifact@v4
with:
name: python-package-dist-${{ matrix.python-version }}
path: dist/

publish-to-pypi:
name: publish to PyPi
needs: build-and-test
if: github.ref_type == 'tag'
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- name: download dist files
uses: actions/download-artifact@v4
with:
name: python-package-dist-3.12
path: dist/

- name: publish bloomsay to PyPi
uses: pypa/gh-action-pypi-publish@release/v1

12 changes: 12 additions & 0 deletions .github/workflows/event-logger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,32 @@ jobs:
- name: Log pull request opened
if: github.event_name == 'pull_request' && github.event.action == 'opened'
run: |
if [ -z "$COMMIT_LOG_API" ]; then
echo "COMMIT_LOG_API is not set; skipping logging step."; exit 0
fi
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_opened -d $(echo $PR_CREATED_AT) -un $(echo $GITHUB_LOGIN) -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log pull request closed and merged
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
run: |
if [ -z "$COMMIT_LOG_API" ]; then
echo "COMMIT_LOG_API is not set; skipping logging step."; exit 0
fi
echo $COMMITS > commits.json
cat commits.json # debugging
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_merged -d $(echo $PR_CLOSED_AT) -un $(echo $GITHUB_LOGIN) -i commits.json -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log pull request closed without merge
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == false
run: |
if [ -z "$COMMIT_LOG_API" ]; then
echo "COMMIT_LOG_API is not set; skipping logging step."; exit 0
fi
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t pull_request_closed -d $(echo $PR_CLOSED_AT) -un $(echo $GITHUB_LOGIN) -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
- name: Log push
if: github.event_name == 'push'
run: |
if [ -z "$COMMIT_LOG_API" ]; then
echo "COMMIT_LOG_API is not set; skipping logging step."; exit 0
fi
echo $COMMITS > commits.json
cat commits.json # debugging
pipenv run gitcommitlogger -r $(echo $REPOSITORY_URL) -t $(echo $EVENT_TYPE) -i commits.json -o commit_stats.csv -u $(echo $COMMIT_LOG_API) -v
17 changes: 17 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
bloomsays = {file = ".", editable = true}

[dev-packages]
build = "*"
pytest = "*"
coverage = "*"
pytest-cov = "*"
twine = "*"

[requires]
python_version = "3"
93 changes: 93 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading