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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: beepy_web-0.6.1.tar.gz
  • Upload date:
  • Size: 40.2 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.1.tar.gz
Algorithm Hash digest
SHA256 b7c36e252368effcf9c1a1e3c12d70cc5983f1978a9bd75ccdae05ab7759d009
MD5 8b8b1f917cbf2cef5fa8d7d0929c7d8b
BLAKE2b-256 af4f3e75bf900bfe7ee98372210e0b863844cfd2386199055bb919bdfb920a35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: beepy_web-0.6.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5667d81b82f45351ab92bfe46c6e3aa86a86f487abc14601cbb6f7d1f188cf50
MD5 996673c3b1a012172c548b772b01665f
BLAKE2b-256 8f9b11eb8d6b414930647b8b96744f7d87a3ce0a1c28588daac33dc6101953d9

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