Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,016 changed files
with
176,588 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import os | ||
from flask_script import Manager | ||
from flask_migrate import Migrate, MigrateCommand | ||
|
||
from app import app,db | ||
|
||
|
||
app.config.from_object(os.environ['APP_SETTINGS']) | ||
|
||
migrate = Migrate(app, db) | ||
manager = Manager(app) | ||
|
||
manager.add_command('db', MigrateCommand) | ||
|
||
|
||
if __name__ == '__main__': | ||
manager.run() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
rom app import db | ||
from sqlalchemy.dialects.postgresql import JSON | ||
|
||
|
||
class Result(db.Model): | ||
__tablename__ = 'results' | ||
|
||
id = db.Column(db.Integer, primary_key=True) | ||
url = db.Column(db.String()) | ||
result_all = db.Column(JSON) | ||
result_no_stop_words = db.Column(JSON) | ||
|
||
def __init__(self, url, result_all, result_no_stop_words): | ||
self.url = url | ||
self.result_all = result_all | ||
self.result_no_stop_words = result_no_stop_words | ||
|
||
def __repr__(self): | ||
return '<id {}>'.format(self.id) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
Flask==0.11.1 | ||
Flask-Script==2.0.5 | ||
Jinja2==2.8 | ||
MarkupSafe==0.23 | ||
Werkzeug==0.11.11 | ||
argparse==1.2.1 | ||
click==6.6 | ||
gunicorn==19.4.5 | ||
itsdangerous==0.24 | ||
psycopg2==2.6.2 | ||
wsgiref==0.1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/home/thejas/myproject/venv/bin/python | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'alembic==0.8.8','console_scripts','alembic' | ||
__requires__ = 'alembic==0.8.8' | ||
import sys | ||
from pkg_resources import load_entry_point | ||
|
||
if __name__ == '__main__': | ||
sys.exit( | ||
load_entry_point('alembic==0.8.8', 'console_scripts', 'alembic')() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/home/thejas/myproject/venv/bin/python | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'flask-ext-migrate==0.1.0','console_scripts','flask_ext_migrate' | ||
__requires__ = 'flask-ext-migrate==0.1.0' | ||
import sys | ||
from pkg_resources import load_entry_point | ||
|
||
if __name__ == '__main__': | ||
sys.exit( | ||
load_entry_point('flask-ext-migrate==0.1.0', 'console_scripts', 'flask_ext_migrate')() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/home/thejas/myproject/venv/bin/python | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'Mako==1.0.4','console_scripts','mako-render' | ||
__requires__ = 'Mako==1.0.4' | ||
import sys | ||
from pkg_resources import load_entry_point | ||
|
||
if __name__ == '__main__': | ||
sys.exit( | ||
load_entry_point('Mako==1.0.4', 'console_scripts', 'mako-render')() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/home/thejas/myproject/venv/bin/python | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'sqlalchemy-migrate==0.7.2','console_scripts','migrate' | ||
__requires__ = 'sqlalchemy-migrate==0.7.2' | ||
import sys | ||
from pkg_resources import load_entry_point | ||
|
||
if __name__ == '__main__': | ||
sys.exit( | ||
load_entry_point('sqlalchemy-migrate==0.7.2', 'console_scripts', 'migrate')() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/home/thejas/myproject/venv/bin/python | ||
# EASY-INSTALL-ENTRY-SCRIPT: 'sqlalchemy-migrate==0.7.2','console_scripts','migrate-repository' | ||
__requires__ = 'sqlalchemy-migrate==0.7.2' | ||
import sys | ||
from pkg_resources import load_entry_point | ||
|
||
if __name__ == '__main__': | ||
sys.exit( | ||
load_entry_point('sqlalchemy-migrate==0.7.2', 'console_scripts', 'migrate-repository')() | ||
) |
24 changes: 24 additions & 0 deletions
24
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/PKG-INFO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Metadata-Version: 1.1 | ||
Name: Flask-Migrate | ||
Version: 2.0.0 | ||
Summary: SQLAlchemy database migrations for Flask applications using Alembic | ||
Home-page: http://github.com/miguelgrinberg/flask-migrate/ | ||
Author: Miguel Grinberg | ||
Author-email: miguelgrinberg50@gmail.com | ||
License: MIT | ||
Description: | ||
Flask-Migrate | ||
-------------- | ||
|
||
SQLAlchemy database migrations for Flask applications using Alembic. | ||
|
||
Platform: any | ||
Classifier: Environment :: Web Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
32 changes: 32 additions & 0 deletions
32
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/SOURCES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
setup.cfg | ||
setup.py | ||
Flask_Migrate.egg-info/PKG-INFO | ||
Flask_Migrate.egg-info/SOURCES.txt | ||
Flask_Migrate.egg-info/dependency_links.txt | ||
Flask_Migrate.egg-info/entry_points.txt | ||
Flask_Migrate.egg-info/not-zip-safe | ||
Flask_Migrate.egg-info/requires.txt | ||
Flask_Migrate.egg-info/top_level.txt | ||
flask_migrate/__init__.py | ||
flask_migrate/cli.py | ||
flask_migrate/templates/flask/README | ||
flask_migrate/templates/flask/alembic.ini.mako | ||
flask_migrate/templates/flask/env.py | ||
flask_migrate/templates/flask/script.py.mako | ||
flask_migrate/templates/flask-multidb/README | ||
flask_migrate/templates/flask-multidb/alembic.ini.mako | ||
flask_migrate/templates/flask-multidb/env.py | ||
flask_migrate/templates/flask-multidb/script.py.mako | ||
tests/__init__.py | ||
tests/app.py | ||
tests/app_compare_type1.py | ||
tests/app_compare_type2.py | ||
tests/app_custom_directory.py | ||
tests/app_multidb.py | ||
tests/test_migrate.py | ||
tests/test_migrate_flaskcli.py | ||
tests/test_multidb_migrate.py | ||
tests/test_multidb_migrate_flaskcli.py |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/dependency_links.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
3 changes: 3 additions & 0 deletions
3
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/entry_points.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[flask.commands] | ||
db = flask_migrate.cli:db | ||
|
22 changes: 22 additions & 0 deletions
22
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/installed-files.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
../flask_migrate/__init__.py | ||
../flask_migrate/cli.py | ||
../flask_migrate/templates/flask/README | ||
../flask_migrate/templates/flask/alembic.ini.mako | ||
../flask_migrate/templates/flask/env.py | ||
../flask_migrate/templates/flask/script.py.mako | ||
../flask_migrate/templates/flask-multidb/README | ||
../flask_migrate/templates/flask-multidb/alembic.ini.mako | ||
../flask_migrate/templates/flask-multidb/env.py | ||
../flask_migrate/templates/flask-multidb/script.py.mako | ||
../flask_migrate/__init__.pyc | ||
../flask_migrate/cli.pyc | ||
../flask_migrate/templates/flask/env.pyc | ||
../flask_migrate/templates/flask-multidb/env.pyc | ||
./ | ||
top_level.txt | ||
entry_points.txt | ||
dependency_links.txt | ||
not-zip-safe | ||
requires.txt | ||
PKG-INFO | ||
SOURCES.txt |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/not-zip-safe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
4 changes: 4 additions & 0 deletions
4
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/requires.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Flask>=0.9 | ||
Flask-SQLAlchemy>=1.0 | ||
alembic>=0.6 | ||
Flask-Script>=0.6 |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_Migrate-2.0.0-py2.7.egg-info/top_level.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flask_migrate |
36 changes: 36 additions & 0 deletions
36
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/PKG-INFO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Metadata-Version: 1.1 | ||
Name: Flask-SQLAlchemy | ||
Version: 2.1 | ||
Summary: Adds SQLAlchemy support to your Flask application | ||
Home-page: http://github.com/mitsuhiko/flask-sqlalchemy | ||
Author: Phil Howell | ||
Author-email: phil@quae.co.uk | ||
License: BSD | ||
Description: | ||
Flask-SQLAlchemy | ||
---------------- | ||
|
||
Adds SQLAlchemy support to your Flask application. | ||
|
||
Links | ||
````` | ||
|
||
* `documentation <http://flask-sqlalchemy.pocoo.org>`_ | ||
* `development version | ||
<http://github.com/mitsuhiko/flask-sqlalchemy/zipball/master#egg=Flask-SQLAlchemy-dev>`_ | ||
|
||
|
||
Platform: any | ||
Classifier: Environment :: Web Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.3 | ||
Classifier: Programming Language :: Python :: 3.4 |
35 changes: 35 additions & 0 deletions
35
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/SOURCES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
CHANGES | ||
LICENSE | ||
MANIFEST.in | ||
README | ||
setup.cfg | ||
setup.py | ||
test_sqlalchemy.py | ||
Flask_SQLAlchemy.egg-info/PKG-INFO | ||
Flask_SQLAlchemy.egg-info/SOURCES.txt | ||
Flask_SQLAlchemy.egg-info/dependency_links.txt | ||
Flask_SQLAlchemy.egg-info/not-zip-safe | ||
Flask_SQLAlchemy.egg-info/requires.txt | ||
Flask_SQLAlchemy.egg-info/top_level.txt | ||
docs/Makefile | ||
docs/api.rst | ||
docs/binds.rst | ||
docs/changelog.rst | ||
docs/conf.py | ||
docs/config.rst | ||
docs/contents.rst.inc | ||
docs/contexts.rst | ||
docs/flaskstyle.sty | ||
docs/index.rst | ||
docs/logo.pdf | ||
docs/make.bat | ||
docs/models.rst | ||
docs/queries.rst | ||
docs/quickstart.rst | ||
docs/signals.rst | ||
docs/_static/flask-sqlalchemy-small.png | ||
docs/_static/flask-sqlalchemy.png | ||
docs/_templates/sidebarintro.html | ||
docs/_templates/sidebarlogo.html | ||
flask_sqlalchemy/__init__.py | ||
flask_sqlalchemy/_compat.py |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/dependency_links.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
11 changes: 11 additions & 0 deletions
11
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/installed-files.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
../flask_sqlalchemy/_compat.py | ||
../flask_sqlalchemy/__init__.py | ||
../flask_sqlalchemy/_compat.pyc | ||
../flask_sqlalchemy/__init__.pyc | ||
./ | ||
top_level.txt | ||
dependency_links.txt | ||
not-zip-safe | ||
requires.txt | ||
PKG-INFO | ||
SOURCES.txt |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/not-zip-safe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
2 changes: 2 additions & 0 deletions
2
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/requires.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Flask>=0.10 | ||
SQLAlchemy>=0.7 |
1 change: 1 addition & 0 deletions
1
venv/lib/python2.7/site-packages/Flask_SQLAlchemy-2.1-py2.7.egg-info/top_level.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flask_sqlalchemy |
35 changes: 35 additions & 0 deletions
35
venv/lib/python2.7/site-packages/Flask_Script-2.0.5-py2.7.egg-info/PKG-INFO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Metadata-Version: 1.1 | ||
Name: Flask-Script | ||
Version: 2.0.5 | ||
Summary: Scripting support for Flask | ||
Home-page: http://github.com/smurfix/flask-script | ||
Author: Matthias Urlichs | ||
Author-email: matthias@urlichs.de | ||
License: BSD | ||
Download-URL: https://github.com/smurfix/flask-script/tarball/v2.0.3 | ||
Description: | ||
Flask-Script | ||
-------------- | ||
|
||
Flask support for writing external scripts. | ||
|
||
Links | ||
````` | ||
|
||
* `documentation <http://flask-script.readthedocs.org>`_ | ||
|
||
|
||
|
||
Platform: any | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Web Environment | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: BSD License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.3 | ||
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
Oops, something went wrong.