Metadata-Version: 2.1
Name: pythoncgi
Version: 0.0.9
Summary: Extremely simple Python CGI framework for Apache 2.
Home-page: https://github.com/foxe6/pythoncgi
Author: f̣ộx̣ệ6
Author-email: foxe6@protonmail.com
License: AGPL-3.0
Description: # Python CGI
        
        <badges>[![version](https://img.shields.io/pypi/v/pythoncgi.svg)](https://pypi.org/project/pythoncgi/)
        [![license](https://img.shields.io/pypi/l/pythoncgi.svg)](https://pypi.org/project/pythoncgi/)
        [![pyversions](https://img.shields.io/pypi/pyversions/pythoncgi.svg)](https://pypi.org/project/pythoncgi/)  
        [![donate](https://img.shields.io/badge/Donate-Paypal-0070ba.svg)](https://paypal.me/foxe6)
        [![powered](https://img.shields.io/badge/Powered%20by-UTF8-red.svg)](https://paypal.me/foxe6)
        [![made](https://img.shields.io/badge/Made%20with-PyCharm-red.svg)](https://paypal.me/foxe6)
        </badges>
        
        <i>Extremely simple Python CGI framework for Apache 2.</i>
        
        # Hierarchy
        
        ```
        pythoncgi
        ```
        
        # Example
        
        ## python
        ```python
        from pythoncgi import _SERVER, _GET, _POST, _SESSION, _COOKIE, _HEADERS, set_status, set_header, execute, print, main
        
        
        @execute
        def get():
            set_status(403)
            set_header("Cache-Control", "max-age=0, must-revalidate")
            print("_SERVER:<br>")
            print(_SERVER)
            print("")
            print("_GET:<br>")
            print(_GET)
            print("")
            print("_POST:<br>")
            print(_POST)
            print("")
            print("_SESSION:<br>")
            print(_SESSION)
            print("")
            print("_COOKIE:<br>")
            print(_COOKIE)
            print("")
            print("_HEADERS:<br>")
            print(_HEADERS)
            print("")
        
        
        if __name__ == '__main__':
            main()
        
        ```
        
Keywords: python cgi apache
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Utilities
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Requires-Python: >=3
Description-Content-Type: text/markdown
