Metadata-Version: 2.4
Name: httpprint
Version: 1.2
Summary: A minimal package allowing printing to a http server and the console insted of just the console. Great for monitoring long running scripts!
Author-email: Sl1ceOfToast <robertescheer@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Ungetoastet/httpprint
Project-URL: Issues, https://github.com/Ungetoastet/httpprint/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flask
Requires-Dist: logging
Dynamic: license-file

# httpprint

This module changes python's builtin print method to one that hosts a terminal clone on a flask server.
It needs almost no changes to the code, so it can be integrated easily into your projects.

## Usage

Just add

```
from httpprint import print
```

and you're done! When you run the code, a http server is opened on port 5000. Everything you print to the console also gets shown here. Update the page to view new changes.

## Currently supported terminal behaviours

- `\t` pads to the next multiple of **8** spaces
- `\n` for newlines
- Filtered output: `<` and `>` don't break the entire page

## Planned

- Escape sequences for coloring
