Metadata-Version: 2.1
Name: waffleweb
Version: 0.1a3
Summary: A python library for making scalable websites easy
Home-page: https://berserkware.github.io/waffleweb
Author: Caleb Mckay
Author-email: berserkware@gmail.com
License: MIT
Project-URL: Documentation, https://waffleweb.readthedocs.io
Project-URL: Source Code, https://github.com/Berserkware/waffleweb
Project-URL: Discord, https://discord.gg/U6HjwhkcGr
Keywords: framework,web,wsgi,waffleweb,web-framework
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Requires-Dist: jinja2
Requires-Dist: pytz

=========
Waffleweb
=========
Waffleweb is a WSGI Python web framework for making web applications easily. Waffleweb is highly customizable and doesn't force any project layout.

------------
Installation
------------ 
You can install Waffleweb with `pip <https://pip.pypa.io/en/stable/>`_.

.. code-block:: bash

	pip install waffleweb

----------------
A Simple Example
----------------

.. code-block:: python

	from waffleweb import app
	from waffleweb.response import HTTPResponse, render

	@app.route('/index')
	def index(request):
	    return HTTPResponse(request, 'index')

	@app.route('/article/<id:int>/<name:str>')
	def articleView(request, id, name):
	    return render(request, 'articleView.html', context=findArticle(id, name))

	app.run()

-------------
Documentation
-------------
You can find the documentation at https://waffleweb.readthedocs.io.

------------
Contributing
------------
To contribute to Waffleweb all you need to do fork the repo and change what you thing needs to be changed. You can then submit a pull request for review.

-----
Links
-----
- Documentation- https://waffleweb.readthedocs.io
- Changes - https://berserkware.github.io/waffleweb/changes
- Source Code - https://github.com/Berserkware/waffleweb
- Website - https://berserkware.github.io/waffleweb
- Discord - https://discord.gg/U6HjwhkcGr

