Skip to main content

Google‑Calendar powered CLI task scheduler

Project description

🗓️ lab13-sprint-full-stack-slop-llc

A Python-based command-line tool that allows users to manage personal tasks and automatically schedule them on their Google Calendar.
Built using Agile practices, GitHub Flow, and with full test coverage.


🚀 Features

  • ✅ Add a task (title, description, start time, end time)
  • 📋 View task list stored in memory
  • ☁️ Push task to Google Calendar via OAuth 2.0
  • 🔗 Returns event link on successful creation

📦 Install from Test PyPI

✅ No need to clone the repository — this tool is deployed on Test PyPI and installable directly!

🛠️ Set Up Environment

python3 -m venv venv

▶️ Activate Environment

source venv/bin/activate

📦 Install Dependencies

While your virtual environment is still active ((venv) should be visible), run:

python3 -m pip install --index-url https://test.pypi.org/simple/ example-package-Higgs

Then resolve dependencies from the main by running:

python3 -m pip install \
  --index-url https://test.pypi.org/simple/ \
  --extra-index-url https://pypi.org/simple \
  example-package-Higgs

Finally, to run the program, just run:

calendar-app

⚙️ How to Run the Program From Source

From the root of the project:

cd calendar_app

🛠️ Set Up Environment

python3 -m venv venv

▶️ Activate Environment

source venv/bin/activate

📦 Install Dependencies

While your virtual environment is still active ((venv) should be visible), run all of these commands in one line:

pip install --break-system-packages google-auth-oauthlib
pip install --break-system-packages pytest-cov
pip install --break-system-packages google-api-python-client

✅ These are the three core dependencies for Google Calendar API access.


▶️ Run the Program (locally)

After installing dependencies, run the following command:

PYTHONPATH=src python3 -m calendar_app_package.main

⚠️ Note:
If you encounter a VS Code connection error after selecting your Google account and are unable to log in, simply reload and repeat the steps above.


🧪 Testing

Follow the setup steps above, but instead of running the program, run the following command to verify test coverage:

python3 -m pytest --cov=calendar_app_package

This will display 100% test coverage.

Final look of readme was refined with chat gpt, but all steps and instructions were made by us

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

example_package_higgs_demo_13-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

example_package_higgs_demo_13-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file example_package_higgs_demo_13-0.1.0.tar.gz.

File metadata

File hashes

Hashes for example_package_higgs_demo_13-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8abe0bcf70acbc5a9e6b75e016e974f1e1dcff8e9e41fe9fa35244c0c73d31d2
MD5 2deb3d9ff3d05ae8f62bf2a858ff0eba
BLAKE2b-256 92c1ccb3ff81a7488cf6255c36bc4cecccb0b5b287569df95e080efb37e33dd7

See more details on using hashes here.

File details

Details for the file example_package_higgs_demo_13-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for example_package_higgs_demo_13-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a564fa2e0bf6c72e0f7abefc95fb927ea7d3ad4c1f118c2329c5a03b2aad6618
MD5 785e9eda7ce0a29ecb517173032fd41c
BLAKE2b-256 c6fb5cb8dbec83baae8dbfe989958229c934c99fea5242767c70240346a47d95

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