geomon/notes.txt

36 lines
1.3 KiB
Plaintext

===========================================================================================
python -m venv .venv
d:/Software/geomon/.venv/Scripts/python.exe -m pip install -U pylint
WARNING: You are using pip version 21.1.3; however, version 21.2.1 is available.
You should consider upgrading via the 'd:\Software\geomon\.venv\Scripts\python.exe -m pip install --upgrade pip' command.
d:/Software/geomon/.venv/Scripts/python.exe -m pip install requests
d:/Software/geomon/.venv/Scripts/python.exe -m pip install sqlalchemy
d:/Software/geomon/.venv/Scripts/python.exe -m pip install pylint-flask
pip install pylint-flask-sqlalchemy
pylint --load-plugins pylint_flask pylint_flask_sqlalchemy
or:
And in your settings.json of VisualCode:
"python.linting.pylintArgs": [
"--load-plugins",
"pylint_flask",
"pylint_flask_sqlalchemy",
],
Install python formatter:
d:/Software/geomon/.venv/Scripts/python.exe -m pip install -U autopep8
python -m pip install fdb
python -m pip install sqlalchemy-firebird
python -m pip install psycopg2
Marshmallow provides functionality to serialize and deserialize Python objects as they flow out of and into our JSON-based REST API. Marshmallow converts Python class instances to objects that can be converted to JSON.
python -m pip install marshmallow-sqlalchemy marshmallow