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.0.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

beepy_web-0.6.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beepy_web-0.6.0.tar.gz
  • Upload date:
  • Size: 40.0 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.0.tar.gz
Algorithm Hash digest
SHA256 b5f281712cc5692373c49a8c36782b4466dd14616f48694bced9683e2f02b199
MD5 af977faf20dac317393e5000db5b497d
BLAKE2b-256 4cbfdceb951199192611b92c0bb77c260d90dd7188bf657947c0e056708f2ee6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beepy_web-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 523f3f57be8e8d47b9631e657b0c7a672139adb06232cea1e45f8c19ee76f2a0
MD5 18347c1caa0d1bf82d4621cf65640654
BLAKE2b-256 90ea2df2948e9beb7e90440848301bebf585d7d748c833968e32efe2da9fe51b

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