aptwe-0.1.1


توضیحات

Parser framework
ویژگی مقدار
سیستم عامل OS Independent
نام فایل aptwe-0.1.1
نام aptwe
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Philipp Hülsdunk
ایمیل نویسنده mail@huelsdunk.tech
آدرس صفحه اصلی https://github.com/phuelsdunk/aptwe
آدرس اینترنتی https://pypi.org/project/aptwe/
مجوز -
# aptwe aptwe is a framework to create recursive descent parsers. It intends to define parsers inside the Python syntax similarily to writing EBNF. For example: ~~~ nested_lists_ = Parser('NestedLists') list_contents_ = int_ >> str_(',') >> int_ list_ = (str_('[') >> list_contents_ >> str_(']'))[getitem(1)] nested_lists_[...] = int_ | list_ nested_lists_.loads('[1,[2,3]]') # Returns [1,[2,3]] ~~~


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl aptwe-0.1.1:

    pip install aptwe-0.1.1.whl


نصب پکیج tar.gz aptwe-0.1.1:

    pip install aptwe-0.1.1.tar.gz