# 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:
```sh
pip install flask-ultime
```
Or, if you are developing locally, you can install it with:
```sh
pip install .
```
## Usage
To use Flask Ultime in your Flask application, you need to initialize it with your Flask app:
```python
from flask import Flask
from flask_ultime import FlaskUltime
app = Flask(__name__)
ultime = FlaskUltime(app)
```
Then, load the CSS and JS in your template:
```html
<!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`.
```sh
export FLASK_APP=your_application.py
```
Run the following commands:
```sh
flask ultime init
```
```sh
flask ultime install
```
```sh
flask ultime start
```
```sh
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](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.
Raw data
{
"_id": null,
"home_page": "https://github.com/codewithmpia/flask_ultime",
"name": "flask-ultime",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "codewithmpia",
"author_email": "codewithmpia@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f9/0c/8c069be99f66901e0a9079ff8b48cfc2723b9bd7bb560efbf0ca754f4226/flask_ultime-0.1.0.tar.gz",
"platform": null,
"description": "# Flask Ultime\n\nFlask Ultime is a Flask extension that integrates TailwindCSS and Alpine.js to simplify the development of your web applications.\n\n## Installation\n\nYou can install Flask Ultime via pip:\n\n```sh\npip install flask-ultime\n```\n\nOr, if you are developing locally, you can install it with:\n\n```sh\npip install .\n```\n\n## Usage\n\nTo use Flask Ultime in your Flask application, you need to initialize it with your Flask app:\n\n```python\nfrom flask import Flask\nfrom flask_ultime import FlaskUltime\n\napp = Flask(__name__)\nultime = FlaskUltime(app)\n```\n\nThen, load the CSS and JS in your template:\n\n```html\n<!doctype html>\n<html lang=\"en\">\n<head>\n {{ ultime_css() }}\n</head>\n<body>\n {{ ultime_js() }}\n</body>\n</html>\n```\n\nFinally, 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`.\n\n```sh\nexport FLASK_APP=your_application.py\n```\n\nRun the following commands:\n\n```sh\nflask ultime init\n```\n\n```sh\nflask ultime install\n```\n\n```sh\nflask ultime start\n```\n\n```sh\nflask ultime build\n```\n\n## Features\n\n- **TailwindCSS Integration**: Easily include TailwindCSS in your Flask templates.\n- **Alpine.js Integration**: Use Alpine.js for reactive components in your Flask app.\n- **Simple Setup**: Quick and easy setup to get started with modern web development tools.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\n\n## Support\n\nIf you have any questions or need help, feel free to open an issue on the GitHub repository.\n\n## Acknowledgements\n\nSpecial thanks to the Flask, TailwindCSS, and Alpine.js communities for their amazing work.\n",
"bugtrack_url": null,
"license": null,
"summary": "A Flask extension to integrate TailwindCSS and Alpine.js.",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/codewithmpia/flask_ultime"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "05912590eed73368f99f5b4a57b90f8169393d710d86a48845e2e91ebf3a1044",
"md5": "0c341f3b9756519a3ae05a69f0b3b331",
"sha256": "24477f15e2e487da83e7c26acf7a87d1c7abca86717ffadfb22c5f8053112e69"
},
"downloads": -1,
"filename": "flask_ultime-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0c341f3b9756519a3ae05a69f0b3b331",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 6055,
"upload_time": "2025-02-02T23:04:38",
"upload_time_iso_8601": "2025-02-02T23:04:38.946475Z",
"url": "https://files.pythonhosted.org/packages/05/91/2590eed73368f99f5b4a57b90f8169393d710d86a48845e2e91ebf3a1044/flask_ultime-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f90c8c069be99f66901e0a9079ff8b48cfc2723b9bd7bb560efbf0ca754f4226",
"md5": "a63da48066bf10bc91897a490ba1c944",
"sha256": "bcc08bb8c7e3b009c0daf9be773901e36cae08583b79e33857bed5713f4b642f"
},
"downloads": -1,
"filename": "flask_ultime-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a63da48066bf10bc91897a490ba1c944",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4917,
"upload_time": "2025-02-02T23:04:40",
"upload_time_iso_8601": "2025-02-02T23:04:40.887498Z",
"url": "https://files.pythonhosted.org/packages/f9/0c/8c069be99f66901e0a9079ff8b48cfc2723b9bd7bb560efbf0ca754f4226/flask_ultime-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-02 23:04:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "codewithmpia",
"github_project": "flask_ultime",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "build",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "twine",
"specs": []
},
{
"name": "flask",
"specs": []
}
],
"lcname": "flask-ultime"
}