Skip to main content

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://bean-jun.github.io/bframe-docs/

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

Release files for bframe 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bframe 0.0.17
File Size Uploaded
bframe-0.0.17.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bframe 0.0.17
File Interpreter ABI Platform
bframe-0.0.17-py3-none-any.whl Python 3 none any Details

Total release size: 55.5 kB

Release files / bframe-0.0.17.tar.gz

Download URL bframe-0.0.17.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
475d7994df55ba489147943169196e509fe0faeae7f4a0b6a4a78474f7e3357e
BLAKE2b-256 checksum
How to use checksums
eecceedc513b9a4db1993c639949e64856ae720c19be4f81008eab7a09161b0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.9

Release files / bframe-0.0.17-py3-none-any.whl

Download URL bframe-0.0.17-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff89b6990cb41ab9cd9861daebd1642559fadbc53eaf2f490412ae2972f1a60d
BLAKE2b-256 checksum
How to use checksums
5f4468c95fb2190e7805b543d2a1038b5e8336749400f69e24a4e5fb48055f62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 release files

0.0.16

2 release files

0.0.15

1 release file

0.0.14

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page