https://github.com/kcreate/python-tag-parser
Small tag parsing Utility written in Python
https://github.com/kcreate/python-tag-parser
Last synced: 7 months ago
JSON representation
Small tag parsing Utility written in Python
- Host: GitHub
- URL: https://github.com/kcreate/python-tag-parser
- Owner: KCreate
- Created: 2015-10-26T19:47:35.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T18:03:49.000Z (over 10 years ago)
- Last Synced: 2025-07-20T10:31:18.709Z (8 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Tag-Parser
Small tag parsing Utility written in Python
__Usage:__
```
python tagparser.py "TAGHERE" "STRING HERE"
```
Make sure you encapsulate your arguments inside double quoted marks.
__Example:__
```bash
python tagparser.py "*" "Python is *awesome* and *fast*"
# ['awesome', 'fast']
```
You can also import it and use the __parsetag(tag, string)__ function
__Example:__
```python
print(parsetag('*', 'Python is *awesome* and *fast*'))
# ['awesome', 'fast']
```