File tree 5 files changed +49
-30
lines changed
5 files changed +49
-30
lines changed Original file line number Diff line number Diff line change 1
- venv
2
- __pycache__
1
+ __pycache__ /
2
+ * .py [cod ]
3
+ * $py.class
4
+ # C extensions
5
+ * .so
6
+ .Python
7
+ env /
8
+ build /
9
+ develop-eggs /
10
+ dist /
11
+ downloads /
12
+ eggs /
13
+ .eggs /
14
+ lib /
15
+ lib64 /
16
+ parts /
17
+ sdist /
18
+ var /
19
+ * .egg-info /
20
+ .installed.cfg
21
+ * .egg
22
+ * .manifest
23
+ * .spec
24
+ pip-log.txt
25
+ pip-delete-this-directory.txt
26
+ htmlcov /
27
+ .tox /
28
+ .coverage
29
+ .coverage. *
30
+ .cache
31
+ nosetests.xml
32
+ coverage.xml
33
+ * ,cover
34
+ .hypothesis /
35
+ * .mo
36
+ * .pot
37
+ * .log
38
+ docs /_build /
39
+ target /
40
+ .ipynb_checkpoints
41
+ virt /
42
+ .vscode /
43
+ venv /
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #!/usr/bin/python3
2
- # !/usr/bin/env python3
1
+ #!/usr/bin/env python
3
2
# Copyright 2021, Shubham Khapra and The Email header analysis
4
3
# See LICENSE for licensing information
5
4
from flask import Flask
6
5
from flask import render_template
7
- from flask import request
6
+ from flask import request , jsonify
8
7
9
8
from email .parser import HeaderParser
10
9
import time
11
10
import dateutil .parser
12
-
11
+ from datetime import datetime
13
12
import re
14
13
15
14
import pygal
18
17
from IPy import IP
19
18
import geoip2 .database
20
19
20
+
21
21
import argparse
22
22
print (" Author : Shubham Khapra " )
23
23
print ("Github : https://github.com/Shubhamkhapra " )
Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ geoip2==0.1.0
3
3
pygal == 2.4.0
4
4
IPy == 1.01
5
5
python_dateutil == 2.8.1
6
+ maxminddb
7
+ gunicorn
You can’t perform that action at this time.
0 commit comments