This is a starter app that shows how to use Riot.js with a Flask backed API.
To install dependencies...
pip install -r requirements.txt
And then start the server...
python wsgi.py
Hi, your project flask_riotjs_starter requires "records==0.4.3" in its dependency. After analyzing the source code, we found that some other versions of records can also be suitable without affecting your project, i.e., records 0.4.2. Therefore, we suggest to loosen the dependency on records from "records==0.4.3" to "records>=0.4.2,<=0.4.3" to avoid any possible conflict for importing more packages or for downstream projects that may use flask_riotjs_starter.
May I pull a request to loosen the dependency on records?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
For your reference, here are details in our analysis.
Your project flask_riotjs_starter(commit id: c89434d) directly uses 2 APIs from package records.
records.Database.query, records.Database.__init__
From which, 5 functions are then indirectly called, including 3 records's internal APIs and 2 outsider APIs, as follows (neglecting some repeated function occurrences).
[/seanbehan/flask_riotjs_starter]
+--records.Database.query
| +--sqlalchemy.text
| +--records.Record.__init__
| +--records.RecordCollection.__init__
| +--records.RecordCollection.all
+--records.Database.__init__
| +--sqlalchemy.create_engine
We scan records's versions among [0.4.2] and 0.4.3, the changing functions (diffs being listed below) have none intersection with any function or API we mentioned above (either directly or indirectly called by this project).
diff: 0.4.3(original) 0.4.2
[](no clear difference between the source codes of two versions)
As for other packages, the APIs of @outside_package_name are called by records in the call graph and the dependencies on these packages also stay the same in our suggested versions, thus avoiding any outside conflict.
Therefore, we believe that it is quite safe to loose your dependency on records from "records==0.4.3" to "records>=0.4.2,<=0.4.3". This will improve the applicability of flask_riotjs_starter and reduce the possibility of any further dependency conflict with other projects/packages.
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.