Metadata-Version: 2.1
Name: PySGI
Version: 1.2.5
Summary: The easy server library for everyone.
Home-page: https://github.com/jaedsonpys/pysgi
Author: Jaedson Silva
Author-email: imunknowuser@protonmail.com
License: MIT License
Project-URL: License, https://github.com/jaedsonpys/pysgi/blob/master/LICENSE
Keywords: server,http,internet,www,framework
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Environment :: Web Environment
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >= 3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# PySGI Library, fast and simple

PySGI is a WSGI library that allows you to receive and handle `HTTP requests`, giving access to various features, such as:

- Handle all response and request headers;
- Get or set all cookies coming from the browser;
- Add or get the body of an HTTP response or request;
- Can get parameters from URL;
- Get values ​​from a dynamic route.

You can learn how to use `PySGI` in the project's [official documentation](https://jaedsonpys.github.io/pysgi/). See [CHANGELOG.md](https://github.com/jaedsonpys/pysgi/blob/master/CHANGELOG.md) on GitHub for changes made to each release.

## Example of use

Here's a brief demonstration of using the PySGI library to create a simple web server:

```python
from pysgi import PySGI

server = PySGI()


@server.route('/')
def index():
    return 'Hello World from PySGI!'


if __name__ == '__main__':
    server.run()

```

You can find this usage example in [examples/simple_server.py](https://github.com/jaedsonpys/pysgi/blob/master/examples/simple_server.py)

# License

```text
MIT License
Copyright (c) 2022 Jaedson Silva
```

See [LICENSE](https://github.com/jaedsonpys/pysgi/blob/master/LICENSE) file to learn more about the license.

