Skip to main content

Parallel `getmail` calls, with progress bars

Project description

chval — Parallel getmail calls, with progress bars

Program Ch'val (abbreviated chval) is a wrapper for getmail:

  • it looks for your configuration files, and run getmail on all of them;
  • it executes getmail calls in parallel;
  • it displays a nice progress bar, and a summary at the end (as well as error messages, if getmail failed).

Example

Configuration

Chval takes no configuration, and does not require any specific getmail configuration. The only assumption is that getmail configuration files:

  • are located in the default getmail folder ~/.config/getmail;
  • have a name starting with getmailrc- (e.g. getmailrc-work).

That way, Ch'val can automatically find your getmail configuration files.

Installation

  • Install this program from Pypi:

    python3 -m pip install chval
    
  • Quick and dirty Debian (and Ubuntu?) package (requires stdeb <https://github.com/astraw/stdeb>):

    python3 setup.py --command-packages=stdeb.command bdist_deb
    sudo dpkg -i deb_dist/pdfautonup-<VERSION>_all.deb
    

History

The name comes from Ferdinand Cheval, known as le facteur Cheval (Postman Cheval), a famous French postman and naive architect.

In 2010, the only way to provide a password to getmail was by storing it in plain text in the configuration file (not really secure), or by providing it when prompted (combersome when you check your 5 or 10 email addresses several times a day). I (back then, a yound and inexperimented programmer) started this project (then named gams, for get all mails), that wrapped getmail by storing the passwords in an encrypted file : a server would call getmail when prompted by the client, which would provide, once, the master password to decrypt the email passwords. I also added a home-made progress bar.

Three years later (in 2013), I stared experimenting with twisted to replace the named pipe used by the client and server to communicate. This never led to anything…

Eight years later (in 2021), I wondered if it would be possible to use an existing keyring software (like Seahorse) to store password keys, and to communicate with it using dbus. This never led to anything.

The very same year, I noticed that getmail had a new feature (which already existed for several years) to use a keyring to store the password. My software was outdated, and I happily dropped support for it.

About a year later, I missed the ability to run getmail on all my mailboxes at once, and the progress bar, so I revived Ch'val from the dead: the initial goal (storing password) is no longer relevant, but the progress bar, which was then an incidental feature, became the main purpose.

A more technical history can be found in the changelog.

License

Copyright 2010-2022 Louis Paternault

Ch'val is licensed under the GNU GPL 3 license, or any later version.

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

chval-1.0.0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

chval-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file chval-1.0.0.tar.gz.

File metadata

  • Download URL: chval-1.0.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for chval-1.0.0.tar.gz
Algorithm Hash digest
SHA256 79a6ccb43fba467b09843c413bca1c1d77fb4d3571953d4d7d50fc675676b1dd
MD5 775a24e3790d4ee8d4465cf34ba9d270
BLAKE2b-256 bea04ad88ffa3173a3d9a6cb1e5224e03134eebcb8825a6c179e6c06c942e1b1

See more details on using hashes here.

File details

Details for the file chval-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chval-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for chval-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b5a744a380d2e8544f4752a3e632bb45d66a25eddbd0d791d3196f325fe1cf6
MD5 c6ca2b382b7f9e08c8bf0bc1ec965b93
BLAKE2b-256 83ce8b7b405b41aa9e840e76c4bd15ad50b7c732f49f505758e16b1516cd5d59

See more details on using hashes here.

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