Skip to content

Commit

Permalink
Merge pull request #4 from kamidipreetham/develop
Browse files Browse the repository at this point in the history
Restructure and Search Improvements
  • Loading branch information
Preetham Kamidi committed Jun 27, 2019
2 parents be5abf0 + 251b221 commit c2561f2
Show file tree
Hide file tree
Showing 27 changed files with 2,043 additions and 228 deletions.
51 changes: 51 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
autopep8 = "*"
yapf = "*"
sphinx = "*"

[packages]
certifi = "*"
chardet = "*"
click = "*"
decorator = "*"
dnspython = "*"
eventlet = "*"
greenlet = "*"
gunicorn = "*"
idna = "*"
imageio = "*"
itsdangerous = "*"
jinja2 = "*"
joblib = "*"
kiwisolver = "*"
monotonic = "*"
networkx = "*"
numpy = "*"
pycodestyle = "*"
pyparsing = "*"
pytesseract = "*"
python-dateutil = "*"
pytz = "*"
pywavelets = "*"
regex = "*"
requests = "*"
scikit-learn = "*"
scipy = "*"
six = "*"
urllib3 = "*"
Cycler = "*"
Flask = "*"
MarkupSafe = "*"
Pillow = "*"
Werkzeug = "*"
flask-cors = "*"
twint = {editable = true,git = "https://github.com/twintproject/twint.git"}
nltk = "*"

[requires]
python_version = "3.7"
986 changes: 986 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions app/logger/logger.py

This file was deleted.

45 changes: 0 additions & 45 deletions app/router.py

This file was deleted.

30 changes: 0 additions & 30 deletions app/services/image/processor.py

This file was deleted.

26 changes: 0 additions & 26 deletions app/services/image/uploader.py

This file was deleted.

54 changes: 0 additions & 54 deletions app/services/nlp/processor.py

This file was deleted.

23 changes: 0 additions & 23 deletions app/services/search/controller.py

This file was deleted.

17 changes: 0 additions & 17 deletions app/services/search/search.py

This file was deleted.

17 changes: 0 additions & 17 deletions app/util/date_checker.py

This file was deleted.

20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
54 changes: 54 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
sys.setrecursionlimit(1500)

# -- Project information -----------------------------------------------------

project = 'verifytweet'
copyright = '2019, Preetham Kamidi'
author = 'Preetham Kamidi'

# The full version, including alpha/beta/rc tags
release = 'v0.3'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
Loading

0 comments on commit c2561f2

Please sign in to comment.