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
Metadata
Release files for lpy-autocomplete 0.1.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 | |
|---|---|---|---|
| lpy_autocomplete-0.1.0.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lpy_autocomplete-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / lpy_autocomplete-0.1.0.tar.gz
| Download URL | lpy_autocomplete-0.1.0.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5d7dcb8b32cfc9c973cffcbcbf2952c66b5a6ff19b75a7e37b3278b9115be72
|
|
BLAKE2b-256 checksum How to use checksums |
e3191da9d093acd919ed33396375094bdac50cbd3f3175907fe2f7a00c874a76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / lpy_autocomplete-0.1.0-py3-none-any.whl
| Download URL | lpy_autocomplete-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22f880ddfe98a6f141909febcf213c960d44311284704d7a8005bb5febdb026e
|
|
BLAKE2b-256 checksum How to use checksums |
7b577f0b27e371fef65ba373338ecac878542eb45493da45f25c8f1564988b07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|