web-framework-api 1.0.7__tar.gz → 3.1.1__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.
- web_framework_api-3.1.1/CMakeLists.txt +3 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/PKG-INFO +30 -6
- web_framework_api-3.1.1/license/BOOST_LICENSE.txt +23 -0
- web_framework_api-3.1.1/license/CMARK_GFM_LICENSE.txt +22 -0
- web_framework_api-3.1.1/license/LICENSE +21 -0
- web_framework_api-3.1.1/license/OPEN_SSL_LICENSE.txt +88 -0
- web_framework_api-3.1.1/license/SQLITE3_LICENSE.txt +6 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/pyproject.toml +10 -4
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/utility/Utils.py +8 -6
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/README.md +0 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/WebFramework.py +0 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/__init__.py +0 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/exceptions/WebFrameworkException.py +0 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/utility/Config.py +0 -0
- {web_framework_api-1.0.7 → web_framework_api-3.1.1}/web_framework_api/utility/DLLHandler.py +0 -0
|
@@ -1,13 +1,37 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: web_framework_api
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 3.1.1
|
|
4
4
|
Summary: Python API for WebFramework
|
|
5
|
-
Project-URL: Repository, http://github.com/LazyPanda07/WebFramework
|
|
6
|
-
Project-URL: Wiki, http://github.com/LazyPanda07/WebFramework/wiki
|
|
7
|
-
Author-email: LazyPanda07 <semengricenko@gmail.com>
|
|
8
|
-
Maintainer-email: LazyPanda07 <semengricenko@gmail.com>
|
|
9
5
|
Keywords: Web
|
|
6
|
+
Author-Email: LazyPanda07 <semengricenko@gmail.com>
|
|
7
|
+
Maintainer-Email: LazyPanda07 <semengricenko@gmail.com>
|
|
8
|
+
License: MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2020 Semyon Gritsenko
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
|
|
30
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
31
|
Classifier: License :: OSI Approved :: MIT License
|
|
32
|
+
Classifier: Operating System :: OS Independent
|
|
33
|
+
Project-URL: Repository, http://github.com/LazyPanda07/WebFramework
|
|
34
|
+
Project-URL: Wiki, http://github.com/LazyPanda07/WebFramework/wiki
|
|
11
35
|
Requires-Dist: multipledispatch
|
|
12
36
|
Requires-Dist: requests
|
|
13
37
|
Requires-Dist: tqdm
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person or organization
|
|
4
|
+
obtaining a copy of the software and accompanying documentation covered by
|
|
5
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
|
6
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
|
7
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
|
8
|
+
do so, subject to the following:
|
|
9
|
+
|
|
10
|
+
The copyright notices in the Software and this entire statement, including
|
|
11
|
+
the above license grant, this restriction and the following disclaimer,
|
|
12
|
+
must be included in all copies of the Software, in whole or in part, and
|
|
13
|
+
all derivative works of the Software, unless such copies or derivative
|
|
14
|
+
works are solely in the form of machine-executable object code generated by
|
|
15
|
+
a source language processor.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
|
20
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
21
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
22
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
23
|
+
DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 John MacFarlane
|
|
4
|
+
Copyright (c) 2017-2024 GitHub, Inc.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
22
|
+
IN THE SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Semyon Gritsenko
|
|
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,88 @@
|
|
|
1
|
+
Copyright (c) 1998-2024 The OpenSSL Project Authors. All rights reserved.
|
|
2
|
+
Licensed under the Apache License 2.0.
|
|
3
|
+
|
|
4
|
+
This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).
|
|
5
|
+
This product includes software written by Tim Hudson (tjh@cryptsoft.com).
|
|
6
|
+
|
|
7
|
+
====================================================================
|
|
8
|
+
OpenSSL License
|
|
9
|
+
====================================================================
|
|
10
|
+
|
|
11
|
+
Copyright (c) 1998-2024 The OpenSSL Project Authors. All rights reserved.
|
|
12
|
+
|
|
13
|
+
Redistribution and use in source and binary forms, with or without
|
|
14
|
+
modification, are permitted provided that the following conditions are met:
|
|
15
|
+
|
|
16
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
17
|
+
this list of conditions and the following disclaimer.
|
|
18
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
19
|
+
notice, this list of conditions and the following disclaimer in the
|
|
20
|
+
documentation and/or other materials provided with the distribution.
|
|
21
|
+
3. All advertising materials mentioning features or use of this software
|
|
22
|
+
must display the following acknowledgment:
|
|
23
|
+
"This product includes software developed by the OpenSSL Project
|
|
24
|
+
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
|
25
|
+
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
|
26
|
+
endorse or promote products derived from this software without prior
|
|
27
|
+
written permission. For written permission, please contact
|
|
28
|
+
openssl-core@openssl.org.
|
|
29
|
+
5. Products derived from this software may not be called "OpenSSL" nor may
|
|
30
|
+
"OpenSSL" appear in their names without prior written permission of the
|
|
31
|
+
OpenSSL Project.
|
|
32
|
+
6. Redistributions of any form whatsoever must retain the following
|
|
33
|
+
acknowledgment:
|
|
34
|
+
"This product includes software developed by the OpenSSL Project
|
|
35
|
+
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
|
36
|
+
|
|
37
|
+
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
|
38
|
+
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
39
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
40
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
|
41
|
+
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
42
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
43
|
+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
44
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
45
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
46
|
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
47
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
48
|
+
OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
49
|
+
|
|
50
|
+
====================================================================
|
|
51
|
+
Original SSLeay License
|
|
52
|
+
====================================================================
|
|
53
|
+
|
|
54
|
+
Copyright (c) 1995-1998 Eric Young (eay@cryptsoft.com)
|
|
55
|
+
All rights reserved.
|
|
56
|
+
|
|
57
|
+
This package is an SSL implementation written
|
|
58
|
+
by Eric Young (eay@cryptsoft.com).
|
|
59
|
+
The implementation was written so as to conform with Netscape's SSL.
|
|
60
|
+
|
|
61
|
+
Redistribution and use in source and binary forms, with or without
|
|
62
|
+
modification, are permitted provided that the following conditions are met:
|
|
63
|
+
|
|
64
|
+
1. Redistributions of source code must retain the copyright notice, this list
|
|
65
|
+
of conditions and the following disclaimer.
|
|
66
|
+
2. Redistributions in binary form must reproduce the copyright notice, this
|
|
67
|
+
list of conditions and the following disclaimer in the documentation and/or
|
|
68
|
+
other materials provided with the distribution.
|
|
69
|
+
3. All advertising materials mentioning features or use of this software must
|
|
70
|
+
display the following acknowledgement:
|
|
71
|
+
"This product includes cryptographic software written by
|
|
72
|
+
Eric Young (eay@cryptsoft.com)"
|
|
73
|
+
The word 'cryptographic' can be left out if the routines from the library
|
|
74
|
+
being used are not cryptographic related.
|
|
75
|
+
4. If you include any Windows-specific code (or a derivative thereof) from
|
|
76
|
+
the apps directory (application code) you must include an acknowledgement:
|
|
77
|
+
"This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
|
78
|
+
|
|
79
|
+
THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
|
|
80
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
81
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
82
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
|
|
83
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
84
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
85
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
86
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
87
|
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
|
88
|
+
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["
|
|
3
|
-
build-backend = "
|
|
2
|
+
requires = ["scikit-build-core[pyproject]"]
|
|
3
|
+
build-backend = "scikit_build_core.build"
|
|
4
|
+
|
|
5
|
+
[tool.scikit-build]
|
|
6
|
+
wheel.py-api = "py3"
|
|
4
7
|
|
|
5
8
|
[project]
|
|
6
9
|
name = "web_framework_api"
|
|
7
10
|
description = "Python API for WebFramework"
|
|
8
11
|
readme = "README.md"
|
|
12
|
+
license = { file = "license/LICENSE" }
|
|
9
13
|
authors = [
|
|
10
14
|
{ name = "LazyPanda07", email = "semengricenko@gmail.com" }
|
|
11
15
|
]
|
|
@@ -13,14 +17,16 @@ maintainers = [
|
|
|
13
17
|
{ name = "LazyPanda07", email = "semengricenko@gmail.com" }
|
|
14
18
|
]
|
|
15
19
|
keywords = ["Web"]
|
|
16
|
-
version = "1.
|
|
20
|
+
version = "3.1.1"
|
|
17
21
|
dependencies = [
|
|
18
22
|
"multipledispatch",
|
|
19
23
|
"requests",
|
|
20
24
|
"tqdm"
|
|
21
25
|
]
|
|
22
26
|
classifiers = [
|
|
23
|
-
"
|
|
27
|
+
"Programming Language :: Python :: 3",
|
|
28
|
+
"License :: OSI Approved :: MIT License",
|
|
29
|
+
"Operating System :: OS Independent",
|
|
24
30
|
]
|
|
25
31
|
|
|
26
32
|
[project.urls]
|
|
@@ -7,8 +7,9 @@ import requests
|
|
|
7
7
|
|
|
8
8
|
from tqdm import tqdm
|
|
9
9
|
|
|
10
|
-
WEB_FRAMEWORK_MAJOR_VERSION = "
|
|
11
|
-
WEB_FRAMEWORK_MINOR_VERSION = "
|
|
10
|
+
WEB_FRAMEWORK_MAJOR_VERSION = "3"
|
|
11
|
+
WEB_FRAMEWORK_MINOR_VERSION = "1"
|
|
12
|
+
WEB_FRAMEWORK_PATCH_VERSION = "1"
|
|
12
13
|
WEB_FRAMEWORK_LIBRARIES_FILE_NAME = "libraries.zip"
|
|
13
14
|
WEB_FRAMEWORK_DOWNLOAD_BLOCK_SIZE = 1024
|
|
14
15
|
|
|
@@ -40,13 +41,13 @@ def unzip_libraries(path_to_zip: str, output_path: str):
|
|
|
40
41
|
|
|
41
42
|
def copy_libraries(libraries_directory: str):
|
|
42
43
|
if sys.platform == "win32":
|
|
43
|
-
directory_path = os.path.join(libraries_directory, "
|
|
44
|
+
directory_path = os.path.join(libraries_directory, "Release_Windows", "dll")
|
|
44
45
|
|
|
45
46
|
for file in os.listdir(directory_path):
|
|
46
47
|
shutil.copy(os.path.join(directory_path, file), libraries_directory)
|
|
47
48
|
|
|
48
49
|
else:
|
|
49
|
-
directory_path = os.path.join(libraries_directory, "
|
|
50
|
+
directory_path = os.path.join(libraries_directory, "Release_Linux", "lib")
|
|
50
51
|
|
|
51
52
|
for file in os.listdir(directory_path):
|
|
52
53
|
if file.endswith(".so"):
|
|
@@ -67,11 +68,12 @@ def create_directories(libraries_directory: str):
|
|
|
67
68
|
else:
|
|
68
69
|
os.makedirs(os.path.join(libraries_directory, "lib"))
|
|
69
70
|
|
|
71
|
+
|
|
70
72
|
def get_url():
|
|
71
73
|
if sys.platform == "win32":
|
|
72
|
-
return f"https://github.com/LazyPanda07/WebFramework/releases/download/
|
|
74
|
+
return f"https://github.com/LazyPanda07/WebFramework/releases/download/v{WEB_FRAMEWORK_MAJOR_VERSION}.{WEB_FRAMEWORK_MINOR_VERSION}.{WEB_FRAMEWORK_PATCH_VERSION}/windows.zip"
|
|
73
75
|
else:
|
|
74
|
-
return f"https://github.com/LazyPanda07/WebFramework/releases/download/
|
|
76
|
+
return f"https://github.com/LazyPanda07/WebFramework/releases/download/v{WEB_FRAMEWORK_MAJOR_VERSION}.{WEB_FRAMEWORK_MINOR_VERSION}.{WEB_FRAMEWORK_PATCH_VERSION}/linux.zip"
|
|
75
77
|
|
|
76
78
|
|
|
77
79
|
def get_libraries(libraries_directory: str):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|