{"id":14065431,"url":"https://github.com/hfilimonescu/flask-bs4","last_synced_at":"2025-07-29T20:32:43.488Z","repository":{"id":53913460,"uuid":"177661737","full_name":"hfilimonescu/flask-bs4","owner":"hfilimonescu","description":"Bootstrap 4 \u0026 5 support for Flask","archived":false,"fork":false,"pushed_at":"2023-08-24T08:22:01.000Z","size":4914,"stargazers_count":24,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-24T02:50:42.871Z","etag":null,"topics":["bootstrap","cdn","flask-bootstrap","flask-bs4"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hfilimonescu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-25T20:46:02.000Z","updated_at":"2024-05-06T12:42:15.000Z","dependencies_parsed_at":"2024-05-28T01:36:23.698Z","dependency_job_id":"75ae79cb-e0f0-402e-930f-4414487b9e0d","html_url":"https://github.com/hfilimonescu/flask-bs4","commit_stats":{"total_commits":156,"total_committers":3,"mean_commits":52.0,"dds":"0.038461538461538436","last_synced_commit":"6872f0cc71f44f95045b487abeb6d0a0fb0fccba"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/hfilimonescu/flask-bs4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfilimonescu%2Fflask-bs4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfilimonescu%2Fflask-bs4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfilimonescu%2Fflask-bs4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfilimonescu%2Fflask-bs4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hfilimonescu","download_url":"https://codeload.github.com/hfilimonescu/flask-bs4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfilimonescu%2Fflask-bs4/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267136788,"owners_count":24041261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","cdn","flask-bootstrap","flask-bs4"],"created_at":"2024-08-13T07:04:29.331Z","updated_at":"2025-07-29T20:32:42.798Z","avatar_url":"https://github.com/hfilimonescu.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Flask-BS4\n\n\n\n## Bootstrap v5.0.0-beta1\n\n[![Downloads](https://pepy.tech/badge/flask-bs4)](https://pepy.tech/project/flask-bs4)\n[![Downloads](https://pepy.tech/badge/flask-bs4/month)](https://pepy.tech/project/flask-bs4/month)\n[![Downloads](https://pepy.tech/badge/flask-bs4/week)](https://pepy.tech/project/flask-bs4/week)\n\n\n### Discrepancies to the Bootstrap Documentation:\n- `_wrap_boolean` will have an additional `div` without classes if the form_type is `basic` or `floating`\n\n## Usage\n\nHere is an example:\n\n```python\nfrom flask_bs4 import Bootstrap\n\n[...]\n\nBootstrap(app)\n```\n\nThis makes some new templates available, containing blank pages that include all bootstrap resources, and have predefined blocks where you can put your content.\n\nAs of version 3, Flask-Bootstrap has a [proper documentation](http://pythonhosted.org/Flask-Bootstrap), which you can check for more details.\n\n## Sample App\n\nWelcome to the Flask-BS4 sample app. This will give you an overview\nof how the Flask-BS4 package can render different types of input fields.\n\nFirst you should create a virtual environment. I prefer using:\n\n```bash\n$ python3 -m venv venv\n```\n\nTo run this application yourself, please install its requirements first:\n\n```bash\n$ pip install -r sample_app/requirements.txt\n```\n\nThen, you can actually run the application. Optionally you can set\n`FLASK_ENV=development`.\n\n```bash\n$ export FLASK_APP=sample_app\n$ flask run\n```\n\nAfterwards, point your browser to [localhost:5000](http://localhost:5000),\nthen check out the source.\n\n\n***This is a fork of [Flask-Bootsrap](https://pypi.org/project/Flask-Bootstrap/) upgraded to Bootstrap 5.x.x.***\n\nFlask-Bootstrap packages [Bootstrap](http://getbootstrap.com) into an extension that mostly consists of a blueprint named `bootstrap`. It can also create links to serve Bootstrap from a CDN and works with no boilerplate code in your application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfilimonescu%2Fflask-bs4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhfilimonescu%2Fflask-bs4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfilimonescu%2Fflask-bs4/lists"}