Skip to main content

A ghost teammate bot that pretends to work but does absolutely nothing.

Project description

Python Package Exercise

Ghosty: Your Ghost Teammate Bot

Build Status PyPI version

PyPI Project Page: https://pypi.org/project/ghosty-teammate/

Ghosty is a Python package that simulates a ghost teammate — the kind who gets assigned tasks, never does anything, and always has an excuse. Install it, assign Ghosty some work, and watch absolutely nothing happen.


Installation

pip install ghosty-teammate

Usage

greet()

Ghosty greets the team with a fixed message of encouragement.

from ghosty import ghosty

ghosty.greet()

assign(task_name, hours, category="medium")

Assign Ghosty a task. It will be logged to the task board and promptly ignored.

  • task_name (str): Name of the task
  • hours (int/float): Estimated hours
  • category (str): Priority level — "low", "medium", "high", or "critical". Default: "medium"
ghosty.assign("Fix login bug", 3, category="high")
ghosty.assign("Write documentation", 2, category="low")

check_in(task_name=None)

View the task board. Pass a task name to see details on a specific task, or leave it empty to see everything.

ghosty.check_in()                  # view all tasks
ghosty.check_in("Fix login bug")   # view one task

nudge(task_name)

Nudge Ghosty on a specific task. Each nudge increases progress by 20%. Without a nudge, nothing will ever happen.

  • task_name (str): Name of the task to nudge
ghosty.nudge("Fix login bug")

excuse(reason, seriousness="medium")

Ask Ghosty to justify why no progress has been made.

  • reason (str): The excuse text
  • seriousness (str): How serious the excuse is — "low", "medium", or "high". Default: "medium"
ghosty.excuse("my cat sat on my keyboard", seriousness="medium")
ghosty.excuse("the wifi stopped believing in me", seriousness="high")

Example Program

See src/ghosty/__main__.py for a complete example using all functions.

Run it with:

python -m ghosty

Contributing

Setup

git clone https://github.com/swe-students-spring2026/3-package-blue_whale.git
cd 3-package-blue_whale
pipenv install --dev
pipenv shell

Running Tests

pipenv run pytest

Building the Package

pipenv run python -m build

Configuration

This project does not use any secret configuration files such as .env or similar files. No additional configuration is required to run or contribute to this project.


Team

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

ghosty_teammate-0.0.7.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

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

ghosty_teammate-0.0.7-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file ghosty_teammate-0.0.7.tar.gz.

File metadata

  • Download URL: ghosty_teammate-0.0.7.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ghosty_teammate-0.0.7.tar.gz
Algorithm Hash digest
SHA256 c41f2d1585d53778e0ec71ff6f49babdbb8d5637dfffd9de92813aacaa4e110c
MD5 af7dc63fef835c59a1f06d5ccc34100c
BLAKE2b-256 a7eb7749267c7480bf37f63d062ac3a54ca4c95486c1fb94028286536392fd4e

See more details on using hashes here.

File details

Details for the file ghosty_teammate-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for ghosty_teammate-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d096f66ee987e44c21b9ac4b0aef6eef317715de63a39af81edf783bfc88151a
MD5 ad5befe2603832aa9e9fb6bf6e095b17
BLAKE2b-256 d176abe9fb6f3e7fa90c6889485c6485413231b2dda67c5d2e1faa4f7b2a760e

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