Skip to main content

No project description provided

Project description

flowright

Get Started

import flowright as flow

# initialize databases, read files, etc.

while flow.running():
    flow.text("Hello world!")

    with flow.column():
        flow.text("Column 1")
    with flow.column():
        flow.text("Column 2")
        selection = flow.selectbox(["a", "b", "c"])
        flow.text(selection)
    with flow.column():
        flow.text("Column 3")
        resp = flow.button("Click me!")
        if resp:
            flow.text("button pressed!")
    
    flow.divider()

    flow.text("Look at this cool image!")

    flow.image("https://picsum.photos/500/300")

    flow.graph(plt.plot(list(range(10)), list(range(10))))  # soon maybe

    flow.divider()

    flow.text("And now look at this cool table!")
    for row in flow.table(range(5)):
        for col in flow.columns(range(5)):
            if (row + col) % 2 == 0:
                flow.text("Fizz")
            else:
                flow.button("Buzz")

# clean up

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

flowright-0.1.4.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowright-0.1.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file flowright-0.1.4.tar.gz.

File metadata

  • Download URL: flowright-0.1.4.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Darwin/23.0.0

File hashes

Hashes for flowright-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ddb20b960f5aa57c5efa3c6f5eb2f31a7e7a7eb3ee44f3da0e86543fdbd41581
MD5 0cab36fca68034e25f0bc64f70a5d303
BLAKE2b-256 a126a7ae5e60ce192eafb8501fb732498b13267841dcf465ada7697a878cdc12

See more details on using hashes here.

File details

Details for the file flowright-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: flowright-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Darwin/23.0.0

File hashes

Hashes for flowright-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b1eeeb3168bfd470c632e7d308e1246d43e90ac19c4e547b4f53ae5577b7a574
MD5 0b93a5c5ad481749c9ca422faa88fad6
BLAKE2b-256 a564e66df8da4f9940e78b227af8d0a8654e2b3841465dc8ee182b4afbb65c76

See more details on using hashes here.

Supported by

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