Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cheapchocolate-0.6.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cheapchocolate-0.6.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

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

Hashes for cheapchocolate-0.6.2.tar.gz
Algorithm Hash digest
SHA256 8923c4735b6a5d5aeb50d3263bb52e5be77256ca388189719b93e29c07938f78
MD5 00f95e07d942339fd762b00479718407
BLAKE2b-256 deb9356e393139289a9890782802023f398b9a741e44ed5643f3255d319b3165

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheapchocolate-0.6.2.tar.gz:

Publisher: publish-pypi.yml on bouli/cheapchocolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cheapchocolate-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e571598211d83d69f605e006e37723af8df5c409ab5a797f3a9e9eaf213ee3
MD5 8c99762ddd53e3a86397837def11de77
BLAKE2b-256 62660cb10f003d304de95e0d062169cb219b9af50a445746c23c0ec23fe09883

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheapchocolate-0.6.2-py3-none-any.whl:

Publisher: publish-pypi.yml on bouli/cheapchocolate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page