Create an iCal file containing upcoming Smith Tea subscription renewals
Project description
🍵 smith-tea-calendar
This program creates an iCal file containing upcoming Smith Tea subscription renewals by scraping your account details. I wrote this program because I wanted a better way to track when my orders would renew by tracking that information in my calendar.
Usage
This program uses Playwright to scrape the website. You will need to use Playwright to install a headless Chromium browser to perform the scraping.
$ uvx playwright install chromium
Once complete, you can run the program as follows:
$ SMITH_TEA_EMAIL="..." SMITH_TEA_PASSWORD="..." uvx smith-tea-calendar
All arguments can be specified as environment variables with the SMITH_TEA_
prefix. It's generally safer to specify credentials this way as environmment
variables aren't visible to other programs and users.
If at any point the website is update and the built-in CSS selectors used to
navigate the site break, you can use any of the --selector-* flags to change
these selectors. For a full listing of options, just use the --help flag.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smith_tea_calendar-0.1.0.tar.gz.
File metadata
- Download URL: smith_tea_calendar-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
874cb1afc9425e35387be0bd57b74274643e3175c2b854cdaaa69564c3a3d90b
|
|
| MD5 |
b1a7d07961889422ce617e277b6ccf2e
|
|
| BLAKE2b-256 |
657fee93c73ed58a4a0fd743e44b17a3b22dcf30e998070570115f1c3bb5c7cc
|
Provenance
The following attestation bundles were made for smith_tea_calendar-0.1.0.tar.gz:
Publisher:
release.yml on MrFlynn/smith-tea-calendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smith_tea_calendar-0.1.0.tar.gz -
Subject digest:
874cb1afc9425e35387be0bd57b74274643e3175c2b854cdaaa69564c3a3d90b - Sigstore transparency entry: 782108953
- Sigstore integration time:
-
Permalink:
MrFlynn/smith-tea-calendar@9ca386c8ffaf866910235716a5a2ad1b4f66b792 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/MrFlynn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ca386c8ffaf866910235716a5a2ad1b4f66b792 -
Trigger Event:
release
-
Statement type:
File details
Details for the file smith_tea_calendar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smith_tea_calendar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e178e7ae65194c8fb8305c22b314f2908f0a3a0400ff964c7e6f222f08f9b4da
|
|
| MD5 |
7f27f15f08cb52472caea6087c78c8f5
|
|
| BLAKE2b-256 |
ffd9bf9f07f91ec10a27b7facc9d3297d8fda6aa1d5b75166ad253a149cc2b03
|
Provenance
The following attestation bundles were made for smith_tea_calendar-0.1.0-py3-none-any.whl:
Publisher:
release.yml on MrFlynn/smith-tea-calendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smith_tea_calendar-0.1.0-py3-none-any.whl -
Subject digest:
e178e7ae65194c8fb8305c22b314f2908f0a3a0400ff964c7e6f222f08f9b4da - Sigstore transparency entry: 782108954
- Sigstore integration time:
-
Permalink:
MrFlynn/smith-tea-calendar@9ca386c8ffaf866910235716a5a2ad1b4f66b792 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/MrFlynn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ca386c8ffaf866910235716a5a2ad1b4f66b792 -
Trigger Event:
release
-
Statement type: