Skip to main content

The modern frontend web framework for Python

Project description

🐝 BeePy

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

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, event):
        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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beepy_web-0.6.2.tar.gz (40.4 kB view details)

Uploaded Source

Built Distribution

beepy_web-0.6.2-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file beepy_web-0.6.2.tar.gz.

File metadata

  • Download URL: beepy_web-0.6.2.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for beepy_web-0.6.2.tar.gz
Algorithm Hash digest
SHA256 98490c22933cee18a87e569222406d92f31153836345024e566275a792bcc0bd
MD5 9b497388cf7fff58ba9a6f386f7a85ac
BLAKE2b-256 1c2c8f4df4e263fe8435ac98cdfb1f654ecc5f851973b12d8089f2f6e8b8ad95

See more details on using hashes here.

File details

Details for the file beepy_web-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: beepy_web-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for beepy_web-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f48c51d70d63de15ad6027ace79c70db66523282b30b6676742b034252afe22
MD5 ff30e7764b13fa9ae362586be3db0326
BLAKE2b-256 be23aa81bc2aff6912e8d5eced453b4c8c8acd95e7e588dd798c886d8a6b6154

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page