pip install git+https://git.lihont.space/lihont/LihonT.git#subdirectory=sdk/lihont-ltp Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
23 lines
1022 B
Python
23 lines
1022 B
Python
"""lihont-ltp: пиши плагины для LihonT обычным Python, почти как предложения.
|
|
|
|
from lihont_ltp import *
|
|
|
|
plugin = Plugin("Тихая ночь", author="Вася")
|
|
plugin.video(night & hashtag("challenge"), hide, say("Тихая ночь: челленджи скрыты"))
|
|
plugin.save()
|
|
"""
|
|
|
|
from .core import (Plugin, account, after, all_of, always, any_of, author, before, between, bounce, day, download, evening,
|
|
friday, hashtag, hide, like, me, morning, night, person, picture, rename, say, sound, wander, weekday,
|
|
weekend, wiggle, word)
|
|
from .errors import LtpError
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
__all__ = [
|
|
"Plugin", "LtpError",
|
|
"word", "hashtag", "author", "person", "account", "between", "weekday", "all_of", "any_of",
|
|
"me", "always", "morning", "day", "evening", "night", "friday", "weekend",
|
|
"hide", "say", "before", "after", "rename", "picture", "sound", "like", "wiggle", "download", "bounce", "wander",
|
|
]
|