Skip to main content

Flask scaffold engine

Project description

Lombik

A scaffold engine for Flask, the greatest framework of all times.

This readme will serve perfectly as a self documentation file as I go, and at the end of it I will re-write it with the final details. That means that if you see this, either my company cleersoftware has taken off and you might work with me on enhancing the scaffold for our apps. Another possibility is that lombik took off, and you are reading the early commits. Have fun, there is probably a lot of them. Anyways, I'm gonan actually start on explaning / plannign how thigns will work.

Install lombik Run pip install lombik

Create app To create an app called myapp, run lombik createapp myapp then cd myapp This creates the entire structure of your application in one go and you can run flask run --debug

Create superuser Lombik comes with MySQL as a default db. In the generated .env file you'll find the credentials for local development. Replace those placeholders with your actual dev credentials and production if you have it already. When done, initialize the database by running flask initdb and then you can run flask superuser to create your owner account. With this, you'll be able to log in to your app and start developing from there.

This is a quite simple auth system, in fact it is simple by design and meant to be replaced for production apps with something more robust.

Features and benefits On top of the structural guidance, lombik comes with a few built in goodies.

  • User authentication and session handling
  • CSRF / session expiry
  • Error handling
  • Structure
  • Template filters for frontend development
  • Pre-imported libraries
  • General templates for desktop and mobile

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

lombik-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

lombik-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file lombik-0.1.0.tar.gz.

File metadata

  • Download URL: lombik-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for lombik-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a42c675e953531cbfba8c19d1b04c395bfe51058a2be344b279fba3a9d57f7b2
MD5 4448e1c68baae5dbddfc577afa32ef9f
BLAKE2b-256 9759a2ee5f6205b6d8f3652e6cfe3755ceb089387e017249943e7a11745d2b63

See more details on using hashes here.

File details

Details for the file lombik-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lombik-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for lombik-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 352813c64133b54aeb4e451d08bf362ef3c0cd7077051d1bc3f6ce03003af4e2
MD5 80ada7b3fdb7da1d52f11009851cc808
BLAKE2b-256 103b838d752008b8c2a5b98da95a5765d96b2531530da44b5cf63287ab839b0a

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