Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javrasya/python-indent-parser
python-indent-parser
https://github.com/javrasya/python-indent-parser
Last synced: 6 days ago
JSON representation
python-indent-parser
- Host: GitHub
- URL: https://github.com/javrasya/python-indent-parser
- Owner: javrasya
- License: bsd-2-clause
- Created: 2014-07-01T13:20:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-01T13:57:47.000Z (over 10 years ago)
- Last Synced: 2024-11-18T03:34:55.161Z (about 1 month ago)
- Language: Python
- Size: 137 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
python-indent-parser
====================python-indent-parser
#Usage:
content=......
parser = IndentParser(content)
lines = parser.find_line(['text_in_my_line'])parser = IndentParser(content,exactmatch=True,ignore_characters=['!'])
lines = parser.find_line(['exact_line_text','exact_sub_line_text'])childrens = parser.find_children(['exact_line_text','exact_sub_line_text']