Skip to content

Commit

Permalink
Update requirements and make defaults a bit more self-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Flancian committed Mar 14, 2021
1 parent d43f865 commit c793f8e
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 68 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config.py
.DS_Store
/worker_stop
worker_*.lock
*.lock

/.idea/workspace.xml
/.ipynb_checkpoints
Expand Down
67 changes: 67 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
alembic = "==1.4.2"
blinker = "==1.4"
blurhash = "==1.1.4"
cairocffi = "==1.1.0"
certifi = "==2020.4.5.1"
cffi = "==1.14.0"
chardet = "==3.0.4"
click = "==7.1.2"
colorclass = "==2.2.0"
cryptography = "==2.9.2"
cssselect2 = "==0.3.0"
decorator = "==4.4.2"
defusedxml = "==0.6.0"
future = "==0.18.2"
httplib2 = "==0.18.0"
idna = "==2.9"
instagram = {git = "https://github.com/foozmeat/python-instagram.git"}
itsdangerous = "==1.1.0"
numpy = "==1.18.4"
oauthlib = "==3.1.0"
pandas = "==1.0.3"
pip-check = "==2.6"
pip-tools = "==5.3.1"
psutil = "==5.7.0"
pycparser = "==2.20"
pygal = "==2.4.0"
python-dateutil = "==2.8.1"
python-editor = "==1.0.4"
python-magic = "==0.4.15"
python-twitter = "==3.5"
pytz = "==2020.1"
requests-oauthlib = "==1.3.0"
requests = "==2.23.0"
sentry-sdk = {version = "==0.17.3", extras = ["flask"]}
simplejson = "==3.17.0"
six = "==1.14.0"
terminaltables = "==3.1.0"
tinycss2 = "==1.0.2"
urllib3 = "==1.25.9"
webencodings = "==0.5.1"
Authlib = "==0.13"
CairoSVG = "==2.4.2"
Flask-Mail = "==0.9.1"
Flask-Migrate = "==2.5.3"
Flask-SQLAlchemy = "==2.4.1"
Flask-WTF = "==0.14.3"
Flask = "==1.1.2"
Jinja2 = "==2.11.2"
Mako = "==1.1.2"
MarkupSafe = "==1.1.1"
"Mastodon.py" = "==1.5.1"
Pillow = "==7.1.2"
PyMySQL = "==0.9.3"
SQLAlchemy = "==1.3.16"
Werkzeug = "==0.16.1"
WTForms = "==2.3.1"

[dev-packages]

