diff --git a/.github/workflows/flask-admin.yml b/.github/workflows/flask-admin.yml new file mode 100644 index 0000000..1f8ca87 --- /dev/null +++ b/.github/workflows/flask-admin.yml @@ -0,0 +1,29 @@ + +name: flask-admin + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.12' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flask-admin flask + + - name: Test initialization + run: | + python -c "from flask import Flask; app = Flask(__name__); from flask_admin import Admin; Admin(app)" diff --git a/.github/workflows/flask-apscheduler.yml b/.github/workflows/flask-apscheduler.yml new file mode 100644 index 0000000..5c8dcb0 --- /dev/null +++ b/.github/workflows/flask-apscheduler.yml @@ -0,0 +1,29 @@ + +name: flask-apscheduler + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.12' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flask-apscheduler flask + + - name: Test initialization + run: | + python -c "from flask import Flask; app = Flask(__name__); from flask_apscheduler import APScheduler; APScheduler(app)" diff --git a/README.md b/README.md index 4ed5d86..bc83705 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@ For a project that is abandoned/dead, we will remove it from the table and list | Extension Repository | Latest version | Last Commit | Downloads | Build with latest Flask (3.x) and Python (3.12.x) | | -------------------- | --------------- | ----------- | ---------- | ------------------------------------------------- | | [helloflask/bootstrap-flask](https://github.com/helloflask/bootstrap-flask) | ![PyPI - Version](https://img.shields.io/pypi/v/bootstrap-flask) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/helloflask/bootstrap-flask) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/bootstrap-flask?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/bootstrap-flask.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/bootstrap-flask.yml) | +| [flask-admin/flask-admin](https://github.com/flask-admin/flask-admin) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-admin) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/flask-admin/flask-admin) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-admin?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-admin.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-admin.yml) | | [jmcarp/flask-apispec](https://github.com/jmcarp/flask-apispec) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-apispec) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/jmcarp/flask-apispec) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-apispec?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-apispec.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-apispec.yml) | +| [viniciuschiele/flask-apscheduler](https://github.com/viniciuschiele/flask-apscheduler) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-apscheduler) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/viniciuschiele/flask-apscheduler) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-apscheduler?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-apscheduler.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-apscheduler.yml) | | [miracle2k/flask-assets](https://github.com/miracle2k/flask-assets) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-assets) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/miracle2k/flask-assets) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-assets?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-assets.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-assets.yml) | | [helloflask/flask-avatars](https://github.com/helloflask/flask-avatars) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-avatars) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/helloflask/flask-avatars) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-avatars?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-avatars.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-avatars.yml) | | [python-babel/flask-babel](https://github.com/python-babel/flask-babel) | ![PyPI - Version](https://img.shields.io/pypi/v/flask-babel) | ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/python-babel/flask-babel) | ![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-babel?color=darkgrey) | [![build](https://github.com/greyli/flask-extension-status/actions/workflows/flask-babel.yml/badge.svg)](https://github.com/greyli/flask-extension-status/actions/workflows/flask-babel.yml) | diff --git a/extensions.yml b/extensions.yml index c198c6f..563dc99 100644 --- a/extensions.yml +++ b/extensions.yml @@ -83,3 +83,9 @@ flask-jwt-extended: flask-bcrypt: repo: maxcountryman/flask-bcrypt init_string: 'from flask_bcrypt import Bcrypt; Bcrypt(app)' +flask-admin: + repo: flask-admin/flask-admin + init_string: 'from flask_admin import Admin; Admin(app)' +flask-apscheduler: + repo: viniciuschiele/flask-apscheduler + init_string: 'from flask_apscheduler import APScheduler; APScheduler(app)'