Giter VIP home page Giter VIP logo

wood's Introduction

wood

The faster way to build web application by tornado.

Wood is grow fast.API maybe change a lot in untest branch.

Quick Start

If you want to use the latest version, you can try to use 'untest' branch.

wood is alpha now, you only can install wth code.

1.Install git.

with apt:

apt install git

with dnf:

dnf install git

2.Clone & Install wood

cd ~
git clone https://github.com/thislight/wood.git
cd wood
python setup.py install
# Or you can use 'pip install .'

How to use

Tips: After start develop by wood,you should know something about tornado.

Wood is very easy for make a web app:

from wood import Wood # First, import wood is important!

w = Wood(__name__,debug=True,log_function=print) # Make a new 'Wood' object with debug mode, and log to print.

IndexHandler = w.empty(uri='/',name='IndexHandler') # Make a empty handler

@IndexHandler.get
def index_page(self): # Will be called when get '/'
    self.write('滑稽,这里什么都没有\n(HuajiEnv)')

if __name__ == '__main__':
    w.start(port=6000)# Start server now!

Then, open 127.0.0.1:6000 to see the result.

More infomation, see Wiki.

Talk

Talk something about wood & tornado. Telegram Group:

Wood Language(语言): 中文(简/繁) / English

Wood, a small project for tornado. A faster way to make web app by tornado. GitHub repo: https://github.com/thislight/wood https://telegram.me/woodproject

License

Copyright 2016 thislight

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

wood's People

Contributors

thislight avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

wood's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.