Skip to main content

A Python library for building Web user interfaces

Project description

pycoyote - A Python library for building Web user interfaces

Define your component

# You define a class derived from Component
# You need to implement method render
# You can access self.children which represent all the children of your component
# You can access self.props which contains all the attributes passed to your component

from pycoyote import Component
class MainPage(Component):
    def render(self):
        return DIV({"style":"background-color: green;"}
            "hello world!"
        )

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

pycoyote-0.0.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

pycoyote-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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