pythononwheels


Namepythononwheels JSON
Version 0.812b0 PyPI version JSON
download
home_pagehttp://www.pythononwheels.org
SummaryThe simple, quick and easy generative web framework for python
upload_time2018-01-12 23:20:46
maintainer
docs_urlNone
authorkhz
requires_python
licenseMIT
keywords framework web development
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. figure:: http://www.pythononwheels.org/static/images/pow_logo_300.png
   :alt: Pow logo

   Pow logo

This is the new pow 2017. And it's really good.
===============================================

(ok I might be biased ;)

But it's by far the best PoW (concept and implementation) ever! (Ever,ever, ever!!)

I call it *SQUEEZY* => for Simple, Quick and Easy.

Principle
---------

    Designed for simplicity, happiness and Quick results!

As simple to use as possible. Everything you always need on board.
Batteries included! (tornado Webserver, SQLite DB, NoSQL DBs: tinyDB,
ElasticSearch, MongoDB following next) Non intrusive! You can always
escape and go RAW.

Strong Foundation:
------------------

-  python 3.x
-  tornado webserver
-  sqlalchemy ORM onboard (sqlite, mysql, postgres, oralce, ms-sql ...)
-  DB migrations generated for you (based on alembic)
-  cerberus schemas and validation on board
-  template engine (tornado templates)
-  tinyDB and ElasticSearch on board... more to come (next: mongoDB)
-  authentication with Twitter, Google on board

Super easy, quick to start and all the basics on board:
-------------------------------------------------------

-  super easy relations with decorators @relations.has\_many("comments")
-  super easy REST routing with decorators @app.add\_restful\_routes(),
-  routing decorator @app.add\_route(route)
-  db migrations autogenerated using alembic in the back
-  validation on board with cerberus schemas
-  use the same schema descrition for all model types (sql, nosql,
   elastic..)
-  generate\_models script
-  generate\_migrations script
-  update\_db script
-  generate\_handlers
-  generate\_app
-  automatic scaffolding views (work in progress)

Code examples
-------------

Routes:
~~~~~~~

::

    # this will call the myget method on HTTP GET calls and will hand over the re-group as the 1st parameter.
    @app.add_route("/index/([0-9]+)*", dispatch={"get" : "myget"})
    class IndexdHandler(BaseHandler):
        def myget(self, index=None):
            print("  index:" + str(index))
            self.render("index.tmpl")

Relations: (SQL Models)
~~~~~~~~~~~~~~~~~~~~~~~

::

    @relation.has_many("comments")
    class Post(Base):
        # a blog Post
        schema = {
            'text': {'type': 'string'},
            'name': {'type': 'string', 'maxlength' : 35},
            'last': {'type': 'number'}
        }

