celso-henrique / naruto-quotes-server Goto Github PK
View Code? Open in Web Editor NEWNaruto quotes generator API for DIO lesson.
License: MIT License
Naruto quotes generator API for DIO lesson.
License: MIT License
Hi, In naruto-quotes-server, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
click==7.1.2
Flask==1.1.2
Flask-Cors==3.0.10
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
numpy==1.20.1
pandas==1.2.3
python-dateutil==2.8.1
pytz==2021.1
six==1.15.0
Werkzeug==1.0.1
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict.
The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project,
The version constraint of dependency Flask-Cors can be changed to >=1.7.0,<=3.0.10.
The version constraint of dependency pandas can be changed to >=0.4.0,<=1.2.5.
The above modification suggestions can reduce the dependency conflicts as much as possible,
and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
flask_cors.CORS flask_cors.cross_origin
pandas.read_csv
flask.Flask.route flask.jsonify flask.Flask pandas.read_csv flask_cors.cross_origin flask_cors.CORS random.randint len flask.Flask.run get_random_quote
@developer
Could please help me check this issue?
May I pull a request to fix it?
Thank you very much.
Quando lanço o python3 app.py
no console ele retorna para mim:
Traceback (most recent call last):
File "/home/dev/Área de Trabalho/DIO/NarutoServer/app.py", line 2, in
from flask import jsonify,request,Flask
ModuleNotFoundError: No module named 'flask'
Vou estar procurando mais a respeito, nao sei se é somente comigo então não sei se da para reparar isso aqui, se eu achar a solução eu comento aqui para o pessoal ver.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.