Flask-Exts 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,60 @@
1
+ name: Publish Python distribution to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ push:
7
+ tags:
8
+ - 'v**'
9
+
10
+
11
+ jobs:
12
+ release-build:
13
+ name: Build distribution
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - uses: actions/setup-python@v4
20
+ with:
21
+ python-version: "3.x"
22
+
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install hatch
27
+ pip install build
28
+
29
+ - name: Build release distributions
30
+ run: |
31
+ python -m build
32
+
33
+ - name: Upload the distribution packages
34
+ uses: actions/upload-artifact@v4
35
+ with:
36
+ name: release-dists
37
+ path: dist/
38
+
39
+ pypi-publish:
40
+ name: Publish Python distribution to PyPI
41
+ if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
42
+ runs-on: ubuntu-latest
43
+ needs:
44
+ - release-build
45
+ environment:
46
+ name: pypi
47
+ url: https://pypi.org/p/Flask-Exts
48
+ permissions:
49
+ id-token: write
50
+
51
+ steps:
52
+ - name: Retrieve release distributions
53
+ uses: actions/download-artifact@v4
54
+ with:
55
+ name: release-dists
56
+ path: dist/
57
+
58
+ - name: Publish release distributions to PyPI
59
+ uses: pypa/gh-action-pypi-publish@release/v1
60
+
@@ -0,0 +1,19 @@
1
+ # edit
2
+ .vscode
3
+ .ipynb_checkpoints
4
+
5
+ # venv/
6
+ /venv/
7
+
8
+ # Python : Byte-compiled / optimized / DLL files
9
+ __pycache__/
10
+ *.py[cod]
11
+ *$py.class
12
+ .cache/
13
+ .pytest_cache/
14
+ .coverage
15
+ htmlcov/
16
+ dist/
17
+ build/
18
+ docs/_build
19
+
@@ -0,0 +1,6 @@
1
+ v0.0.1
2
+ ------
3
+
4
+ Released 2024-03-20
5
+
6
+ - Initial release.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-present huadong <david.dong.hua@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,90 @@
1
+ Metadata-Version: 2.3
2
+ Name: Flask-Exts
3
+ Version: 0.1.0
4
+ Summary: Flask extensions with admin, SQLAlchemy, babel, forms, fields, widgets, and so on.
5
+ Project-URL: Homepage, https://github.com/ojso/flask-exts
6
+ Project-URL: Documentation, https://github.com/ojso/flask-exts
7
+ Project-URL: Issues, https://github.com/ojso/flask-exts/issues
8
+ Project-URL: Source, https://github.com/ojso/flask-exts
9
+ Author-email: huadong <david.dong.hua@gmail.com>
10
+ License: MIT License
11
+
12
+ Copyright (c) 2024-present huadong <david.dong.hua@gmail.com>
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+ License-File: LICENSE.rst
32
+ Keywords: admin,babel,flask,form,sql,widget
33
+ Classifier: Development Status :: 3 - Alpha
34
+ Classifier: Environment :: Web Environment
35
+ Classifier: Framework :: Flask
36
+ Classifier: Intended Audience :: Developers
37
+ Classifier: License :: OSI Approved :: MIT License
38
+ Classifier: Programming Language :: Python
39
+ Classifier: Programming Language :: Python :: 3
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Topic :: Software Development :: Build Tools
43
+ Requires-Python: >=3.10
44
+ Requires-Dist: coverage>=7.0
45
+ Requires-Dist: flask-babel>=4.0
46
+ Requires-Dist: flask-migrate>=4.0
47
+ Requires-Dist: flask-sqlalchemy>=3.0
48
+ Requires-Dist: flask>=3.0
49
+ Requires-Dist: pytest>=7.0
50
+ Requires-Dist: python-dotenv>=1.0
51
+ Requires-Dist: wtforms>=3.0
52
+ Description-Content-Type: text/x-rst
53
+
54
+ Flask Exts
55
+ ==========
56
+
57
+ Flask-Exts is mainly inspired by:
58
+
59
+ - `WTForms <https://github.com/wtforms/wtforms/>`_
60
+ - `Flask-WTF <https://github.com/wtforms/flask-wtf/>`_
61
+ - `Flask-Admin <https://github.com/flask-admin/flask-admin/>`_
62
+
63
+
64
+ Flask-Exts is part rewrited and well tested.
65
+
66
+ License
67
+ -------
68
+
69
+ Flask-Exts is distributed under the terms of the `MIT <https://opensource.org/licenses/MIT>`_.
70
+
71
+
72
+ Installation
73
+ ------------
74
+
75
+ Install and update using pip:
76
+
77
+ .. code-block:: console
78
+
79
+ pip install -U Flask-Exts
80
+
81
+ Tests
82
+ -----
83
+ Tests are run with *pytest*. If you are not familiar with this package you can get some more info from `pytest <https://pytest.org/>`_.
84
+
85
+ To run the tests, from the project directory:
86
+
87
+ .. code-block:: console
88
+
89
+ pytest
90
+
@@ -0,0 +1,37 @@
1
+ Flask Exts
2
+ ==========
3
+
4
+ Flask-Exts is mainly inspired by:
5
+
6
+ - `WTForms <https://github.com/wtforms/wtforms/>`_
7
+ - `Flask-WTF <https://github.com/wtforms/flask-wtf/>`_
8
+ - `Flask-Admin <https://github.com/flask-admin/flask-admin/>`_
9
+
10
+
11
+ Flask-Exts is part rewrited and well tested.
12
+
13
+ License
14
+ -------
15
+
16
+ Flask-Exts is distributed under the terms of the `MIT <https://opensource.org/licenses/MIT>`_.
17
+
18
+
19
+ Installation
20
+ ------------
21
+
22
+ Install and update using pip:
23
+
24
+ .. code-block:: console
25
+
26
+ pip install -U Flask-Exts
27
+
28
+ Tests
29
+ -----
30
+ Tests are run with *pytest*. If you are not familiar with this package you can get some more info from `pytest <https://pytest.org/>`_.
31
+
32
+ To run the tests, from the project directory:
33
+
34
+ .. code-block:: console
35
+
36
+ pytest
37
+
@@ -0,0 +1,46 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "Flask-Exts"
7
+ dynamic = ["version"]
8
+ description = 'Flask extensions with admin, SQLAlchemy, babel, forms, fields, widgets, and so on.'
9
+ readme = "README.rst"
10
+ license = { file = "LICENSE.rst" }
11
+ keywords = ["flask","babel", "admin", "form", "widget", "sql"]
12
+ authors = [
13
+ { name = "huadong", email = "david.dong.hua@gmail.com" },
14
+ ]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Environment :: Web Environment",
18
+ "Framework :: Flask",
19
+ "Intended Audience :: Developers",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Topic :: Software Development :: Build Tools",
22
+ "Programming Language :: Python",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ ]
27
+ requires-python = ">=3.10"
28
+ dependencies = [
29
+ "Flask>=3.0",
30
+ "WTForms>=3.0",
31
+ "flask-babel>=4.0",
32
+ "Flask-SQLAlchemy>=3.0",
33
+ "Flask-Migrate>=4.0",
34
+ "pytest>=7.0",
35
+ "coverage>=7.0",
36
+ "python-dotenv>=1.0",
37
+ ]
38
+
39
+ [project.urls]
40
+ Homepage = "https://github.com/ojso/flask-exts"
41
+ Documentation = "https://github.com/ojso/flask-exts"
42
+ Issues = "https://github.com/ojso/flask-exts/issues"
43
+ Source = "https://github.com/ojso/flask-exts"
44
+
45
+ [tool.hatch.version]
46
+ path = "src/flask_exts/__about__.py"
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
File without changes
@@ -0,0 +1 @@
1
+