Skip to main content

CheapChocolate is an simple imap client to receive you daily email.

Project description

🍫 cheapchocolate v0.6.1

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.1.tar.gz (5.8 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.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file cheapchocolate-0.6.1.tar.gz.

File metadata

  • Download URL: cheapchocolate-0.6.1.tar.gz
  • Upload date:
  • Size: 5.8 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.1.tar.gz
Algorithm Hash digest
SHA256 7a7c1d676d784fcf5fd6ad1a2bafade6bd46757d32e314d22cc23f809fce78dc
MD5 002ac9cad89a1572c1e7fc5ac6064faf
BLAKE2b-256 750cf22940f6efa642a55a0d10700d3d8f1509c4f22196e15fb0f69dc3082c73

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheapchocolate-0.6.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: cheapchocolate-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0da7fc14802e957dbba5b4c9446ccad88881cebbda5cc3f8b376fcf04a160332
MD5 ff4887097154d76632a4887751a7fb49
BLAKE2b-256 75439b3c45a40c6dd4da6d1f98228fc2f912bc9bac9760c0ac269335c9c274e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cheapchocolate-0.6.1-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