Skip to content

Commit

Permalink
Clean up requirements.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 10, 2018
1 parent 043e3c2 commit 947f5c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 187 deletions.
189 changes: 3 additions & 186 deletions requirements.txt
@@ -1,186 +1,3 @@
acme==0.25.1
alabaster==0.7.9
asn1crypto==0.24.0
Babel==2.5.3
backports-abc==0.5
backports.functools-lru-cache==1.5
backports.shutil-get-terminal-size==1.0.0
backports.ssl-match-hostname==3.5.0.1
beautifulsoup4==4.6.0
bleach==2.1.3
boto==2.45.0
Bottleneck==1.2.1
certbot==0.25.1
cffi==1.11.5
chardet==3.0.4
Cheetah==3.1.0
Cheetah3==3.1.0
colorama==0.3.9
ConfigArgParse==0.12.0
configobj==5.0.6
configparser==3.5.0b2
coverage==4.5.1
cryptography==2.3
cssselect==0.9.2
cycler==0.10.0
decorator==4.2.1
defusedxml==0.5.0
di==0.3
Django==1.9.7
docopt==0.6.2
docutils==0.14
entrypoints==0.2.3
enum34==1.1.6
extras==1.0.0
fixtures==3.0.0
flake8==3.4.1
funcsigs==1.0.2
functools32==3.2.3.post2
future==0.16.0
futures==3.1.1
gpg==1.10.0
greenlet==0.4.13
html5lib==0.999999999
humanize==0.5.1
idna==2.5
imagesize==1.0.0
iniparse==0.4
ipaddress==1.0.18
IPy==0.81
ipykernel==4.8.2
ipython==5.7.0
ipython-genutils==0.1.0
iso8601==0.1.11
jedi==0.12.0
Jinja2==2.10
josepy==1.1.0
jsonpatch==1.21
jsonpointer==1.10
jsonschema==2.6.0
jupyter-client==5.2.3
jupyter-core==4.4.0
kiwisolver==1.0.1
langtable==0.0.38
linecache2==1.0.0
lxml==4.1.1
MarkupSafe==0.23
matplotlib==2.2.2
mccabe==0.6.1
meld3==1.0.2
mistune==0.8.3
mock==2.0.0
msgpack-python==0.5.6
nbconvert==5.3.1
nbformat==4.4.0
ndg-httpsclient==0.4.0
neovim==0.2.6
netifaces==0.10.6
newrelic==2.66.0.49
nose==1.3.7
notebook==5.5.0
ntplib==0.3.3
numexpr==2.6.1
numpy==1.14.5
olefile==0.45.1
ordered-set==2.0.2
packaging==16.8
pandas==0.22.0
pandas-datareader==0.6.0
pandocfilters==1.4.1
parsedatetime==2.4
parso==0.2.1
path.py==8.2.1
pathlib==1.0.1
pathlib2==2.1.0
pbr==3.1.1
pep8==1.6.2
pexpect==4.3.1
pickleshare==0.7.4
Pillow==5.1.1
ply==3.9
prettytable==0.7.2
prompt-toolkit==1.0.15
psutil==5.4.3
psycopg2==2.6.1
ptyprocess==0.5.2
pwquality==1.4.0
pyasn1==0.3.7
pycairo==1.16.3
pycodestyle==2.3.1
pycparser==2.14
pycurl==7.43.0.2
pyflakes==1.6.0
Pygments==2.2.0
pygobject==3.28.3
pygpgme==0.3
pykickstart==3.12
pyliblzma==0.5.3
pyOpenSSL==17.3.0
pyparsing==2.1.10
pyparted==3.11.0
pyRFC3339==1.0
PySocks==1.6.8
python-augeas==0.5.0
python-dateutil==2.6.1
python-dmidecode==3.12.2
python-mimeparse==1.6.0
python-nss==1.0.1
python-subunit==1.2.0
python2-pythondialog==3.3.0
pytz==2017.2
pyudev==0.21.0
pyxattr==0.5.3
pyxdg==0.25
pyzmq==17.0.0
qtconsole==4.3.1
repoze.lru==0.4
requests==2.18.4
requests-file==1.4.3
requests-toolbelt==0.8.0
rpm==4.14.1
rsa==3.4.2
scipy==1.0.0
Send2Trash==1.4.2
sepolicy==1.1
setools==4.1.1
simplegeneric==0.8.1
simplejson==3.10.0
singledispatch==3.4.0.3
six==1.11.0
slip==0.6.4
smartcols==0.3.0
snowballstemmer==1.2.1
Sphinx==1.7.5
sphinx-rtd-theme==0.3.1
sphinxcontrib-websupport==1.0.1.dev20180209
SQLAlchemy==1.2.8
SSSDConfig==1.16.2
stevedore==1.25.0
subprocess32==3.2.6
systemd-python==234
tables==3.4.2
terminado==0.8.1
testpath==0.3.1
testrepository==0.0.20
testtools==2.3.0
tornado==5.0.2
traceback2==1.4.0
traitlets==4.3.2
trollius==2.1
typing==3.6.2
unittest2==1.1.0
urlgrabber==3.10.1
urllib3==1.22
urwid==1.3.1
virtualenv==16.0.0
virtualenv-clone==0.2.6
virtualenvwrapper==4.8.2
wcwidth==0.1.7
webencodings==0.5.1
Whoosh==2.7.4
xlrd==1.0.0
xlwt==1.1.2
yum-metadata-parser==1.1.4
zope.component==4.3.0
zope.event==4.2.0
zope.interface==4.5.0
Django==2.1.2
pytz==2018.5
uWSGI==2.0.17.1
5 changes: 5 additions & 0 deletions sites/checker.py → site_checker.py 100644 → 100755
@@ -1,5 +1,6 @@
import requests


def gencheck(url):
if not url.endswith('/rss.xml'):
return {"type": "error", "data": "This is not a random web proxy."}
Expand All @@ -17,3 +18,7 @@ def gencheck(url):
return {"type": "error", "data": 'HTTP Error {0}.'.format(r.status_code)}
else:
return {"type": "result", "data": result}


if __name__ == '__main__':
print(gencheck(input("URL: "))["data"])
2 changes: 1 addition & 1 deletion sites/views.py
Expand Up @@ -176,7 +176,7 @@ def check(request):

def api_check(request):
"""Check API."""
return JsonResponse({"type": "error", "data": "This service has been disabled. Please see https://github.com/getnikola/nikola-users/blob/master/sites/checker.py for a helper script."})
return JsonResponse({"type": "error", "data": "This service has been disabled. Please see https://github.com/getnikola/nikola-users/blob/master/site_checker.py for a helper script."})


def tos(request):
Expand Down

0 comments on commit 947f5c8

Please sign in to comment.