Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/werdl/pyclr
https://github.com/werdl/pyclr
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/werdl/pyclr
- Owner: werdl
- License: apache-2.0
- Created: 2023-10-09T14:57:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T12:33:40.000Z (about 1 year ago)
- Last Synced: 2023-10-18T13:34:52.045Z (about 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Pyclr
### Does one thing badly
## Installation
```bash
python linux.py
cd pyclrout
pip install . # may need --break-system-packages
cd ../
python demo.py
```
## Usage
```py
from pyclr import *palegreen.print("hello") # can be any valid css color
# or
custom(12,34,56).print("I'm special!") # custom rgb values
blueinput=blue.input("I'm in blue!")
print(blueinput) # not blue
```
## Build
```bash
python linux.py # caution: slow
# took 1m02 on my machine (i5-11400F, 32GB RAM)
```