Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update all packages for all templates #44

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/codesee-arch-diagram.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/myte.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ create-myte
### How it looks without an activated virtual environment

```Bash Copy
$ myte start project
$ create-myte

Compatible Note:
Myte requires at least Python 3.8. However, the tool may still work
Expand Down Expand Up @@ -104,7 +104,7 @@ and run the pip instructions there
### How it looks with an activated virtual environment

```Bash Copy
$ myte start project
$ create-myte

Compatible Note:
Myte requires at least Python 3.8. However, the tool may still work
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ APPLICATION_PORT=3303
APPLICATION_HOST='0.0.0.0'
SERVICE_LOG='logs'
API_APPLICATION_ROOT='/api'
SECRET_KEY=''
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
alembic==1.13.1
aniso8601==9.0.1
attrs==23.2.0
autopep8==2.0.2
blinker==1.7.0
certifi==2023.5.7
click==8.1.7
colorama==0.4.6
distlib==0.3.6
filelock==3.12.0
flake8==6.0.0
flasgger==0.9.7.1
Flask==3.0.1
Flask-Cors==4.0.0
Flask-Migrate==4.0.5
Flask-RESTful==0.3.10
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
greenlet==3.0.3
isort==5.13.2
itsdangerous==2.1.2
Jinja2==3.1.3
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
Mako==1.3.0
MarkupSafe==2.1.4
mccabe==0.7.0
mistune==3.0.2
packaging==23.2
pipenv==2023.6.18
platformdirs==3.5.1
# psycopg2==2.9.9
pycodestyle==2.10.0
pyflakes==3.0.1
python-dotenv==1.0.1
pytz==2023.3.post1
PyYAML==6.0.1
referencing==0.32.1
rpds-py==0.17.1
six==1.16.0
SQLAlchemy==2.0.25
typing_extensions==4.9.0
virtualenv==20.23.0
virtualenv-clone==0.5.7
Werkzeug==3.0.1
WTForms==3.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
# server

SECRET_KEY = os.getenv("SECRET_KEY")
ENVIRONMENT = os.getenv("ENVIRONMENT") == "DEV"
APPLICATION_ROOT = os.getenv("API_APPLICATION_ROOT", "/v1/api")
ENVIRONMENT = os.getenv("ENVIRONMENT")
APPLICATION_ROOT = os.getenv("API_APPLICATION_ROOT")
HOST = os.getenv("APPLICATION_HOST")
PORT = int(os.getenv("APPLICATION_PORT", "3000"))
PORT = int(os.getenv("APPLICATION_PORT"))
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,25 @@
The module defines ....
"""

from flask import jsonify
from flask_restful import Resource


class Index(Resource):
""" This class defines... """

def get(self):
""" This function defines... """
@staticmethod
def status_200():
""" """
return jsonify({
"Message": "Welcome to Myte API",
"Status Code": 200,
}), 200

return {'hello': 'world'}
@staticmethod
def home():
""" """
return jsonify({
"Message": "Welcome to Myte API",
"Status Code": 200,
}), 200
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .todo import Todo
from .todo_item import TodoItem
from .todo import TodoBlueprint
from .todo_item import TodoItemBlueprint
from .index import IndexBlueprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# index.py
"""
The module defines ....
"""

# imports

from flask import Blueprint
from resources import Index

# configuration

IndexBlueprint = Blueprint("index", __name__)

# routes

IndexBlueprint.route("/index", methods=['GET'])(Index.status_200)
IndexBlueprint.route("/", methods=['GET'])(Index.home)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# imports

from flask import Blueprint

from resources import Todo

# configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# imports

from flask import Blueprint

from resources import TodoItem

# configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@

# imports

import config
import routes
from flasgger import Swagger
from flask import Blueprint, Flask
from flask_migrate import Migrate
from flask_restful import Api

import config
import routes
from models import db

# instantiation/configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
alembic==1.12.1
alembic==1.13.1
aniso8601==9.0.1
autopep8==2.0.2
blinker==1.7.0
certifi==2023.5.7
click==8.1.7
colorama==0.4.6
Flask==3.0.0
distlib==0.3.6
filelock==3.12.0
flake8==6.0.0
Flask==3.0.1
Flask-Cors==4.0.0
Flask-Migrate==4.0.5
Flask-RESTful==0.3.10
Flask-SQLAlchemy==3.1.1
greenlet==3.0.1
Flask-WTF==1.2.1
greenlet==3.0.3
isort==5.13.2
itsdangerous==2.1.2
Jinja2==3.1.2
Mako==1.2.4
MarkupSafe==2.1.3
python-dotenv==1.0.0
Jinja2==3.1.3
Mako==1.3.0
MarkupSafe==2.1.4
mccabe==0.7.0
pipenv==2023.6.18
platformdirs==3.5.1
# psycopg2==2.9.9
pycodestyle==2.10.0
pyflakes==3.0.1
python-dotenv==1.0.1
pytz==2023.3.post1
six==1.16.0
SQLAlchemy==2.0.23
typing_extensions==4.8.0
SQLAlchemy==2.0.25
typing_extensions==4.9.0
virtualenv==20.23.0
virtualenv-clone==0.5.7
Werkzeug==3.0.1
WTForms==3.1.2
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
alembic==1.13.0
alembic==1.13.1
autopep8==2.0.2
blinker==1.7.0
certifi==2023.5.7
click==8.1.7
colorama==0.4.6
Flask==3.0.0
distlib==0.3.6
filelock==3.12.0
flake8==6.0.0
Flask==3.0.1
Flask-Cors==4.0.0
Flask-Migrate==4.0.5
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
greenlet==3.0.2
greenlet==3.0.3
isort==5.13.2
itsdangerous==2.1.2
Jinja2==3.1.2
Jinja2==3.1.3
Mako==1.3.0
MarkupSafe==2.1.3
psycopg2==2.9.9
python-dotenv==1.0.0
SQLAlchemy==2.0.23
MarkupSafe==2.1.4
mccabe==0.7.0
pipenv==2023.6.18
platformdirs==3.5.1
# psycopg2==2.9.9
pycodestyle==2.10.0
pyflakes==3.0.1
python-dotenv==1.0.1
SQLAlchemy==2.0.25
typing_extensions==4.9.0
virtualenv==20.23.0
virtualenv-clone==0.5.7
Werkzeug==3.0.1
WTForms==3.1.1
WTForms==3.1.2
Loading
Loading