https://github.com/anorprogrammer/patlet
Pattern Letters
https://github.com/anorprogrammer/patlet
example test
Last synced: about 17 hours ago
JSON representation
Pattern Letters
- Host: GitHub
- URL: https://github.com/anorprogrammer/patlet
- Owner: anorprogrammer
- License: mit
- Created: 2021-04-07T19:04:14.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-09T18:54:00.000Z (almost 3 years ago)
- Last Synced: 2025-09-25T12:54:36.828Z (6 months ago)
- Topics: example, test
- Language: Python
- Homepage: https://pypi.org/project/patlet/
- Size: 72.3 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ╠P╣╠a╣╠t╣╠t╣╠e╣╠r╣╠n╣ ╠L╣╠e╣╠t╣╠t╣╠e╣╠r╣╠s╣
## Geting started
This library has been tested with Python 3.6-3.10 and Pypy 3.
+ Installation using pip
`$ pip install patlet`
## Use PatLet
#### printing
```python
from patlet import PatLet
# output the entered text to the console
PL = PatLet("PatLet")
PL.printer(char='*')
```
#### writing .txt file
```python
from patlet import PatLet
# write the entered text to a .txt file
PL = PatLet("i am reading a book")
PL.writer(char="*", filename="book")
```
## Use PrettyLetter
#### printing
```python
from patlet import PrettyLetter
# output the entered text to the console
PL = PrettyLetter("PrettyLetter")
#the number of styles for the letters is 12
PL.printer(number=8)
```
```shell
『P』『R』『E』『T』『T』『Y』『L』『E』『T』『T』『E』『R』
```
#### writing .txt file
```python
from patlet import PrettyLetter
PL = PrettyLetter("PrettyLetter")
PL.writer(number=8)
```