Skip to main content

🐝 BeePy

NPM Package PyPI Package Documentation

The frontend web framework for python

Thanks for Pyodide - port of Python to Emscripten, based on WASM.

Use Python in browser to build modern frontend via BeePy!

Try it out! CodeSandBox and BeePy Sandbox

Join our community at Telegram chat

Documentation | PyPI | NPM

Local development:

Install BeePy

pip install -U beepy-web[dev]

Then just start local server

beepy dev --init

And that's it!

and change code to see updates in browser in no time!

Code (custom_url.py from examples):

from beepy import Tag, mount, state, on

class IncrementButton(Tag, name='button'):
    count = state(0)

    @on
    def click(self):
        self.count += 1

    def content(self):
        return f'Count: {self.count}'

mount(IncrementButton(), '#root')

will render html as below, and will react on buttons click like native JS

<body>
    <div id="root">
        <button>
            <div>Count: 5</div>
        </button>
    </div>
</body>

Examples:

Metadata

Release files for beepy-web 0.10.1

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

Source distribution (sdist)

Source distribution for beepy-web 0.10.1
File Size Uploaded
beepy_web-0.10.1.tar.gz 92.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beepy-web 0.10.1
File Interpreter ABI Platform
beepy_web-0.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 147.6 kB

Release files / beepy_web-0.10.1.tar.gz

Download URL beepy_web-0.10.1.tar.gz
Size 92.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d3993596955a8a68ce7ebce9251fda80a63276a466b1ce3081edee0e9a0794f1
BLAKE2b-256 checksum
How to use checksums
249b909a8286a59d07155450930c98c3f8353ab5170d51b85919b0b2d8e44e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / beepy_web-0.10.1-py3-none-any.whl

Download URL beepy_web-0.10.1-py3-none-any.whl
Size 55.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7ca70341e729375377c49538f43a5f98db50f82582fa630e7b45cc38955db86
BLAKE2b-256 checksum
How to use checksums
338c75fffb8a708753f3f3298748c6f4b0297eddeac1d97be21d1e9853c8fd7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.10.1 This release

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.0

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.2

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

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