CheapChocolate is an simple imap client to receive you daily email.
Project description
🍫 cheapchocolate v0.6.2
CheapChocolate is an simple imap client to receive you daily email.
Installation
You can install directly in your pip:
pip install cheapchocolate
I recomend to use the uv, so you can just use the command bellow and everything is installed:
uv add cheapchocolate
uv run cheapchocolate --version
But you can use everything as a tool, for example:
uvx cheapchocolate --version
How to use
Set up your information in the .env file for your imap server, your user and password.
cheapchocolate start
You can run
cheapchocolate start, and it will create the file for you.
By default, receiving mail preserves the remote read/unread status of each message. CheapChocolate downloads messages with a non-mutating IMAP fetch, so unread messages stay unread on the server and read messages stay read.
To opt into the previous behavior where received messages can be marked read on
the remote mailbox, set mails.remote_read_state in your CheapChocolate
config.yaml:
mails:
days_to_fetch: 1
remote_read_state: mark_read
The safe default is:
mails:
remote_read_state: preserve
For a one-off receive run, override the saved setting from the command line:
cheapchocolate start --remote-read-state preserve
cheapchocolate start --remote-read-state mark_read
You can still receive a specific folder with the same read-state override:
cheapchocolate start --folder inbox --remote-read-state preserve
See Also
License
This package is distributed under the MIT license.
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
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 cheapchocolate-0.6.2.tar.gz.
File metadata
- Download URL: cheapchocolate-0.6.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8923c4735b6a5d5aeb50d3263bb52e5be77256ca388189719b93e29c07938f78
|
|
| MD5 |
00f95e07d942339fd762b00479718407
|
|
| BLAKE2b-256 |
deb9356e393139289a9890782802023f398b9a741e44ed5643f3255d319b3165
|
Provenance
The following attestation bundles were made for cheapchocolate-0.6.2.tar.gz:
Publisher:
publish-pypi.yml on bouli/cheapchocolate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheapchocolate-0.6.2.tar.gz -
Subject digest:
8923c4735b6a5d5aeb50d3263bb52e5be77256ca388189719b93e29c07938f78 - Sigstore transparency entry: 1888503373
- Sigstore integration time:
-
Permalink:
bouli/cheapchocolate@6017af18d7b777134fcfacb61a444b83cdb82116 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/bouli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6017af18d7b777134fcfacb61a444b83cdb82116 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cheapchocolate-0.6.2-py3-none-any.whl.
File metadata
- Download URL: cheapchocolate-0.6.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7e571598211d83d69f605e006e37723af8df5c409ab5a797f3a9e9eaf213ee3
|
|
| MD5 |
8c99762ddd53e3a86397837def11de77
|
|
| BLAKE2b-256 |
62660cb10f003d304de95e0d062169cb219b9af50a445746c23c0ec23fe09883
|
Provenance
The following attestation bundles were made for cheapchocolate-0.6.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on bouli/cheapchocolate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheapchocolate-0.6.2-py3-none-any.whl -
Subject digest:
e7e571598211d83d69f605e006e37723af8df5c409ab5a797f3a9e9eaf213ee3 - Sigstore transparency entry: 1888503498
- Sigstore integration time:
-
Permalink:
bouli/cheapchocolate@6017af18d7b777134fcfacb61a444b83cdb82116 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/bouli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6017af18d7b777134fcfacb61a444b83cdb82116 -
Trigger Event:
push
-
Statement type: