Skip to main content

A lightweight web framework like StillSite

Project description

Bullfinch

Bullfinch — это простой Python-фреймворк для создания веб-приложений с помощью аннотаций (@site) и шаблонов.

Пример

from bullfinch import Bullfinch, site, file_template, start, password, name

app = Bullfinch('super duper')
app.app.config['instance'] = app

password(app.app) = "my_secret"
name(app.app) = "admin_user"

@site('/')
def Home():
    return file_template("index.html")

@start()
def run():
    app.run()

Авторизация

Доступна по /login с логином admin_user и паролем my_secret.

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

bullfinch-0.2.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

bullfinch-0.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file bullfinch-0.2.0.tar.gz.

File metadata

  • Download URL: bullfinch-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for bullfinch-0.2.0.tar.gz
Algorithm Hash digest
SHA256 12a281ea64dd5c200f1c394fad139517123c84f0b48d1c7d541c0cb7fc95bc55
MD5 55d59ee7c26ff2578432b77d4e51dd4b
BLAKE2b-256 cea49d63837eab29b1593b32c9b5624c7165fb1793824f09f56629395f1827d7

See more details on using hashes here.

File details

Details for the file bullfinch-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: bullfinch-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for bullfinch-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b45908d8a5ea117400ea84f66205940ebbe946de2f6afbc3e2b2f8bd44bda64
MD5 4ecb66e066e5e852bc4faf378c3c98e7
BLAKE2b-256 3910d567d9b4e80bea8b9754811be62cf022628feda00769e94bb2676ec3eb36

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