[requires]
python_version = "3.7"
3 changes: 2 additions & 1 deletion defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ class DefaultConfig(object):
TWITTER_CONSUMER_SECRET = ''
INSTAGRAM_CLIENT_ID = ''
INSTAGRAM_SECRET = ''
SQLALCHEMY_DATABASE_URI = 'sqlite:///moa.db'
# define in config.py
# SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://moa:moa@localhost/moa'
# SQLALCHEMY_DATABASE_URI = 'sqlite:///moa.db'
SEND = True
SENTRY_DSN = ''
HEALTHCHECKS = []
Expand Down
125 changes: 58 additions & 67 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,67 +1,58 @@
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile
#
alembic==1.4.2 # via flask-migrate
authlib==0.13 # via -r requirements.in
blinker==1.4 # via flask-mail, sentry-sdk
blurhash==1.1.4 # via mastodon.py
cairocffi==1.1.0 # via cairosvg
cairosvg==2.4.2 # via -r requirements.in
certifi==2020.4.5.1 # via -r requirements.in, requests, sentry-sdk
cffi==1.14.0 # via cairocffi, cryptography
chardet==3.0.4 # via requests
click==7.1.2 # via flask, pip-tools
colorclass==2.2.0 # via pip-check
cryptography==2.9.2 # via authlib
cssselect2==0.3.0 # via cairosvg
decorator==4.4.2 # via mastodon.py
defusedxml==0.6.0 # via cairosvg
flask-mail==0.9.1 # via -r requirements.in
flask-migrate==2.5.3 # via -r requirements.in
flask-sqlalchemy==2.4.1 # via -r requirements.in, flask-migrate
flask-wtf==0.14.3 # via -r requirements.in
flask==1.1.2 # via -r requirements.in, flask-mail, flask-migrate, flask-sqlalchemy, flask-wtf, sentry-sdk
future==0.18.2 # via python-twitter
httplib2==0.18.0 # via instagram
idna==2.9 # via requests
git+https://github.com/foozmeat/python-instagram.git#egg=instagram # via -r requirements.in
itsdangerous==1.1.0 # via flask, flask-wtf
jinja2==2.11.2 # via flask
mako==1.1.2 # via alembic
markupsafe==1.1.1 # via jinja2, mako, wtforms
mastodon.py==1.5.1 # via -r requirements.in
numpy==1.18.4 # via pandas
oauthlib==3.1.0 # via requests-oauthlib
pandas==1.0.3 # via -r requirements.in
pillow==7.1.2 # via cairosvg
pip-check==2.6 # via -r requirements.in
pip-tools==5.3.1 # via -r requirements.in
psutil==5.7.0 # via -r requirements.in
pycparser==2.20 # via cffi
pygal==2.4.0 # via -r requirements.in
pymysql==0.9.3 # via -r requirements.in
python-dateutil==2.8.1 # via alembic, mastodon.py, pandas
python-editor==1.0.4 # via alembic
python-magic==0.4.15 # via mastodon.py
python-twitter==3.5 # via -r requirements.in
pytz==2020.1 # via instagram, mastodon.py, pandas
requests-oauthlib==1.3.0 # via python-twitter
requests==2.23.0 # via mastodon.py, python-twitter, requests-oauthlib
sentry-sdk[flask]==0.17.3 # via -r requirements.in
simplejson==3.17.0 # via instagram
six==1.14.0 # via cryptography, instagram, mastodon.py, pip-tools, python-dateutil
sqlalchemy==1.3.16 # via alembic, flask-sqlalchemy
terminaltables==3.1.0 # via pip-check
tinycss2==1.0.2 # via cairosvg, cssselect2
urllib3==1.25.9 # via requests, sentry-sdk
webencodings==0.5.1 # via cssselect2, tinycss2
werkzeug==0.16.1 # via -r requirements.in, flask
wheel==0.34.2 # via -r requirements.in
wtforms==2.3.1 # via flask-wtf

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
alembic==1.4.2
Authlib==0.13
blinker==1.4
blurhash==1.1.4
cairocffi==1.1.0
CairoSVG==2.4.2
certifi==2020.4.5.1
cffi==1.14.0
chardet==3.0.4
click==7.1.2
colorclass==2.2.0
cryptography==2.9.2
cssselect2==0.3.0
decorator==4.4.2
defusedxml==0.6.0
Flask==1.1.2
Flask-Mail==0.9.1
Flask-Migrate==2.5.3
Flask-SQLAlchemy==2.4.1
Flask-WTF==0.14.3
future==0.18.2
httplib2==0.18.0
idna==2.9
instagram @ git+https://github.com/foozmeat/python-instagram.git@2d362a1557f1010da8d755f4dec30e96f7505d3b
itsdangerous==1.1.0
Jinja2==2.11.2
Mako==1.1.2
MarkupSafe==1.1.1
Mastodon.py==1.5.1
numpy==1.18.4
oauth2==1.9.0.post1
oauthlib==3.1.0
pandas==1.0.3
Pillow==7.1.2
pip-check==2.6
pip-tools==5.3.1
psutil==5.7.0
pycparser==2.20
pygal==2.4.0
PyMySQL==0.9.3
python-dateutil==2.8.1
python-editor==1.0.4
python-magic==0.4.15
python-twitter==3.5
pytz==2020.1
requests==2.23.0
requests-oauthlib==1.3.0
sentry-sdk==0.17.3
simplejson==3.17.0
six==1.14.0
SQLAlchemy==1.3.16
terminaltables==3.1.0
tinycss2==1.0.2
twitter-oauth==0.2.0
urllib3==1.25.9
webencodings==0.5.1
Werkzeug==0.16.1
WTForms==2.3.1

0 comments on commit c793f8e

Please sign in to comment.