Skip to main content

A simple web scraper that reads gethomebase.com's schedule and updates Google Calendar.

Project description

homebase_calendar_sync --help
usage: homebase_calendar_sync [-h] [--import-secret [IMPORT_SECRET]] [--reset-remote] [--reset-db] [--reset-events] [--reset-auth] [--reset-local]
                              [--reset-all]

Homebase/Google Calendar Sync CLI

options:
  -h, --help            show this help message and exit
  --import-secret [IMPORT_SECRET]
                        Path to 'client_secret.json'
  --reset-remote        Remove all homebase events from Google Calendar for current user and calendar
  --reset-db            reset the events database
  --reset-events        reset both local and remote events
  --reset-auth          reset the authentication cache
  --reset-local         reset local files and configuration
  --reset-all           reset auth config and events database

pip install homebase_calendar_sync

touch .env

.env

CC_HOMEBASE_USERNAME = ""
CC_HOMEBASE_PASSWORD = ""
CC_HOMEBASE_EMPLOYEE_FIRSTNAME = ""
CC_HOMEBASE_EMPLOYEE_LASTNAME = ""
CC_HOMEBASE_START_DATE = "today"
CC_HOMEBASE_END_DATE = "today"
CC_HOMEBASE_DAYS_LOOKAHEAD = "14"
CC_HOMEBASE_LOOKAHEAD = "True"
.
├── README.md
├── events.db
├── requirements.dev.txt
├── requirements.txt
├── setup.py
└── src
    └── homebase_calendar_sync
        ├── __init__.py
        ├── __main__.py
        ├── config.py
        ├── db
        │   ├── __init__.py
        │   ├── __main__.py
        │   └── models.py
        ├── google_client
        │   ├── __init__.py
        │   ├── __main__.py
        │   ├── auth.py
        │   ├── drive_types.py
        │   └── google_client.py
        └── homebase_calendar_sync.py

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

homebase_calendar_sync-0.1.11.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

homebase_calendar_sync-0.1.11-py2.py3-none-any.whl (15.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file homebase_calendar_sync-0.1.11.tar.gz.

File metadata

File hashes

Hashes for homebase_calendar_sync-0.1.11.tar.gz
Algorithm Hash digest
SHA256 c9eb056348f1e66a444f5f3c350534baf1b960868ed438fa9cbab578418566b0
MD5 b6fa75acb6d2ed05775b96339cbc70b6
BLAKE2b-256 53bd2def603b7f3d8f700566d4bdf5e009ca41b8db44729b9428aedaaa2391a5

See more details on using hashes here.

File details

Details for the file homebase_calendar_sync-0.1.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for homebase_calendar_sync-0.1.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 346c93b8ddecd34de3e71c631267916688ffcd4c04c92623b640fa2ad20101c1
MD5 89b17839865b0ede9d0f6d944b3754e4
BLAKE2b-256 8b76cbddb7d70c827ff0db14bfed2d79aa5ffb9a4b8d47441d49207942a097f1

See more details on using hashes here.

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