Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lpy_autocomplete-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

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

Hashes for lpy_autocomplete-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5d7dcb8b32cfc9c973cffcbcbf2952c66b5a6ff19b75a7e37b3278b9115be72
MD5 490048b2112351ec1d65f5e329e95470
BLAKE2b-256 e3191da9d093acd919ed33396375094bdac50cbd3f3175907fe2f7a00c874a76

See more details on using hashes here.

File details

Details for the file lpy_autocomplete-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lpy_autocomplete-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22f880ddfe98a6f141909febcf213c960d44311284704d7a8005bb5febdb026e
MD5 1448113e2d2a4902a09903d8da2cf67f
BLAKE2b-256 7b577f0b27e371fef65ba373338ecac878542eb45493da45f25c8f1564988b07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page