You've already forked wakapi-readme-stats
@@ -1,4 +1,4 @@
|
|||||||
FROM nikolaik/python-nodejs:python3.8-nodejs12
|
FROM nikolaik/python-nodejs:python3.8-nodejs15
|
||||||
|
|
||||||
ADD requirements.txt /requirements.txt
|
ADD requirements.txt /requirements.txt
|
||||||
ADD main.py /main.py
|
ADD main.py /main.py
|
||||||
@@ -9,8 +9,9 @@ ADD translation.json /translation.json
|
|||||||
|
|
||||||
ENV PATH "$PATH:/home/root/.npm-global/bin"
|
ENV PATH "$PATH:/home/root/.npm-global/bin"
|
||||||
|
|
||||||
|
RUN python -m pip install --upgrade pip wheel setuptools
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
RUN npm -g config set user root
|
RUN npm -g config set user root
|
||||||
RUN npm i -g vega vega-lite vega-cli canvas
|
RUN npm i -g agentkeepalive npm@latest vega vega-lite vega-cli canvas
|
||||||
|
|
||||||
ENTRYPOINT ["python", "/main.py"]
|
ENTRYPOINT ["python", "/main.py"]
|
||||||
|
|||||||
13
Pipfile
13
Pipfile
@@ -1,13 +0,0 @@
|
|||||||
[[source]]
|
|
||||||
name = "pypi"
|
|
||||||
url = "https://pypi.org/simple"
|
|
||||||
verify_ssl = true
|
|
||||||
|
|
||||||
[dev-packages]
|
|
||||||
|
|
||||||
[packages]
|
|
||||||
requests = "*"
|
|
||||||
pygithub = "*"
|
|
||||||
|
|
||||||
[requires]
|
|
||||||
python_version = "3.7"
|
|
||||||
85
Pipfile.lock
generated
85
Pipfile.lock
generated
@@ -1,85 +0,0 @@
|
|||||||
{
|
|
||||||
"_meta": {
|
|
||||||
"hash": {
|
|
||||||
"sha256": "ee0dbc310e64a4cc599d6b5e02bb22e3f33eb97ead8e5f1e315cf355fbef9367"
|
|
||||||
},
|
|
||||||
"pipfile-spec": 6,
|
|
||||||
"requires": {
|
|
||||||
"python_version": "3.7"
|
|
||||||
},
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"name": "pypi",
|
|
||||||
"url": "https://pypi.org/simple",
|
|
||||||
"verify_ssl": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"default": {
|
|
||||||
"certifi": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3",
|
|
||||||
"sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41"
|
|
||||||
],
|
|
||||||
"version": "==2020.6.20"
|
|
||||||
},
|
|
||||||
"chardet": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
|
|
||||||
"sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
|
|
||||||
],
|
|
||||||
"version": "==3.0.4"
|
|
||||||
},
|
|
||||||
"deprecated": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:525ba66fb5f90b07169fdd48b6373c18f1ee12728ca277ca44567a367d9d7f74",
|
|
||||||
"sha256:a766c1dccb30c5f6eb2b203f87edd1d8588847709c78589e1521d769addc8218"
|
|
||||||
],
|
|
||||||
"version": "==1.2.10"
|
|
||||||
},
|
|
||||||
"idna": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6",
|
|
||||||
"sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"
|
|
||||||
],
|
|
||||||
"version": "==2.10"
|
|
||||||
},
|
|
||||||
"pygithub": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:8375a058ec651cc0774244a3bc7395cf93617298735934cdd59e5bcd9a1df96e",
|
|
||||||
"sha256:d2d17d1e3f4474e070353f201164685a95b5a92f5ee0897442504e399c7bc249"
|
|
||||||
],
|
|
||||||
"index": "pypi",
|
|
||||||
"version": "==1.51"
|
|
||||||
},
|
|
||||||
"pyjwt": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:5c6eca3c2940464d106b99ba83b00c6add741c9becaec087fb7ccdefea71350e",
|
|
||||||
"sha256:8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"
|
|
||||||
],
|
|
||||||
"version": "==1.7.1"
|
|
||||||
},
|
|
||||||
"requests": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b",
|
|
||||||
"sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898"
|
|
||||||
],
|
|
||||||
"index": "pypi",
|
|
||||||
"version": "==2.24.0"
|
|
||||||
},
|
|
||||||
"urllib3": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:3018294ebefce6572a474f0604c2021e33b3fd8006ecd11d62107a5d2a963527",
|
|
||||||
"sha256:88206b0eb87e6d677d424843ac5209e3fb9d0190d0ee169599165ec25e9d9115"
|
|
||||||
],
|
|
||||||
"version": "==1.25.9"
|
|
||||||
},
|
|
||||||
"wrapt": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7"
|
|
||||||
],
|
|
||||||
"version": "==1.12.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"develop": {}
|
|
||||||
}
|
|
||||||
7
main.py
7
main.py
@@ -243,7 +243,8 @@ def generate_commit_list(tz):
|
|||||||
if weekday == "Sunday":
|
if weekday == "Sunday":
|
||||||
Sunday += 1
|
Sunday += 1
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print("Please Ignore this exception " + str(ex))
|
if str(ex) != "'NoneType' object is not subscriptable":
|
||||||
|
print("Exception occurred " + str(ex))
|
||||||
|
|
||||||
sumAll = morning + daytime + evening + night
|
sumAll = morning + daytime + evening + night
|
||||||
sum_week = Sunday + Monday + Tuesday + Friday + Saturday + Wednesday + Thursday
|
sum_week = Sunday + Monday + Tuesday + Friday + Saturday + Wednesday + Thursday
|
||||||
@@ -418,7 +419,7 @@ def get_short_info(github):
|
|||||||
else:
|
else:
|
||||||
string += "> 🚫 " + translate["Not Opted to Hire"] + "\n > \n"
|
string += "> 🚫 " + translate["Not Opted to Hire"] + "\n > \n"
|
||||||
|
|
||||||
string += '> 📜 '
|
string += '> 📜 '
|
||||||
string += translate['public repositories'] % public_repo + " " + '\n > \n' if public_repo != 1 else translate['public repository'] % public_repo + " " + '\n > \n'
|
string += translate['public repositories'] % public_repo + " " + '\n > \n' if public_repo != 1 else translate['public repository'] % public_repo + " " + '\n > \n'
|
||||||
string += '> 🔑 '
|
string += '> 🔑 '
|
||||||
string += translate['private repositories'] % private_repo + " " +' \n > \n' if private_repo != 1 else translate['private repository'] % private_repo + " " + '\n > \n'
|
string += translate['private repositories'] % private_repo + " " +' \n > \n' if private_repo != 1 else translate['private repository'] % private_repo + " " + '\n > \n'
|
||||||
@@ -464,7 +465,7 @@ def get_stats(github):
|
|||||||
|
|
||||||
# def star_me():
|
# def star_me():
|
||||||
# requests.put("https://api.github.com/user/starred/anmol098/waka-readme-stats", headers=headers)
|
# requests.put("https://api.github.com/user/starred/anmol098/waka-readme-stats", headers=headers)
|
||||||
|
|
||||||
|
|
||||||
def decode_readme(data: str):
|
def decode_readme(data: str):
|
||||||
'''Decode the contents of old readme'''
|
'''Decode the contents of old readme'''
|
||||||
|
|||||||
1478
package-lock.json
generated
1478
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -2,62 +2,34 @@ altair==4.1.0
|
|||||||
altair-data-server==0.4.1
|
altair-data-server==0.4.1
|
||||||
altair-saver==0.5.0
|
altair-saver==0.5.0
|
||||||
altair-viewer==0.3.0
|
altair-viewer==0.3.0
|
||||||
appdirs==1.4.3
|
attrs==20.3.0
|
||||||
attrs==19.3.0
|
certifi==2020.12.5
|
||||||
bcrypt==3.1.7
|
chardet==4.0.0
|
||||||
certifi==2020.6.20
|
|
||||||
cffi==1.14.0
|
|
||||||
chardet==3.0.4
|
|
||||||
cryptography==2.9.2
|
|
||||||
cycler==0.10.0
|
cycler==0.10.0
|
||||||
Deprecated==1.2.10
|
Deprecated==1.2.12
|
||||||
distlib==0.3.0
|
|
||||||
entrypoints==0.3
|
entrypoints==0.3
|
||||||
filelock==3.0.12
|
humanize==3.3.0
|
||||||
gitdb==4.0.5
|
|
||||||
GitPython==3.1.7
|
|
||||||
idna==2.10
|
idna==2.10
|
||||||
Jinja2==2.11.2
|
Jinja2==2.11.3
|
||||||
jsonschema==3.2.0
|
jsonschema==3.2.0
|
||||||
kiwisolver==1.2.0
|
kiwisolver==1.3.1
|
||||||
lizard==1.17.4
|
|
||||||
MarkupSafe==1.1.1
|
MarkupSafe==1.1.1
|
||||||
matplotlib==3.3.0
|
matplotlib==3.4.1
|
||||||
MouseInfo==0.1.2
|
numpy==1.20.2
|
||||||
numpy==1.19.1
|
pandas==1.2.3
|
||||||
opencv-python==4.4.0.44
|
Pillow==8.2.0
|
||||||
pandas==1.0.5
|
|
||||||
paramiko==2.7.1
|
|
||||||
Pillow==7.2.0
|
|
||||||
pipenv==2018.11.26
|
|
||||||
portpicker==1.3.1
|
portpicker==1.3.1
|
||||||
PyAutoGUI==0.9.48
|
PyGithub==1.54.1
|
||||||
pycparser==2.20
|
|
||||||
PyDriller==1.15.2
|
|
||||||
PyGetWindow==0.0.8
|
|
||||||
PyGithub==1.51
|
|
||||||
PyJWT==1.7.1
|
PyJWT==1.7.1
|
||||||
PyMsgBox==1.0.7
|
|
||||||
PyNaCl==1.3.0
|
|
||||||
pyparsing==2.4.7
|
pyparsing==2.4.7
|
||||||
pyperclip==1.7.0
|
pyrsistent==0.17.3
|
||||||
PyRect==0.1.4
|
|
||||||
pyrsistent==0.16.0
|
|
||||||
PyScreeze==0.1.25
|
|
||||||
python-dateutil==2.8.1
|
python-dateutil==2.8.1
|
||||||
python-dotenv==0.14.0
|
python-dotenv==0.17.0
|
||||||
PyTweening==1.0.3
|
pytz==2021.1
|
||||||
pytz==2020.1
|
requests==2.25.1
|
||||||
requests==2.24.0
|
|
||||||
selenium==3.141.0
|
selenium==3.141.0
|
||||||
six==1.15.0
|
six==1.15.0
|
||||||
smmap==3.0.4
|
toolz==0.11.1
|
||||||
toolz==0.10.0
|
tornado==6.1
|
||||||
tornado==6.0.4
|
urllib3==1.26.4
|
||||||
urllib3==1.25.9
|
|
||||||
virtualenv==20.0.18
|
|
||||||
virtualenv-clone==0.5.4
|
|
||||||
wrapt==1.12.1
|
wrapt==1.12.1
|
||||||
xlrd==1.2.0
|
|
||||||
XlsxWriter==1.2.8
|
|
||||||
humanize==2.5.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user