Skip to main content

flask-brython

因为这个库(flask-brython),所以在使用brython时,更方便了。

Because of this library (flask-brython), it is more convenient to use brython.

安装

Install

$ pip install flask-brython

使用

use

...
from flask_brython import *
...
brython = Brython(app)
...

加载

load

...
{{ brython.load() }}
...

创建brython在线python代码运行器

Create brython online python code runner

...
{{ brython. create(code="print('helloworld')") }}
<!-- code参数是你要运行的代码 -->
<!-- The 'code' parameter is the code you want to run -->
...

Metadata

Release files for Flask-Brython 1.0.0

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

Source distribution (sdist)

Source distribution for Flask-Brython 1.0.0
File Size Uploaded Provenance
Flask-Brython-1.0.0.tar.gz 1.9 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Brython 1.0.0
File Interpreter ABI Platform
Flask_Brython-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.8 MB

Release files / Flask-Brython-1.0.0.tar.gz

Download URL Flask-Brython-1.0.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
13f075637b24f6f2bfa901b0c33717decfb25f022448454885162741e9f9f12d
BLAKE2b-256 checksum
How to use checksums
1ec777365a9da6e65ee24d978d46b05f40e01de74e3ef7b57f1f831dc6a6a223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.4

Release files / Flask_Brython-1.0.0-py3-none-any.whl

Download URL Flask_Brython-1.0.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
063bfd93ddadb474753aee3ec462ff2d6cf36368f998c8a80dc15dbc3c92c33d
BLAKE2b-256 checksum
How to use checksums
ddd567245620b0ca43a37747bf73d7ef7fe34b294410ba75a1303b5dd1c2c69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.4

Security for Flask-Brython 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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