
Среда программирования: Python
База данных: SQLite
Название работы: Разработка веб-сервисов для научных и прикладных задач. ЛР 2. Вариант 6. Web-приложение для управления базой данных комплектующих
Вид работы: Лабораторная работа
Тематика работы: Базы данных, Клиент-серверные базы данных
Объем программы: 3 (по десятибалльной шкале)
Уровень сложности: 4 (по десятибалльной шкале)
Разработчик (автор):
Программист сайта kursovik.com
(письмо автору)
Данная работа написана ЧЕЛОВЕКОМ без использования ИИ
Ключевые слова: ТУСУР, ФДО, веб-сервисы, python, flask, web, restfull, сервис, web-сервис, научная задача, прикладная задача, питон, сайт, sqlite, комплектующие, компьютерные комплектующие, видеокарта, процессор
Функции программы:
Пользователь может выбрать столбец, по которому производится сортировка.
Веб-приложение написано с использованием следующих библиотек:
flask-blueprint
flast-restplus
werkzeug
sqlite3
requests
flask
Описание (отчет):
Есть
на 28 страниц, посмотреть оглавление
Пояснения к компиляции и запуску программы:
1. Распаковать архив. 2. Открыть с помощью Pycaharm. 3. Открыть файл main.py 4. Открыть страницу: http://127.0.0.1:5001/default/
Возможная проблема: Pycharm не поменял пути в окружении.
!Рекомендуем проверить в любом случае эти пути, даже если проблемы нет!
Решение проблемы:
Откройте проект через ваш файловый менеджер и сделайте изменения в следующих файлах:
1. venv/pyvenv.cfg -- последняя строчка -- вторая часть строчки
2. venv/Scripts/activate -- Меняется путь в строке VIRTUAL_ENV= на свой, где лежит виртуальное окружение.
3. venv/Scripts/activate.bat -- Меняете путь в строке set VIRTUAL_ENV= на свой, где лежит виртуальное окружение.
Все файлы открываете блокнотом или Pycahrm.
!После всех изменений лучше перезапустить Pycharm!
Замечание: Если виртуальное окружение в папке env, то все аналогично выполняется, но через папку env.



