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, defaultFalse) — whenTrue, jedi is called withfuzzy=True, so e.g.ooamatchesfoobar. Off by default since fuzzy mode returns more noisy candidates.$XONTRIB_JEDI_CASE_SENSITIVE(bool, defaultFalse) — whenTrue, jedi matches candidate names case-sensitively (setsjedi.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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xontrib_jedi-0.2.0.tar.gz | 5.3 kB | With provenance | Details for xontrib_jedi-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xontrib_jedi-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for xontrib_jedi-0.2.0-py3-none-any.whl |
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 logRelease 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 logSecurity for xontrib-jedi 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for xontrib_jedi-0.2.0.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.