Skip to main content

Meeting Scheduler

A Python library for scheduling team meetings.

Installation

$ pip install meeting_scheduler

Usage

from meeting_scheduler import scheduler

# example inputs
people = [
  {
    "name": "Kyle",
    "meetingTimes": [
      "13:30:00",
      "14:30:00",
      "18:00:00"
    ]
  },
  {
    "name": "Paul",
    "meetingTimes": [
      "07:00:00",
      "09:00:00",
      "13:30:00",
      "15:00:00",
      "15:30:00"
    ]
  },
  {
    "name": "Alex",
    "meetingTimes": [
      "08:00:00",
      "09:30:00",
      "12:30:00",
      "15:00:00"
    ]
  },
  {
    "name": "Luis",
    "meetingTimes": [
      "09:00:00",
      "13:30:00",
      "15:00:00",
      "15:30:00"
    ]
  },
  {
    "name": "Jairo",
    "meetingTimes": [
      "08:00:00",
      "09:00:00",
      "18:00:00"
    ]
  },
  {
    "name": "Sonya",
    "meetingTimes": [
      "08:00:00",
      "12:30:00",
      "13:30:00",
      "15:30:00"
    ]
  }
]

office_hours = {
  "startTime": "08:00:00",
  "endTime": "17:00:00"
}

lunch_hours = {
  "startTime": "12:00:00",
  "endTime": "13:00:00"
}

availability = scheduler.find_availability(people, office_hours, lunch_hours)

print(availability)
# prints
# {
#   "08:00:00": [
#     "Kyle",
#     "Paul",
#     "Luis"
#   ],
#   "08:30:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "09:00:00": [
#     "Kyle",
#     "Alex",
#     "Sonya"
#   ],
#   "09:30:00": [
#     "Kyle",
#     "Paul",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "10:00:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "10:30:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "11:00:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "11:30:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "13:00:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "14:00:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "14:30:00": [
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "15:30:00": [
#     "Kyle",
#     "Alex",
#     "Jairo"
#   ],
#   "15:00:00": [
#     "Kyle",
#     "Jairo",
#     "Sonya"
#   ],
#   "16:00:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ],
#   "16:30:00": [
#     "Kyle",
#     "Paul",
#     "Alex",
#     "Luis",
#     "Jairo",
#     "Sonya"
#   ]
# }

Testing locally

Clone the repository:

$ git clone https://github.com/wesyoung9987/meetingscheduler.git

Run the tests from inside the project:

$ cd meetingscheduler
$ python -m unittest discover

Metadata

Release files for meeting-scheduler 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for meeting-scheduler 0.0.3
File Size Uploaded
meeting_scheduler-0.0.3.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for meeting-scheduler 0.0.3
File Interpreter ABI Platform
meeting_scheduler-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / meeting_scheduler-0.0.3.tar.gz

Download URL meeting_scheduler-0.0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
db41b454bc363c5452b6a869fb4f2901eb625195daa9cf0df2999eb940267f15
BLAKE2b-256 checksum
How to use checksums
75847db56797de3b64344844383a067d9017ce990b151905fb58a2924e172a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release files / meeting_scheduler-0.0.3-py3-none-any.whl

Download URL meeting_scheduler-0.0.3-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
258a77b88684457ffeeeff5b46158d05adae442570d8b1ac86dcfd94bb43cfb3
BLAKE2b-256 checksum
How to use checksums
63832cd292db2f76c950dea0595e2d429c34401d49dd8cfb35ddeafd66dbde65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page