encodings
inspectionProfiles
profiles_settings
Project_Default
lab2
misc
modules
workspace
computer_parts
main
part
api_computer_parts
database_crm
index
static
styles
templates
index
__init__
__pycache__
api_computer_parts.cpython-36
database_crm.cpython-36
index.cpython-36
__init__.cpython-36
requiremetns
venv
Lib
site-packages
aniso8601
builders
python
tests
test_init
test_python
__init__
__pycache__
test_init.cpython-36
test_python.cpython-36
__init__.cpython-36
__init__
__pycache__
python.cpython-36
__init__.cpython-36
compat
date
decimalfraction
duration
exceptions
interval
resolution
tests
compat
test_compat
test_date
test_decimalfraction
test_duration
test_init
test_interval
test_time
test_timezone
test_utcoffset
__init__
__pycache__
compat.cpython-36
test_compat.cpython-36
test_date.cpython-36
test_decimalfraction.cpython-36
test_duration.cpython-36
test_init.cpython-36
test_interval.cpython-36
test_time.cpython-36
test_timezone.cpython-36
test_utcoffset.cpython-36
__init__.cpython-36
time
timezone
utcoffset
__init__
__pycache__
compat.cpython-36
date.cpython-36
decimalfraction.cpython-36
duration.cpython-36
exceptions.cpython-36
interval.cpython-36
resolution.cpython-36
time.cpython-36
timezone.cpython-36
utcoffset.cpython-36
__init__.cpython-36
aniso8601-9.0.1
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
attr
converters
converters
exceptions
exceptions
filters
filters
py
setters
setters
validators
validators
_cmp
_cmp
_compat
_config
_funcs
_make
_next_gen
_typing_compat
_version_info
_version_info
__init__
__init__
__pycache__
converters.cpython-36
exceptions.cpython-36
filters.cpython-36
setters.cpython-36
validators.cpython-36
_cmp.cpython-36
_compat.cpython-36
_config.cpython-36
_funcs.cpython-36
_make.cpython-36
_next_gen.cpython-36
_version_info.cpython-36
__init__.cpython-36
attrs
converters
exceptions
filters
py
setters
validators
__init__
__init__
__pycache__
converters.cpython-36
exceptions.cpython-36
filters.cpython-36
setters.cpython-36
validators.cpython-36
__init__.cpython-36
attrs-22.2.0
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
certifi
cacert
core
py
__init__
__main__
__pycache__
core.cpython-36
__init__.cpython-36
__main__.cpython-36
certifi-2022.12.7
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
charset_normalizer
api
assets
__init__
__pycache__
__init__.cpython-36
cd
cli
normalizer
__init__
__pycache__
normalizer.cpython-36
__init__.cpython-36
constant
legacy
md
models
py
utils
version
__init__
__pycache__
api.cpython-36
cd.cpython-36
constant.cpython-36
legacy.cpython-36
md.cpython-36
models.cpython-36
utils.cpython-36
version.cpython-36
__init__.cpython-36
charset_normalizer-2.0.12
entry_points
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
click
core
decorators
exceptions
formatting
globals
parser
py
shell_completion
termui
testing
types
utils
_compat
_termui_impl
_textwrap
_unicodefun
_winconsole
__init__
__pycache__
core.cpython-36
decorators.cpython-36
exceptions.cpython-36
formatting.cpython-36
globals.cpython-36
parser.cpython-36
shell_completion.cpython-36
termui.cpython-36
testing.cpython-36
types.cpython-36
utils.cpython-36
_compat.cpython-36
_termui_impl.cpython-36
_textwrap.cpython-36
_unicodefun.cpython-36
_winconsole.cpython-36
__init__.cpython-36
click-8.0.4
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
colorama
ansi
ansitowin32
initialise
win32
winterm
__init__
__pycache__
ansi.cpython-36
ansitowin32.cpython-36
initialise.cpython-36
win32.cpython-36
winterm.cpython-36
__init__.cpython-36
colorama-0.4.5
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
dataclasses-0.8
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
dataclasses
distutils-precedence
flask
app
blueprints
cli
config
ctx
debughelpers
globals
helpers
json
tag
__init__
__pycache__
tag.cpython-36
__init__.cpython-36
logging
sessions
signals
templating
testing
views
wrappers
_compat
__init__
__main__
__pycache__
app.cpython-36
blueprints.cpython-36
cli.cpython-36
config.cpython-36
ctx.cpython-36
debughelpers.cpython-36
globals.cpython-36
helpers.cpython-36
logging.cpython-36
sessions.cpython-36
signals.cpython-36
templating.cpython-36
testing.cpython-36
views.cpython-36
wrappers.cpython-36
_compat.cpython-36
__init__.cpython-36
__main__.cpython-36
Flask-1.1.2
entry_points
INSTALLER
LICENSE
METADATA
RECORD
REQUESTED
top_level
WHEEL
flask_blueprint
module_router
package_extractor
__init__
__pycache__
module_router.cpython-36
package_extractor.cpython-36
__init__.cpython-36
flask_blueprint-1.3.0
INSTALLER
METADATA
RECORD
REQUESTED
top_level
WHEEL
flask_restplus
api
apidoc
cors
errors
fields
inputs
marshalling
mask
model
namespace
postman
representations
reqparse
resource
schemas
oas-2.0
__init__
__pycache__
__init__.cpython-36
specs
static
droid-sans
favicon-16x16
favicon-32x32
files
droid-sans-latin-400
droid-sans-latin-400
droid-sans-latin-700
droid-sans-latin-700
oauth2-redirect
swagger-ui-bundle
swagger-ui-bundle.js
swagger-ui-standalone-preset
swagger-ui-standalone-preset.js
swagger-ui
swagger-ui.css
swagger-ui
swagger-ui.js
swagger
templates
swagger-ui-css
swagger-ui-libs
swagger-ui
utils
_http
__about__
__init__
__pycache__
api.cpython-36
apidoc.cpython-36
cors.cpython-36
errors.cpython-36
fields.cpython-36
inputs.cpython-36
marshalling.cpython-36
mask.cpython-36
model.cpython-36
namespace.cpython-36
postman.cpython-36
representations.cpython-36
reqparse.cpython-36
resource.cpython-36
specs.cpython-36
swagger.cpython-36
utils.cpython-36
_http.cpython-36
__about__.cpython-36
__init__.cpython-36
flask_restplus-0.13.0
DESCRIPTION
INSTALLER
METADATA
metadata
RECORD
REQUESTED
top_level
WHEEL
idna
codec
compat
core
idnadata
intranges
package_data
py
uts46data
__init__
__pycache__
codec.cpython-36
compat.cpython-36
core.cpython-36
idnadata.cpython-36
intranges.cpython-36
package_data.cpython-36
uts46data.cpython-36
__init__.cpython-36
idna-3.4
INSTALLER
LICENSE
METADATA
RECORD
WHEEL
importlib_metadata
py
_adapters
_collections
_compat
_functools
_itertools
_meta
_text
__init__
__pycache__
_adapters.cpython-36
_collections.cpython-36
_compat.cpython-36
_functools.cpython-36
_itertools.cpython-36
_meta.cpython-36
_text.cpython-36
__init__.cpython-36
importlib_metadata-4.8.3
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
itsdangerous
encoding
exc
jws
py
serializer
signer
timed
url_safe
_json
__init__
__pycache__
encoding.cpython-36
exc.cpython-36
jws.cpython-36
serializer.cpython-36
signer.cpython-36
timed.cpython-36
url_safe.cpython-36
_json.cpython-36
__init__.cpython-36
itsdangerous-2.0.1
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
jinja2
async_utils
bccache
compiler
constants
debug
defaults
environment
exceptions
ext
filters
idtracking
lexer
loaders
meta
nativetypes
nodes
optimizer
parser
py
runtime
sandbox
tests
utils
visitor
_identifier
__init__
__pycache__
async_utils.cpython-36
bccache.cpython-36
compiler.cpython-36
constants.cpython-36
debug.cpython-36
defaults.cpython-36
environment.cpython-36
exceptions.cpython-36
ext.cpython-36
filters.cpython-36
idtracking.cpython-36
lexer.cpython-36
loaders.cpython-36
meta.cpython-36
nativetypes.cpython-36
nodes.cpython-36
optimizer.cpython-36
parser.cpython-36
runtime.cpython-36
sandbox.cpython-36
tests.cpython-36
utils.cpython-36
visitor.cpython-36
_identifier.cpython-36
__init__.cpython-36
Jinja2-3.0.3
entry_points
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
jsonschema
benchmarks
issue232
json_schema_test_suite
__init__
__pycache__
issue232.cpython-36
json_schema_test_suite.cpython-36
__init__.cpython-36
cli
compat
exceptions
schemas
draft3
draft4
draft6
draft7
tests
test_cli
test_exceptions
test_format
test_jsonschema_test_suite
test_types
test_validators
_helpers
_suite
__init__
__pycache__
test_cli.cpython-36
test_exceptions.cpython-36
test_format.cpython-36
test_jsonschema_test_suite.cpython-36
test_types.cpython-36
test_validators.cpython-36
_helpers.cpython-36
_suite.cpython-36
__init__.cpython-36
validators
_format
_legacy_validators
_reflect
_types
_utils
_validators
__init__
__main__
__pycache__
cli.cpython-36
compat.cpython-36
exceptions.cpython-36
validators.cpython-36
_format.cpython-36
_legacy_validators.cpython-36
_reflect.cpython-36
_types.cpython-36
_utils.cpython-36
_validators.cpython-36
__init__.cpython-36
__main__.cpython-36
jsonschema-3.2.0
COPYING
entry_points
INSTALLER
METADATA
RECORD
top_level
WHEEL
markupsafe
py
_native
_speedups.cp36-win_amd64
_speedups
__init__
__pycache__
_native.cpython-36
__init__.cpython-36
MarkupSafe-2.0.1
INSTALLER
LICENSE
METADATA
RECORD
top_level
WHEEL
pip
py
_internal
build_env
cache
cli
autocompletion
base_command
cmdoptions
command_context
main
main_parser
parser
progress_bars
req_command
spinners
status_codes
__init__
__pycache__
autocompletion.cpython-36
base_command.cpython-36
cmdoptions.cpython-36
command_context.cpython-36
main.cpython-36
main_parser.cpython-36
parser.cpython-36
progress_bars.cpython-36
req_command.cpython-36
spinners.cpython-36
status_codes.cpython-36
__init__.cpython-36
commands
cache
check
completion
configuration
debug
download
freeze
hash
help
index
install
list
search
show
uninstall
wheel
__init__
__pycache__
freeze.cpython-36
install.cpython-36
list.cpython-36
uninstall.cpython-36
__init__.cpython-36
configuration
distributions
base
installed
sdist
wheel
__init__
__pycache__
base.cpython-36
installed.cpython-36
sdist.cpython-36
wheel.cpython-36
__init__.cpython-36
exceptions
index
collector
package_finder
sources
__init__
__pycache__
collector.cpython-36
package_finder.cpython-36
sources.cpython-36
__init__.cpython-36
locations
base
_distutils
_sysconfig
__init__
__pycache__
base.cpython-36
_distutils.cpython-36
_sysconfig.cpython-36
__init__.cpython-36
main
metadata
base
pkg_resources
__init__
__pycache__
base.cpython-36
pkg_resources.cpython-36
__init__.cpython-36
models
candidate
direct_url
format_control
index
link
scheme
search_scope
selection_prefs
target_python
wheel
__init__
__pycache__
candidate.cpython-36
direct_url.cpython-36
format_control.cpython-36
index.cpython-36
link.cpython-36
scheme.cpython-36
search_scope.cpython-36
selection_prefs.cpython-36
target_python.cpython-36
wheel.cpython-36
__init__.cpython-36
network
auth
cache
download
lazy_wheel
session
utils
xmlrpc
__init__
__pycache__
auth.cpython-36
cache.cpython-36
download.cpython-36
lazy_wheel.cpython-36
session.cpython-36
utils.cpython-36
__init__.cpython-36
operations
build
metadata
metadata_editable
metadata_legacy
wheel
wheel_editable
wheel_legacy
__init__
__pycache__
metadata.cpython-36
metadata_editable.cpython-36
metadata_legacy.cpython-36
wheel.cpython-36
wheel_editable.cpython-36
wheel_legacy.cpython-36
__init__.cpython-36
check
freeze
install
editable_legacy
legacy
wheel
__init__
__pycache__
editable_legacy.cpython-36
legacy.cpython-36
wheel.cpython-36
__init__.cpython-36
prepare
__init__
__pycache__
check.cpython-36
freeze.cpython-36
prepare.cpython-36
__init__.cpython-36
pyproject
req
constructors
req_file
req_install
req_set
req_tracker
req_uninstall
__init__
__pycache__
constructors.cpython-36
req_file.cpython-36
req_install.cpython-36
req_set.cpython-36
req_tracker.cpython-36
req_uninstall.cpython-36
__init__.cpython-36
resolution
base
legacy
resolver
__init__
resolvelib
base
candidates
factory
found_candidates
provider
reporter
requirements
resolver
__init__
__pycache__
base.cpython-36
candidates.cpython-36
factory.cpython-36
found_candidates.cpython-36
provider.cpython-36
reporter.cpython-36
requirements.cpython-36
resolver.cpython-36
__init__.cpython-36
__init__
__pycache__
base.cpython-36
__init__.cpython-36
self_outdated_check
utils
appdirs
compat
compatibility_tags
datetime
deprecation
direct_url_helpers
distutils_args
egg_link
encoding
entrypoints
filesystem
filetypes
glibc
hashes
inject_securetransport
logging
site-packaПеред покупкой готовой работы не забудьте проверить её оригинальность. Запросить у администратора проверку текущей оригинальности работы по версии системы Антиплагиат.РУ
Отчет к программе. СодержаниеВведение. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 1 Используемые ресурсы и база данных . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 1 .1 Зависимости . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 1 .2 База данных . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 2 . API и интерфейс .