Coder Social home page Coder Social logo

pywebbuilders / bframe Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 246 KB

A simple python web server frame

Home Page: https://pypi.org/project/bframe

License: MIT License

Python 89.41% Batchfile 0.07% Makefile 0.12% HTML 5.43% CSS 1.32% Shell 0.49% JavaScript 3.16%
python framework

bframe's Introduction

bframe是一个基于WSGI的协议的web框架。它非常像flask,但也会有django restframework的味道。

bframe的初衷是为了学习pythonweb框架,加深对WSGI及周边生态的了解。当然,若您想更深入的了解python web开发,请参与进来吧!

安装

pip install -U bframe

快速入门

# app.py
from bframe import Frame

app = Frame(__name__)


@app.get("/")
def home():
    return "hello world"


if __name__ == "__main__":
    app.run()

启动项目

python app.py

LINKS

项目文档: https://github.com/PyWebBuilders/bframe-docs

项目DEMO: https://github.com/PyWebBuilders/Plats.git

bframe's People

Contributors

bean-jun avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

bean-jun

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.