# 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>
Raw data
{
"_id": null,
"home_page": "https://github.com/SuperZombi/Web-Console",
"name": "web-console-log",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Super_Zombi",
"author_email": "super.zombi.yt@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/23/e4/3c48c499194adcfefae9c58cb36f9289439b808e1f0c9b1193583a111bf0/web_console_log-0.1.0.tar.gz",
"platform": null,
"description": "# Web Console\r\n\r\n<img src=\"https://shields.io/badge/version-0.1.0-blue\"> <a href=\"#donate\"><img src=\"https://shields.io/badge/\ud83d\udcb2-Support_the_Project-2ea043\"></a>\r\n\r\n<img src=\"https://raw.githubusercontent.com/SuperZombi/Web-Console/main/github/images/console.jpg\" width=\"600px\">\r\n\r\n### Example usage\r\n```\r\npip install web_console_log\r\n```\r\n```python\r\nfrom web_console import WebConsole\r\n\r\nconsole = WebConsole()\r\nconsole.log(\"Hello world\")\r\nconsole.loop()\r\n```\r\n\r\n### Constructor\r\n```python\r\nWebConsole(host=\"127.0.0.1\", port=8080, show_url=True, debug=False)\r\n```\r\n\r\n### Methods\r\n```python\r\nconsole.log(msg)\r\nconsole.warn(msg)\r\nconsole.error(msg)\r\n```\r\n```python\r\nconsole.url\r\n```\r\n```python\r\nconsole.open() # open console_url in browser\r\n```\r\n```python\r\nconsole.sleep(sec) # use this instead of time.sleep()\r\n```\r\n```python\r\nconsole.loop() # use this if you dont have your code mainloop\r\n```\r\n\r\n\r\n## \ud83d\udcb2Donate\r\n<table>\r\n <tr>\r\n <td>\r\n <img width=\"18px\" src=\"https://www.google.com/s2/favicons?domain=https://donatello.to&sz=256\">\r\n </td>\r\n <td>\r\n <a href=\"https://donatello.to/super_zombi\">Donatello</a>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <img width=\"18px\" src=\"https://www.google.com/s2/favicons?domain=https://www.donationalerts.com&sz=256\">\r\n </td>\r\n <td>\r\n <a href=\"https://www.donationalerts.com/r/super_zombi\">Donation Alerts</a>\r\n </td>\r\n </tr>\r\n</table>\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Python Web Console",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/SuperZombi/Web-Console"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9976d8ad19290bdd0db531327c2be57b148087e96a24198a619e89cabbc35342",
"md5": "9963ba854598da48744ce308733f3b73",
"sha256": "a8a3c3a8087abc6d928443cda00657563d8df4f7ab0794dbf75c30db311292aa"
},
"downloads": -1,
"filename": "web_console_log-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9963ba854598da48744ce308733f3b73",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 14039,
"upload_time": "2024-12-09T21:43:34",
"upload_time_iso_8601": "2024-12-09T21:43:34.366266Z",
"url": "https://files.pythonhosted.org/packages/99/76/d8ad19290bdd0db531327c2be57b148087e96a24198a619e89cabbc35342/web_console_log-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "23e43c48c499194adcfefae9c58cb36f9289439b808e1f0c9b1193583a111bf0",
"md5": "42b09fc4bbe4e2659f4a8c896cd2acf8",
"sha256": "ea56bc2fd28c344f1c0ef7b0767f6bcf2823a4b24a541f9937026852e4d4ff08"
},
"downloads": -1,
"filename": "web_console_log-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "42b09fc4bbe4e2659f4a8c896cd2acf8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 14123,
"upload_time": "2024-12-09T21:43:36",
"upload_time_iso_8601": "2024-12-09T21:43:36.154814Z",
"url": "https://files.pythonhosted.org/packages/23/e4/3c48c499194adcfefae9c58cb36f9289439b808e1f0c9b1193583a111bf0/web_console_log-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 21:43:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SuperZombi",
"github_project": "Web-Console",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "web-console-log"
}