Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fogapod/pink-accents
Accent system based on string pattern matching
https://github.com/fogapod/pink-accents
Last synced: about 1 month ago
JSON representation
Accent system based on string pattern matching
- Host: GitHub
- URL: https://github.com/fogapod/pink-accents
- Owner: Fogapod
- License: mit
- Created: 2021-06-10T11:37:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T20:56:45.000Z (10 months ago)
- Last Synced: 2024-09-15T18:23:01.113Z (3 months ago)
- Language: Python
- Size: 88.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pink-accents
[![image](https://img.shields.io/pypi/v/pink-accents.svg)](https://pypi.python.org/pypi/pink-accents)
Accent system based on string pattern matching.
This is a silly accent system inspired by Space Station 13 accents, based on popular stereotypes. There is no intent in offending anyone or any culture. Maybe this thing has other uses, we'll see.
In it's core it's basically a re.sub call.This was a part of PINK Discord bot originally: https://github.com/Fogapod/pink
Examples of accents can be found in `examples` folder.
### Console interface
```sh
usage: pink_accents [-h] [-p ACCENT_PATH] [-V] [accent ...]Interactive accent session.
Starts interactive session if used without arguments.
Lists accents if no accents provided.positional arguments:
accent accent with severityoptions:
-h, --help show this help message and exit
-p ACCENT_PATH, --accent-path ACCENT_PATH
where to look for accents, defaults to local example folder
-V, --version show program's version number and exit
```