flask-Humanify 0.1.0__tar.gz → 0.1.2__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.
- flask_humanify-0.1.2/MANIFEST.in +3 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/PKG-INFO +5 -3
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/README.md +4 -2
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/flask_Humanify.egg-info/PKG-INFO +5 -3
- flask_humanify-0.1.2/flask_Humanify.egg-info/SOURCES.txt +19 -0
- flask_humanify-0.1.2/flask_Humanify.egg-info/top_level.txt +1 -0
- {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.2/flask_humanify}/__init__.py +1 -1
- flask_humanify-0.1.2/flask_humanify/datasets/ipset.json +1 -0
- flask_humanify-0.1.2/flask_humanify/features/rate_limiter.py +77 -0
- {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.2/flask_humanify}/ipset.py +28 -3
- flask_humanify-0.1.2/flask_humanify/templates/access_denied.html +110 -0
- flask_humanify-0.1.2/flask_humanify/templates/oneclick_captcha.html +192 -0
- flask_humanify-0.1.2/flask_humanify/templates/rate_limited.html +110 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/pyproject.toml +3 -2
- flask_humanify-0.1.0/flask_Humanify.egg-info/SOURCES.txt +0 -13
- flask_humanify-0.1.0/flask_Humanify.egg-info/top_level.txt +0 -1
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/LICENSE +0 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/flask_Humanify.egg-info/dependency_links.txt +0 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/flask_Humanify.egg-info/requires.txt +0 -0
- {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.2/flask_humanify}/humanify.py +0 -0
- {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.2/flask_humanify}/utils.py +0 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/setup.cfg +0 -0
- {flask_humanify-0.1.0 → flask_humanify-0.1.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: flask-Humanify
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Protect against bots and DDoS attacks
|
5
5
|
Author-email: TN3W <tn3w@protonmail.com>
|
6
6
|
License-Expression: Apache-2.0
|
@@ -55,15 +55,17 @@ if __name__ == "__main__":
|
|
55
55
|
app.run()
|
56
56
|
```
|
57
57
|
|
58
|
+
## Usage
|
59
|
+
|
58
60
|
### Installation
|
59
61
|
Install the package with pip:
|
60
62
|
```bash
|
61
|
-
pip install flask-
|
63
|
+
pip install flask-humanify --upgrade
|
62
64
|
```
|
63
65
|
|
64
66
|
Import the extension:
|
65
67
|
```python
|
66
|
-
from
|
68
|
+
from flask_humanify import Humanify
|
67
69
|
```
|
68
70
|
|
69
71
|
Add the extension to your Flask app:
|
@@ -24,15 +24,17 @@ if __name__ == "__main__":
|
|
24
24
|
app.run()
|
25
25
|
```
|
26
26
|
|
27
|
+
## Usage
|
28
|
+
|
27
29
|
### Installation
|
28
30
|
Install the package with pip:
|
29
31
|
```bash
|
30
|
-
pip install flask-
|
32
|
+
pip install flask-humanify --upgrade
|
31
33
|
```
|
32
34
|
|
33
35
|
Import the extension:
|
34
36
|
```python
|
35
|
-
from
|
37
|
+
from flask_humanify import Humanify
|
36
38
|
```
|
37
39
|
|
38
40
|
Add the extension to your Flask app:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: flask-Humanify
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Protect against bots and DDoS attacks
|
5
5
|
Author-email: TN3W <tn3w@protonmail.com>
|
6
6
|
License-Expression: Apache-2.0
|
@@ -55,15 +55,17 @@ if __name__ == "__main__":
|
|
55
55
|
app.run()
|
56
56
|
```
|
57
57
|
|
58
|
+
## Usage
|
59
|
+
|
58
60
|
### Installation
|
59
61
|
Install the package with pip:
|
60
62
|
```bash
|
61
|
-
pip install flask-
|
63
|
+
pip install flask-humanify --upgrade
|
62
64
|
```
|
63
65
|
|
64
66
|
Import the extension:
|
65
67
|
```python
|
66
|
-
from
|
68
|
+
from flask_humanify import Humanify
|
67
69
|
```
|
68
70
|
|
69
71
|
Add the extension to your Flask app:
|
@@ -0,0 +1,19 @@
|
|
1
|
+
LICENSE
|
2
|
+
MANIFEST.in
|
3
|
+
README.md
|
4
|
+
pyproject.toml
|
5
|
+
setup.py
|
6
|
+
flask_Humanify.egg-info/PKG-INFO
|
7
|
+
flask_Humanify.egg-info/SOURCES.txt
|
8
|
+
flask_Humanify.egg-info/dependency_links.txt
|
9
|
+
flask_Humanify.egg-info/requires.txt
|
10
|
+
flask_Humanify.egg-info/top_level.txt
|
11
|
+
flask_humanify/__init__.py
|
12
|
+
flask_humanify/humanify.py
|
13
|
+
flask_humanify/ipset.py
|
14
|
+
flask_humanify/utils.py
|
15
|
+
flask_humanify/datasets/ipset.json
|
16
|
+
flask_humanify/features/rate_limiter.py
|
17
|
+
flask_humanify/templates/access_denied.html
|
18
|
+
flask_humanify/templates/oneclick_captcha.html
|
19
|
+
flask_humanify/templates/rate_limited.html
|
@@ -0,0 +1 @@
|
|
1
|
+
flask_humanify
|