Skip to main content

Xonsh Python completions using jedi.

If you like the idea click ⭐ on the repo and tweet.

Installation

To install use pip:

xpip install xontrib-jedi
# or: xpip install -U git+https://github.com/xonsh/xontrib-jedi

Usage

xontrib load jedi

import json
json.<Tab>

The xontrib swaps xonsh's built-in python completer for jedi_python. Other completers in the chain (including xonsh_imp, which completes __xonsh__.imp.<module>) are left alone, so they keep working as before.

Operator and shell-syntax tokens (<=, **, $(, @(, ,, …) are pulled from xonsh's own XONSH_EXPR_TOKENS, so the menu stays in sync with the host xonsh version. Keywords already produced by jedi (if, and, lambda, …) are filtered out to avoid duplicates.

Configuration

  • $XONTRIB_JEDI_FUZZY (bool, default False) — when True, jedi is called with fuzzy=True, so e.g. ooa matches foobar. Off by default since fuzzy mode returns more noisy candidates.
  • $XONTRIB_JEDI_CASE_SENSITIVE (bool, default False) — when True, jedi matches candidate names case-sensitively (sets jedi.settings.case_insensitive_completion = False). Off by default to match jedi's own default.

Examples:

$XONTRIB_JEDI_FUZZY = True
$XONTRIB_JEDI_CASE_SENSITIVE = True

Release

  • update the version in pyproject.toml
  • Create a new release with the same tag using Github releases

Credits

This package was created with xontrib template.

Metadata

Release files for xontrib-jedi 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xontrib-jedi 0.2.0
File Size Uploaded
xontrib_jedi-0.2.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xontrib-jedi 0.2.0
File Interpreter ABI Platform
xontrib_jedi-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / xontrib_jedi-0.2.0.tar.gz

Download URL xontrib_jedi-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4d530328a3b59ecd0284c52ddfbf6910384b50e10e80042b5359e86837604703
BLAKE2b-256 checksum
How to use checksums
e1981ccd24f0a3f2526693d61892fbb183ab2d53228f37c249207b8ca7d1974c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Release files / xontrib_jedi-0.2.0-py3-none-any.whl

Download URL xontrib_jedi-0.2.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e387175f194a27ab758d73c527b6af8b6a6b4d932ea722e16242fea58ad1c5b5
BLAKE2b-256 checksum
How to use checksums
27f453eceabb0d3136a65171b5ad8fca9a7be4adda5d3471673371b4f6c18815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page