Skip to main content

A lightweight Python wrapper for the Himalaya mail client CLI.

Project description

Himalaya Wrapper

A lightweight, zero-dependency Python wrapper for the Himalaya mail client CLI.

Installation

pip install -e .

Usage

from himalaya_wrapper import HimalayaClient

client = HimalayaClient(
    unread_cmd="himalaya envelope list --folder INBOX --output json --query unread",
    read_cmd="himalaya message read --folder INBOX {id} --output json",
    mark_read_cmd="himalaya flag add --folder INBOX {id} seen",
)

envelopes = client.list_unread_envelopes()

Publish

python -m build
python -m twine upload dist/*

TestPyPI Release Candidate Flow

Push a release-candidate tag to trigger the TestPyPI workflow:

git tag v0.1.0-rc1
git push origin v0.1.0-rc1

This runs .github/workflows/publish-testpypi.yml and publishes to TestPyPI.

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

himalaya_wrapper-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

himalaya_wrapper-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file himalaya_wrapper-0.1.0.tar.gz.

File metadata

  • Download URL: himalaya_wrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for himalaya_wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7b57fa710b363eb05bfcb5579a6dc29ec7d7eecbe24cbadb2f422974e7fde1c1
MD5 2b63954b560bd3d8ae88584d39d16982
BLAKE2b-256 739dc3a00c8d7289aece0a6e5c4c6a7e9522b134a67ea8ff206c7777de2618e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for himalaya_wrapper-0.1.0.tar.gz:

Publisher: publish-pypi.yml on FinnE145/himalaya-wrapper

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

File details

Details for the file himalaya_wrapper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for himalaya_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab7d56f47c8745c8ae7edf2b365da09e4fd385f3abd1c38ca042974d500c8264
MD5 13593087c4f8716b01d775831d7ac469
BLAKE2b-256 c6fc28b3e0f2c3546820b6a4baa90e064bed0701876354e35d802d6dcb0fff73

See more details on using hashes here.

Provenance

The following attestation bundles were made for himalaya_wrapper-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on FinnE145/himalaya-wrapper

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