Merge pull request #188 from aravindvnair99/docker

v4.0.0
This commit is contained in:
Anmol Pratap Singh
2021-04-14 13:51:32 +05:30
committed by GitHub
7 changed files with 26 additions and 1628 deletions

View File

@@ -1,4 +1,4 @@
FROM nikolaik/python-nodejs:python3.8-nodejs12
FROM nikolaik/python-nodejs:python3.8-nodejs15
ADD requirements.txt /requirements.txt
ADD main.py /main.py
@@ -9,8 +9,9 @@ ADD translation.json /translation.json
ENV PATH "$PATH:/home/root/.npm-global/bin"
RUN python -m pip install --upgrade pip wheel setuptools
RUN pip install -r requirements.txt
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"]

13
Pipfile
View File

@@ -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
View File

@@ -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": {}
}

View File

View File

@@ -243,7 +243,8 @@ def generate_commit_list(tz):
if weekday == "Sunday":
Sunday += 1
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
sum_week = Sunday + Monday + Tuesday + Friday + Saturday + Wednesday + Thursday

1478
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,62 +2,34 @@ altair==4.1.0
altair-data-server==0.4.1
altair-saver==0.5.0
altair-viewer==0.3.0
appdirs==1.4.3
attrs==19.3.0
bcrypt==3.1.7
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
cryptography==2.9.2
attrs==20.3.0
certifi==2020.12.5
chardet==4.0.0
cycler==0.10.0
Deprecated==1.2.10
distlib==0.3.0
Deprecated==1.2.12
entrypoints==0.3
filelock==3.0.12
gitdb==4.0.5
GitPython==3.1.7
humanize==3.3.0
idna==2.10
Jinja2==2.11.2
Jinja2==2.11.3
jsonschema==3.2.0
kiwisolver==1.2.0
lizard==1.17.4
kiwisolver==1.3.1
MarkupSafe==1.1.1
matplotlib==3.3.0
MouseInfo==0.1.2
numpy==1.19.1
opencv-python==4.4.0.44
pandas==1.0.5
paramiko==2.7.1
Pillow==7.2.0
pipenv==2018.11.26
matplotlib==3.4.1
numpy==1.20.2
pandas==1.2.3
Pillow==8.2.0
portpicker==1.3.1
PyAutoGUI==0.9.48
pycparser==2.20
PyDriller==1.15.2
PyGetWindow==0.0.8
PyGithub==1.51
PyGithub==1.54.1
PyJWT==1.7.1
PyMsgBox==1.0.7
PyNaCl==1.3.0
pyparsing==2.4.7
pyperclip==1.7.0
PyRect==0.1.4
pyrsistent==0.16.0
PyScreeze==0.1.25
pyrsistent==0.17.3
python-dateutil==2.8.1
python-dotenv==0.14.0
PyTweening==1.0.3
pytz==2020.1
requests==2.24.0
python-dotenv==0.17.0
pytz==2021.1
requests==2.25.1
selenium==3.141.0
six==1.15.0
smmap==3.0.4
toolz==0.10.0
tornado==6.0.4
urllib3==1.25.9
virtualenv==20.0.18
virtualenv-clone==0.5.4
toolz==0.11.1
tornado==6.1
urllib3==1.26.4
wrapt==1.12.1
xlrd==1.2.0
XlsxWriter==1.2.8
humanize==2.5.0