Check: `The PythonOnWheels Homepage <http://www.pythononwheels.org>`__
----------------------------------------------------------------------



            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "framework web development", 
    "upload_time": "2018-01-12 23:20:46", 
    "author": "khz", 
    "home_page": "http://www.pythononwheels.org", 
    "download_url": "https://pypi.python.org/packages/db/4c/d537c456f3cdf864b10ddc74a5e343b6ceccc72a2bd31e8d52c91876fe97/pythononwheels-0.812b0.tar.gz", 
    "platform": "", 
    "version": "0.812b0", 
    "cheesecake_documentation_id": null, 
    "description": ".. figure:: http://www.pythononwheels.org/static/images/pow_logo_300.png\n   :alt: Pow logo\n\n   Pow logo\n\nThis is the new pow 2017. And it's really good.\n===============================================\n\n(ok I might be biased ;)\n\nBut it's by far the best PoW (concept and implementation) ever! (Ever,ever, ever!!)\n\nI call it *SQUEEZY* => for Simple, Quick and Easy.\n\nPrinciple\n---------\n\n    Designed for simplicity, happiness and Quick results!\n\nAs simple to use as possible. Everything you always need on board.\nBatteries included! (tornado Webserver, SQLite DB, NoSQL DBs: tinyDB,\nElasticSearch, MongoDB following next) Non intrusive! You can always\nescape and go RAW.\n\nStrong Foundation:\n------------------\n\n-  python 3.x\n-  tornado webserver\n-  sqlalchemy ORM onboard (sqlite, mysql, postgres, oralce, ms-sql ...)\n-  DB migrations generated for you (based on alembic)\n-  cerberus schemas and validation on board\n-  template engine (tornado templates)\n-  tinyDB and ElasticSearch on board... more to come (next: mongoDB)\n-  authentication with Twitter, Google on board\n\nSuper easy, quick to start and all the basics on board:\n-------------------------------------------------------\n\n-  super easy relations with decorators @relations.has\\_many(\"comments\")\n-  super easy REST routing with decorators @app.add\\_restful\\_routes(),\n-  routing decorator @app.add\\_route(route)\n-  db migrations autogenerated using alembic in the back\n-  validation on board with cerberus schemas\n-  use the same schema descrition for all model types (sql, nosql,\n   elastic..)\n-  generate\\_models script\n-  generate\\_migrations script\n-  update\\_db script\n-  generate\\_handlers\n-  generate\\_app\n-  automatic scaffolding views (work in progress)\n\nCode examples\n-------------\n\nRoutes:\n~~~~~~~\n\n::\n\n    # this will call the myget method on HTTP GET calls and will hand over the re-group as the 1st parameter.\n    @app.add_route(\"/index/([0-9]+)*\", dispatch={\"get\" : \"myget\"})\n    class IndexdHandler(BaseHandler):\n        def myget(self, index=None):\n            print(\"  index:\" + str(index))\n            self.render(\"index.tmpl\")\n\nRelations: (SQL Models)\n~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n    @relation.has_many(\"comments\")\n    class Post(Base):\n        # a blog Post\n        schema = {\n            'text': {'type': 'string'},\n            'name': {'type': 'string', 'maxlength' : 35},\n            'last': {'type': 'number'}\n        }\n\nCheck: `The PythonOnWheels Homepage <http://www.pythononwheels.org>`__\n----------------------------------------------------------------------\n\n\n", 
    "lcname": "pythononwheels", 
    "bugtrack_url": null, 
    "github": false, 
    "name": "pythononwheels", 
    "license": "MIT", 
    "summary": "The simple, quick and easy generative web framework for python", 
    "split_keywords": [
        "framework", 
        "web", 
        "development"
    ], 
    "author_email": "khz@tzi.org", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2018-01-12T23:20:42", 
            "comment_text": "", 
            "python_version": "py3", 
            "url": "https://pypi.python.org/packages/30/8e/129cc2a574cabbe06c0743720e18c834efdbb74e538a1e02a72c26eb6af0/pythononwheels-0.812b0-py3-none-any.whl", 
            "md5_digest": "08251019733afa7f0d661004e35baaf5", 
            "downloads": 0, 
            "filename": "pythononwheels-0.812b0-py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "30/8e/129cc2a574cabbe06c0743720e18c834efdbb74e538a1e02a72c26eb6af0/pythononwheels-0.812b0-py3-none-any.whl", 
            "size": 1730213
        }, 
        {
            "has_sig": false, 
            "upload_time": "2018-01-12T23:20:46", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/db/4c/d537c456f3cdf864b10ddc74a5e343b6ceccc72a2bd31e8d52c91876fe97/pythononwheels-0.812b0.tar.gz", 
            "md5_digest": "e51fe036d76ca2a9c7eb2238d184d0da", 
            "downloads": 0, 
            "filename": "pythononwheels-0.812b0.tar.gz", 
            "packagetype": "sdist", 
            "path": "db/4c/d537c456f3cdf864b10ddc74a5e343b6ceccc72a2bd31e8d52c91876fe97/pythononwheels-0.812b0.tar.gz", 
            "size": 1680359
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}
        
khz