Autocompletion and introspection tools for lispython.
Project description
lpy-autocomplete
Autocompletion and introspection tools for lispython.
Installation
pip install lpy-autocomplete
Usage
from lpy_autocomplete import API
api = API()
api.set_namespace(globals_=globals()) # macros found automatically from __macro_namespace
# Completion
api.complete("pr") # -> ("print", ...)
api.complete("print.") # -> ("print.__call__", "print.__str__", ...)
# Documentation
api.docs("itertools") # -> "Functional tools..."
# Annotation
api.annotate("itertools") # -> "<module itertools>"
Development
uv sync --extra dev
uv run -m pytest tests/
TODO
- Imported module members completion
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lpy_autocomplete-0.1.0.tar.gz
(15.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lpy_autocomplete-0.1.0.tar.gz.
File metadata
- Download URL: lpy_autocomplete-0.1.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5d7dcb8b32cfc9c973cffcbcbf2952c66b5a6ff19b75a7e37b3278b9115be72
|
|
| MD5 |
490048b2112351ec1d65f5e329e95470
|
|
| BLAKE2b-256 |
e3191da9d093acd919ed33396375094bdac50cbd3f3175907fe2f7a00c874a76
|
File details
Details for the file lpy_autocomplete-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lpy_autocomplete-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f880ddfe98a6f141909febcf213c960d44311284704d7a8005bb5febdb026e
|
|
| MD5 |
1448113e2d2a4902a09903d8da2cf67f
|
|
| BLAKE2b-256 |
7b577f0b27e371fef65ba373338ecac878542eb45493da45f25c8f1564988b07
|