Skip to main content

A Flask extension to integrate TailwindCSS and Alpine.js.

Project description

Flask Ultime

Flask Ultime is a Flask extension that integrates TailwindCSS and Alpine.js to simplify the development of your web applications.

Installation

You can install Flask Ultime via pip:

pip install flask-ultime

Or, if you are developing locally, you can install it with:

pip install .

Usage

To use Flask Ultime in your Flask application, you need to initialize it with your Flask app:

from flask import Flask
from flask_ultime import FlaskUltime

app = Flask(__name__)
ultime = FlaskUltime(app)

Then, load the CSS and JS in your template:

<!doctype html>
<html lang="en">
<head>
    {{ ultime_css() }}
</head>
<body>
    {{ ultime_js() }}
</body>
</html>

Finally, set the FLASK_APP environment variable and you will have access to the CLI commands: flask ultime init, flask ultime install, flask ultime start, and flask ultime build.

export FLASK_APP=your_application.py

Run the following commands:

flask ultime init
flask ultime install
flask ultime start
flask ultime build

Features

  • TailwindCSS Integration: Easily include TailwindCSS in your Flask templates.
  • Alpine.js Integration: Use Alpine.js for reactive components in your Flask app.
  • Simple Setup: Quick and easy setup to get started with modern web development tools.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

Support

If you have any questions or need help, feel free to open an issue on the GitHub repository.

Acknowledgements

Special thanks to the Flask, TailwindCSS, and Alpine.js communities for their amazing work.

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

flask_ultime-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

flask_ultime-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_ultime-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for flask_ultime-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bcc08bb8c7e3b009c0daf9be773901e36cae08583b79e33857bed5713f4b642f
MD5 a63da48066bf10bc91897a490ba1c944
BLAKE2b-256 f90c8c069be99f66901e0a9079ff8b48cfc2723b9bd7bb560efbf0ca754f4226

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flask_ultime-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for flask_ultime-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24477f15e2e487da83e7c26acf7a87d1c7abca86717ffadfb22c5f8053112e69
MD5 0c341f3b9756519a3ae05a69f0b3b331
BLAKE2b-256 05912590eed73368f99f5b4a57b90f8169393d710d86a48845e2e91ebf3a1044

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