Metadata-Version: 2.1
Name: web_console_log
Version: 0.1.0
Summary: Python Web Console
Home-page: https://github.com/SuperZombi/Web-Console
Author: Super_Zombi
Author-email: super.zombi.yt@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: eventlet
Requires-Dist: python-socketio

# Web Console

<img src="https://shields.io/badge/version-0.1.0-blue"> <a href="#donate"><img src="https://shields.io/badge/💲-Support_the_Project-2ea043"></a>

<img src="https://raw.githubusercontent.com/SuperZombi/Web-Console/main/github/images/console.jpg" width="600px">

### Example usage
```
pip install web_console_log
```
```python
from web_console import WebConsole

console = WebConsole()
console.log("Hello world")
console.loop()
```

### Constructor
```python
WebConsole(host="127.0.0.1", port=8080, show_url=True, debug=False)
```

### Methods
```python
console.log(msg)
console.warn(msg)
console.error(msg)
```
```python
console.url
```
```python
console.open() # open console_url in browser
```
```python
console.sleep(sec) # use this instead of time.sleep()
```
```python
console.loop() # use this if you dont have your code mainloop
```


## 💲Donate
<table>
  <tr>
    <td>
       <img width="18px" src="https://www.google.com/s2/favicons?domain=https://donatello.to&sz=256">
    </td>
    <td>
      <a href="https://donatello.to/super_zombi">Donatello</a>
    </td>
  </tr>
  <tr>
    <td>
       <img width="18px" src="https://www.google.com/s2/favicons?domain=https://www.donationalerts.com&sz=256">
    </td>
    <td>
      <a href="https://www.donationalerts.com/r/super_zombi">Donation Alerts</a>
    </td>
  </tr>
</table>
