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.10.tar.gz
.
File metadata
- Download URL: homebase_calendar_sync-0.1.10.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fd598149b6a7e7778b722f495dc4e7b6f49cc1a34b203d3eeaf8e40db02503 |
|
MD5 | 06bd2eff4947aa929a9fe59f8888d6a2 |
|
BLAKE2b-256 | 97610662dbd4444526a7c083a634d6b081ee1b6659675b8ba4d51a66d7c873ce |
File details
Details for the file homebase_calendar_sync-0.1.10-py2.py3-none-any.whl
.
File metadata
- Download URL: homebase_calendar_sync-0.1.10-py2.py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66566698741f14fb9b4c0e289b4ef249b98ebafe6ff16a896ee161e4998a0be |
|
MD5 | 0213a1d4c6c12fd28587e3abede141de |
|
BLAKE2b-256 | c0f5cf7b3169f7b1d6780247b4b8d7a2e9803ed548b84fa81548921566edf9c1 |