mutt-oauth2

Packaged, maintained version of contributed mutt_oauth2.py script.

https://github.com/tatsh/mutt-oauth2

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

email gmail mutt outlook

Keywords from Contributors

interactive optical mesh interpretability profiles sequences generic projection optim embedded
Last synced: 4 months ago · JSON representation ·

Repository

Packaged, maintained version of contributed mutt_oauth2.py script.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
email gmail mutt outlook
Created about 1 year ago · Last pushed 5 months ago
Metadata Files
Readme Changelog Contributing Funding License Citation Codeowners Security

README.md

mutt-oauth2

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Documentation Status mypy pre-commit pydocstyle pytest Ruff Downloads Stargazers

@Tatsh Mastodon Follow

This is an update of Alexander Perlis' script and conversion to a package. Instead of using GPG for token storage, this package uses Keyring.

Installation

Pip

shell pip install mutt-oauth2

Usage

```plain Usage: mutt-oauth2 [OPTIONS]

Obtain and print a valid OAuth2 access token.

Options: -a, --authorize Manually authorise new tokens. -d, --debug Enable debug logging. -t, --test Test authentication. -u, --username TEXT Keyring username. -h, --help Show this message and exit. ```

Start by calling mutt-oauth2 -a. Be sure to have your client ID and and client secret available.

Scopes required

| Provider | Scopes | | --------- | ------------------------------------------------------------------- | | Gmail | Gmail API | | Microsoft | offline_access IMAP.AccessAsUser.All POP.AccessAsUser.All SMTP.Send |

To support other accounts, use the --username argument with a unique string such as the account email address.

Test the script with the --test argument.

mutt configuration

Add the following to muttrc:

plain set imap_authenticators="oauthbearer:xoauth2" set imap_oauth_refresh_command="/path/to/mutt-oauth2" set smtp_authenticators=${imap_authenticators} set smtp_oauth_refresh_command=${imap_oauth_refresh_command}

Owner

  • Login: Tatsh
  • Kind: user

Citation (CITATION.cff)

authors:
  - family-names: 'Udvare'
    given-names: 'Andrew'
cff-version: '1.2.0'
date-released: '2025-08-31'
message: 'If you use this software, please cite it as below.'
title: 'mutt-oauth2'
version: '0.1.1'

GitHub Events

Total
  • Delete event: 75
  • Issue comment event: 23
  • Push event: 122
  • Pull request review event: 1
  • Pull request event: 153
  • Fork event: 1
  • Create event: 83
Last Year
  • Delete event: 75
  • Issue comment event: 23
  • Push event: 122
  • Pull request review event: 1
  • Pull request event: 153
  • Fork event: 1
  • Create event: 83

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 38
  • Total Committers: 2
  • Avg Commits per committer: 19.0
  • Development Distribution Score (DDS): 0.184
Past Year
  • Commits: 38
  • Committers: 2
  • Avg Commits per committer: 19.0
  • Development Distribution Score (DDS): 0.184
Top Committers
Name Email Commits
dependabot[bot] 4****] 31
Andrew Udvare a****e@g****m 7

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 2
  • Total pull requests: 150
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 15 hours
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.27
  • Merged pull requests: 142
  • Bot issues: 2
  • Bot pull requests: 149
Past Year
  • Issues: 2
  • Pull requests: 150
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 15 hours
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.27
  • Merged pull requests: 142
  • Bot issues: 2
  • Bot pull requests: 149
Top Authors
Issue Authors
  • dependabot[bot] (2)
Pull Request Authors
  • dependabot[bot] (157)
Top Labels
Issue Labels
dependencies (2) javascript (1) python (1)
Pull Request Labels
dependencies (157) javascript (80) python (77)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 163 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: mutt-oauth2

Packaged, maintained version of contributed mutt_oauth2.py script.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 163 Last month
Rankings
Dependent packages count: 10.0%
Average: 33.0%
Dependent repos count: 56.0%
Maintainers (1)
Last synced: 5 months ago

Dependencies

.github/workflows/close-inactive.yml actions
  • actions/stale v5 composite
