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

Uploaded Source

Built Distribution

beepy_web-0.6.3-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beepy_web-0.6.3.tar.gz
  • Upload date:
  • Size: 40.6 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.3.tar.gz
Algorithm Hash digest
SHA256 feaec4f7064b9b19bd38295614e29f76f79790eb918b6a48aeac8e040da9f68e
MD5 d939dde6e1f56120d3db2074a6bc48cc
BLAKE2b-256 f4a65488d9b6d30536fabf772d53918cf55dae6d9eeb66adee242abc9716ba33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beepy_web-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 44.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 662728ed1c0dea51be9ea089b18cde1eff603471e9ff68ebe617d87050f5d4e6
MD5 c39d95c7a289eb0a77ee2206ddb91676
BLAKE2b-256 eaa91dfcbdea6629e816f13b87c6d48225b7729d1e4742dd293c24a9545d67ad

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