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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file homebase_calendar_sync-0.1.8.tar.gz
.
File metadata
- Download URL: homebase_calendar_sync-0.1.8.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edbb0778b2501e96f8c7d9f3176a4a29179b23e63d7ade017a8994dd9f38b183 |
|
MD5 | 282296520e86093abaf8649fa8e22ba3 |
|
BLAKE2b-256 | 413842b6be1e6a6f8b8cda1925753b596f8f6de370cf231547f62b6032cb93da |
File details
Details for the file homebase_calendar_sync-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: homebase_calendar_sync-0.1.8-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fa93a864898b187dc413fe9f1ebd0722060b451a8a99b59831f577c8822dd2 |
|
MD5 | a555a28944245a3579641abeac2762e2 |
|
BLAKE2b-256 | f0a4a7d983b1accf1552082c3b1774687a8df6ea09c93497bf20ceda6f70544c |