.github/workflows/qa.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
package.json npm
  • @prettier/plugin-xml ^3.4.1 development
  • cspell ^8.16.0 development
  • markdownlint-cli2 ^0.15.0 development
  • prettier ^3.4.1 development
  • prettier-plugin-ini ^1.3.0 development
  • prettier-plugin-sort-json ^4.0.0 development
  • prettier-plugin-toml ^2.0.1 development
  • pyright ^1.1.389 development
  • yarn-audit-fix ^10.1.0 development
yarn.lock npm
  • 275 dependencies
poetry.lock pypi
  • alabaster 1.0.0
  • argcomplete 3.5.1
  • attrs 24.2.0
  • babel 2.16.0
  • backports-tarfile 1.2.0
  • cattrs 24.1.2
  • certifi 2024.8.30
  • cffi 1.17.1
  • charset-normalizer 3.4.0
  • click 8.1.7
  • colorama 0.4.6
  • commitizen 4.0.0
  • coverage 6.5.0
  • coveralls 3.3.1
  • cryptography 44.0.0
  • decli 0.6.2
  • doc8 1.1.2
  • docopt 0.6.2
  • docutils 0.21.2
  • esbonio 0.16.5
  • exceptiongroup 1.2.2
  • idna 3.10
  • imagesize 1.4.1
  • importlib-metadata 8.5.0
  • iniconfig 2.0.0
  • jaraco-classes 3.4.0
  • jaraco-context 6.0.1
  • jaraco-functools 4.1.0
  • jeepney 0.8.0
  • jinja2 3.1.4
  • keyring 25.5.0
  • lsprotocol 2023.0.1
  • markupsafe 3.0.2
  • mock 5.1.0
  • more-itertools 10.5.0
  • mypy 1.13.0
  • mypy-extensions 1.0.0
  • packaging 24.2
  • pbr 6.1.0
  • platformdirs 4.3.6
  • pluggy 1.5.0
  • prompt-toolkit 3.0.36
  • pycparser 2.22
  • pygls 1.3.1
  • pygments 2.18.0
  • pyspellchecker 0.8.1
  • pytest 8.3.3
  • pytest-cov 5.0.0
  • pytest-mock 3.14.0
  • pywin32-ctypes 0.2.3
  • pyyaml 6.0.2
  • questionary 2.0.1
  • requests 2.32.3
  • requests-mock 1.12.1
  • restructuredtext-lint 1.4.0
  • ruff 0.8.1
  • secretstorage 3.3.3
  • snowballstemmer 2.2.0
  • sphinx 8.1.3
  • sphinx-click 6.0.0
  • sphinxcontrib-applehelp 2.0.0
  • sphinxcontrib-devhelp 2.0.0
  • sphinxcontrib-htmlhelp 2.1.0
  • sphinxcontrib-jsmath 1.0.1
  • sphinxcontrib-qthelp 2.0.0
  • sphinxcontrib-serializinghtml 2.0.0
  • stevedore 5.4.0
  • termcolor 2.5.0
  • tomli 2.2.1
  • tomlkit 0.13.2
  • types-requests 2.32.0.20241016
  • typing-extensions 4.12.2
  • urllib3 2.2.3
  • wcwidth 0.2.13
  • yapf 0.43.0
  • zipp 3.21.0
pyproject.toml pypi
  • commitizen ^4.0.0 develop
  • mypy ^1.13.0 develop
  • ruff ^0.8.0 develop
  • types-requests ^2.32.0.20241016 develop
  • yapf ^0.43.0 develop
  • doc8 ^1.1.2 docs
  • docutils ^0.21.2 docs
  • esbonio ^0.16.5 docs
  • restructuredtext-lint ^1.4.0 docs
  • sphinx ^8.1.3 docs
  • sphinx-click ^6.0.0 docs
  • tomlkit ^0.13.2 docs
  • click ^8.1.7
  • keyring ^25.5.0
  • python >=3.10,<4
  • requests ^2.32.3
  • coveralls ^3.3.1 tests
  • mock ^5.1.0 tests
  • pytest ^8.3.3 tests
  • pytest-cov ^5.0.0 tests
  • pytest-mock ^3.14.0 tests
  • requests-mock ^1.12.1 tests
tests/pyproject.toml pypi