🍫 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.
Metadata
Release files for cheapchocolate 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cheapchocolate-0.6.2.tar.gz | 7.4 kB | With provenance | Details for cheapchocolate-0.6.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cheapchocolate-0.6.2-py3-none-any.whl | Python 3 | none | any | Details for cheapchocolate-0.6.2-py3-none-any.whl |
Total release size: 17.8 kB
Release files / cheapchocolate-0.6.2.tar.gz
| Download URL | cheapchocolate-0.6.2.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8923c4735b6a5d5aeb50d3263bb52e5be77256ca388189719b93e29c07938f78
|
|
BLAKE2b-256 checksum How to use checksums |
deb9356e393139289a9890782802023f398b9a741e44ed5643f3255d319b3165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency logRelease files / cheapchocolate-0.6.2-py3-none-any.whl
| Download URL | cheapchocolate-0.6.2-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7e571598211d83d69f605e006e37723af8df5c409ab5a797f3a9e9eaf213ee3
|
|
BLAKE2b-256 checksum How to use checksums |
62660cb10f003d304de95e0d062169cb219b9af50a445746c23c0ec23fe09883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency logSecurity for cheapchocolate 0.6.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cheapchocolate-0.6.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.