Skip to main content

Easily make office reservations in sequoia from the command line.

Project description

🌲 wawona 🌲

by @yuzawa-san

PyPI - Version

Easily make office reservations in sequoia from the command line. This tool is provides streamlined workflows:

  • viewing the next two week's bookings from coworkers that you have followed
  • booking multiple days at a time
  • doing space reservations (with the ability to save your preferred space)
  • if an option contains a single choice, automatically select that choice
+----------------------+-----+-----+-----+-----+-----+
| WEEK OF 11 MAR       | Mon | Tue | Wed | Thu | Fri |
|                      | 11  | 12  | 13  | 14* | 15  |
+----------------------+-----+-----+-----+-----+-----+
| Me                   | x   | x   | x   |     | x   |
+----------------------+-----+-----+-----+-----+-----+
| Paul Wawona          |     |     | x   |     | x   |
+----------------------+-----+-----+-----+-----+-----+
| Juan Fnulwoln        |     | x   |     | x   |     |
+----------------------+-----+-----+-----+-----+-----+
| Maeve Melwosniwnaiko |     | x   | x   | x   |     |
+----------------------+-----+-----+-----+-----+-----+
| WEEK OF 18 MAR       | Mon | Tue | Wed | Thu | Fri |
|                      | 18  | 19  | 20  | 21  | 22  |
+----------------------+-----+-----+-----+-----+-----+
| Me                   | x   | x   |     |     |     |
+----------------------+-----+-----+-----+-----+-----+
[?] Date(s) to reserve (press return for none): 
 > [X] Thu 14 Mar
   [X] Wed 20 Mar
   [ ] Thu 21 Mar
   [ ] Fri 22 Mar

+----------------------+-----+-----+-----+-----+-----+
| WEEK OF 11 MAR       | Mon | Tue | Wed | Thu | Fri |
|                      | 11  | 12  | 13  | 14* | 15  |
+----------------------+-----+-----+-----+-----+-----+
| Me                   | x   | x   | x   | x   | x   |
+----------------------+-----+-----+-----+-----+-----+
| WEEK OF 18 MAR       | Mon | Tue | Wed | Thu | Fri |
|                      | 18  | 19  | 20  | 21  | 22  |
+----------------------+-----+-----+-----+-----+-----+
| Me                   | x   | x   | x   |     |     |
+----------------------+-----+-----+-----+-----+-----+
Waiting for pending tasks...
Reservation Acknowledgement Pending:

  Mar 27 New York Reservation
  Complete Self-Screening
  Seat Not Selected

[?] Complete task? (Y/n): 
[?] I am healthy and not sick?: Yes (only choice)
[?] Floor: Floor 2 (only choice)
[?] Preferred space ID (press return for none): 
Preferred space is not available
[?] Space: 
   Desk 35
   Desk 36
   Desk 37
   Desk 38
   Desk 39
   Desk 40
 > Desk 41
   Desk 42 (Juan Fnulwoln)
   Desk 43
   Desk 44 (Maeve Melwosniwnaiko)
   Desk 45
   Desk 46
   Desk 47

You have booked 'Desk 41'

Install

The easiest way is probably using Homebrew. A self-maintained tap is available for use. To install tap:

brew tap yuzawa-san/tap

To install:

brew update
brew install wawona

To update:

brew update
# upgrade all Homebrew software
brew upgrade
# update just this
brew upgrade wawona

Usage

  • Run it from your terminal: wawona
  • On initial run, you will be asked provide configuration: email and password.
  • You may be prompted to for an MFA token periodically.
  • Use the up/down arrows, spacebar, and return keys to select items in lists

Reset

If you need to reset to factory defaults (maybe if you changed your password), remove the configuration:

rm -rf ~/.config/wawona/

Notes

  • Not affliated with sequoia
  • Uses public endpoints discovered from the web UI
  • No warranty or stability guarantees, could break one day if something changes on their end
  • Password/token is stored in system keychain
  • Add/remove followers using the app. basically if it is not here or it breaks here, use the real app/site.
  • Named for the drive-thru sequoia

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

wawona-1.0.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

wawona-1.0.0-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page