Skip to main content

A Flask-like Tiny-framework for static websites

Project description

Build Status

Flastik

Flastik is a tiny-framework for static website design inspired by Flask micro-framework. It provides tools for designing simple static website project using Flask-like syntax and project architecture as well as leveraging Jinja2 templating system and Bootstrap "beautyfying" capability. Additionally, Flastik aims to ease the porting to Flask if extra functionality becomes needed further down your website life cycle.

In addition, classes and functions have been designed in order to ease the management and templating of images, downloads and other static files (see StaticFile, Image and Download classes as well as collect_static_files function).

Installation

In order to install Flastik:

  • Change directory to the FlastiK code base
  • Run “pip install .”, or “python setup.py install” if you don’t have pip installed on your work station, to install the package (or “sudo python setup.py install”/”sudo pip install .” if root permission is required)
  • Finally run “python setup.py test” to test the sanity of the package installation (or “sudo python setup.py test” if root permission is required)

Usage

Once Flastik installed, run "flastik --create_doc" from a command line in order to have access to more detailed documentation.

Similarly, to start up a new flastik project, run "flastik --create_project PROJECT_NAME" from a command line.

License

Flastik is distributed under the GNU GPLv3 License (see LICENSE) and Bootstrap under the MIT License (see ./flastik/bootstrap/BOOTSTRAP_LICENSE).

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

flastik-1.0.2.tar.gz (902.8 kB view hashes)

Uploaded Source

Built Distribution

flastik-1.0.2-py3-none-any.whl (929.6 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