flask-Humanify 0.1.0__tar.gz → 0.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.
Files changed (23) hide show
  1. flask_humanify-0.1.1/MANIFEST.in +3 -0
  2. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/PKG-INFO +5 -3
  3. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/README.md +4 -2
  4. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/flask_Humanify.egg-info/PKG-INFO +5 -3
  5. flask_humanify-0.1.1/flask_Humanify.egg-info/SOURCES.txt +19 -0
  6. flask_humanify-0.1.1/flask_Humanify.egg-info/top_level.txt +1 -0
  7. {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.1/flask_humanify}/__init__.py +1 -1
  8. flask_humanify-0.1.1/flask_humanify/datasets/ipset.json +1 -0
  9. flask_humanify-0.1.1/flask_humanify/features/rate_limiter.py +77 -0
  10. {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.1/flask_humanify}/ipset.py +28 -3
  11. flask_humanify-0.1.1/flask_humanify/templates/access_denied.html +110 -0
  12. flask_humanify-0.1.1/flask_humanify/templates/oneclick_captcha.html +192 -0
  13. flask_humanify-0.1.1/flask_humanify/templates/rate_limited.html +110 -0
  14. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/pyproject.toml +3 -2
  15. flask_humanify-0.1.0/flask_Humanify.egg-info/SOURCES.txt +0 -13
  16. flask_humanify-0.1.0/flask_Humanify.egg-info/top_level.txt +0 -1
  17. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/LICENSE +0 -0
  18. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/flask_Humanify.egg-info/dependency_links.txt +0 -0
  19. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/flask_Humanify.egg-info/requires.txt +0 -0
  20. {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.1/flask_humanify}/humanify.py +0 -0
  21. {flask_humanify-0.1.0/flask_Humanify → flask_humanify-0.1.1/flask_humanify}/utils.py +0 -0
  22. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/setup.cfg +0 -0
  23. {flask_humanify-0.1.0 → flask_humanify-0.1.1}/setup.py +0 -0
@@ -0,0 +1,3 @@
1
+ recursive-include flask_humanify *
2
+ include LICENSE
3
+ include README.md
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flask-Humanify
3
- Version: 0.1.0
3
+ Version: 0.1.1
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-Humanify
63
+ pip install flask-humanify --upgrade
62
64
  ```
63
65
 
64
66
  Import the extension:
65
67
  ```python
66
- from flask_Humanify import Humanify
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-Humanify
32
+ pip install flask-humanify --upgrade
31
33
  ```
32
34
 
33
35
  Import the extension:
34
36
  ```python
35
- from flask_Humanify import Humanify
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.0
3
+ Version: 0.1.1
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-Humanify
63
+ pip install flask-humanify --upgrade
62
64
  ```
63
65
 
64
66
  Import the extension:
65
67
  ```python
66
- from flask_Humanify import Humanify
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
@@ -4,7 +4,7 @@ Flask-Humanify
4
4
  A Flask extension that protects against bots and DDoS attacks.
5
5
  """
6
6
 
7
- __version__ = "0.1.0"
7
+ __version__ = "0.1.1"
8
8
 
9
9
  from . import utils
10
10
  from .humanify import Humanify