tina4-python 0.2.80__tar.gz → 0.2.82__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.
- {tina4_python-0.2.80 → tina4_python-0.2.82}/PKG-INFO +8 -11
- tina4_python-0.2.82/pyproject.toml +37 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/ORM.py +5 -3
- tina4_python-0.2.80/pyproject.toml +0 -36
- {tina4_python-0.2.80 → tina4_python-0.2.82}/README.md +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Auth.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Constant.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Database.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/DatabaseResult.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Debug.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Env.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Localization.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Messages.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/MiddleWare.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Migration.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Queue.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Request.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Response.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Router.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Session.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/ShellColors.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Swagger.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Template.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Webserver.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/Websocket.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/__init__.py +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/messages.pot +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/css/readme.md +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/favicon.ico +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/images/403.png +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/images/404.png +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/images/500.png +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/images/logo.png +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/images/readme.md +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/js/readme.md +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/js/reconnecting-websocket.js +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/js/tina4helper.js +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/swagger/index.html +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/swagger/oauth2-redirect.html +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/templates/errors/403.twig +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/templates/errors/404.twig +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/templates/errors/500.twig +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/templates/readme.md +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/en/LC_MESSAGES/messages.mo +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/en/LC_MESSAGES/messages.po +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/fr/LC_MESSAGES/messages.mo +0 -0
- {tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/fr/LC_MESSAGES/messages.po +0 -0
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tina4-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.82
|
|
4
4
|
Summary: Tina4Python - This is not another framework for Python
|
|
5
5
|
Author: Andre van Zuydam
|
|
6
6
|
Author-email: andrevanzuydam@gmail.com
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.12,<4.0
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
11
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
10
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
Requires-Dist:
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist: cryptography (>=42.0.5,<43.0.0)
|
|
11
|
+
Requires-Dist: bcrypt (>=4.2.1,<5.0.0)
|
|
12
|
+
Requires-Dist: cryptography (>=44.0.0,<45.0.0)
|
|
16
13
|
Requires-Dist: hypercorn (>=0.17.3,<0.18.0)
|
|
17
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: jinja2 (>=3.1.5,<4.0.0)
|
|
15
|
+
Requires-Dist: libsass (>=0.23.0,<0.24.0)
|
|
18
16
|
Requires-Dist: litequeue (>=0.9,<0.10)
|
|
19
|
-
Requires-Dist: mypy (>=0.991,<0.992)
|
|
20
17
|
Requires-Dist: poetry-plugin-export (>=1.9.0,<2.0.0)
|
|
21
|
-
Requires-Dist: pyjwt (>=2.
|
|
18
|
+
Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
|
|
22
19
|
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
|
|
23
20
|
Requires-Dist: simple-websocket (>=1.1.0,<2.0.0)
|
|
24
|
-
Requires-Dist: watchdog (>=
|
|
21
|
+
Requires-Dist: watchdog (>=6.0.0,<7.0.0)
|
|
25
22
|
Description-Content-Type: text/markdown
|
|
26
23
|
|
|
27
24
|
### Tina4Python - This is not a framework for Python
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "tina4-python"
|
|
3
|
+
version = "0.2.82"
|
|
4
|
+
description = "Tina4Python - This is not another framework for Python"
|
|
5
|
+
authors = [
|
|
6
|
+
{name = "Andre van Zuydam",email = "andrevanzuydam@gmail.com"}
|
|
7
|
+
]
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.12,<4.0"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"jinja2 (>=3.1.5,<4.0.0)",
|
|
12
|
+
"libsass (>=0.23.0,<0.24.0)",
|
|
13
|
+
"python-dotenv (>=1.0.1,<2.0.0)",
|
|
14
|
+
"pyjwt (>=2.10.1,<3.0.0)",
|
|
15
|
+
"cryptography (>=44.0.0,<45.0.0)",
|
|
16
|
+
"watchdog (>=6.0.0,<7.0.0)",
|
|
17
|
+
"bcrypt (>=4.2.1,<5.0.0)",
|
|
18
|
+
"litequeue (>=0.9,<0.10)",
|
|
19
|
+
"simple-websocket (>=1.1.0,<2.0.0)",
|
|
20
|
+
"poetry-plugin-export (>=1.9.0,<2.0.0)",
|
|
21
|
+
"hypercorn (>=0.17.3,<0.18.0)"
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
|
27
|
+
build-backend = "poetry.core.masonry.api"
|
|
28
|
+
|
|
29
|
+
[tool.poetry.group.dev.dependencies]
|
|
30
|
+
flake8 = "^7.1.1"
|
|
31
|
+
pytest = "^8.3.4"
|
|
32
|
+
jurigged = "^0.6.0"
|
|
33
|
+
safety = "^3.2.14"
|
|
34
|
+
ruff = "^0.9.4"
|
|
35
|
+
mysql-connector-python = "^9.2.0"
|
|
36
|
+
psycopg2-binary = "^2.9.10"
|
|
37
|
+
|
|
@@ -33,9 +33,11 @@ def orm(dba):
|
|
|
33
33
|
mod_name = file.removesuffix(".py")
|
|
34
34
|
if "__init__" not in mod_name and "__pycache__" not in mod_name and ".git" not in mod_name:
|
|
35
35
|
# import and set the database object
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
try:
|
|
37
|
+
Debug('from src.orm.' + mod_name + ' import ' + mod_name)
|
|
38
|
+
exec('from src.orm.' + mod_name + ' import ' + mod_name+"\n"+mod_name + ".__dba__ = dba")
|
|
39
|
+
except Exception as e:
|
|
40
|
+
Debug("Failed to import " + mod_name)
|
|
39
41
|
classes = find_all_sub_classes(ORM)
|
|
40
42
|
for a_class in classes:
|
|
41
43
|
a_class.__dba__ = dba
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "tina4-python"
|
|
3
|
-
version = "0.2.80"
|
|
4
|
-
description = "Tina4Python - This is not another framework for Python"
|
|
5
|
-
authors = ["Andre van Zuydam <andrevanzuydam@gmail.com>"]
|
|
6
|
-
readme = "README.md"
|
|
7
|
-
|
|
8
|
-
[tool.poetry.scripts]
|
|
9
|
-
|
|
10
|
-
[tool.poetry.dependencies]
|
|
11
|
-
python = "^3.10"
|
|
12
|
-
Jinja2 = "^3.1.4"
|
|
13
|
-
mypy = "^0.991"
|
|
14
|
-
libsass = "^0.22.0"
|
|
15
|
-
python-dotenv = "^1.0.1"
|
|
16
|
-
pyjwt = "^2.8.0"
|
|
17
|
-
cryptography = "^42.0.5"
|
|
18
|
-
watchdog = "^4.0.0"
|
|
19
|
-
bcrypt = "^4.1.3"
|
|
20
|
-
litequeue = "^0.9"
|
|
21
|
-
simple-websocket = "^1.1.0"
|
|
22
|
-
poetry-plugin-export = "^1.9.0"
|
|
23
|
-
hypercorn = "^0.17.3"
|
|
24
|
-
|
|
25
|
-
[tool.poetry.group.dev.dependencies]
|
|
26
|
-
flake8 = "^7.0.0"
|
|
27
|
-
pytest = "^7.2.0"
|
|
28
|
-
jurigged = "^0.5.3"
|
|
29
|
-
safety = "^3.2.8"
|
|
30
|
-
ruff = "^0.7.0"
|
|
31
|
-
mysql-connector-python = "^9.1.0"
|
|
32
|
-
psycopg2-binary = "^2.9.10"
|
|
33
|
-
|
|
34
|
-
[build-system]
|
|
35
|
-
requires = ["poetry-core>=1.0.0"]
|
|
36
|
-
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/js/reconnecting-websocket.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/public/swagger/oauth2-redirect.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/en/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/en/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/fr/LC_MESSAGES/messages.mo
RENAMED
|
File without changes
|
{tina4_python-0.2.80 → tina4_python-0.2.82}/tina4_python/translations/fr/LC_MESSAGES/messages.po
RENAMED
|
File without changes
|