lovato / machete Goto Github PK
View Code? Open in Web Editor NEWA command-line tool to create projects from templates, to start your python work.
Home Page: https://pypi.python.org/pypi/machete/
License: MIT License
A command-line tool to create projects from templates, to start your python work.
Home Page: https://pypi.python.org/pypi/machete/
License: MIT License
Virtualenv needs to be checked, and if so, create the virtualenv.
But it its not installed, perhaps just recomend it, instead of interrupting the process.
It can have a default option, but can be parametrized with a few installed licenses.
Perhaps can obtain a list from internet, and download the license from internet as well, if possible.
$ machete -t app --license GPL
Despite git init is optional (if git isnt installed, it fails gracefully), it runs no matter user wants or not.
In this use case, the user have both git and svn installed, and perhaps, he wants to use SVN this time.
Suggestion:
$ machete -t app --repo [email protected]:jonathansp/project.git
If the --repo can became ambiguous in some use, perhaps adding also a --repotype might solve.
@app.errorhandler(404)
def not_found_error(error):
return render_template('404.html'), 404
@app.errorhandler(500)
def internal_error(error):
db.session.rollback()
return render_template('500.html'), 500
At the end of the task, instead of instruct the user to enter virtualenv, and manually install deps, try to it automatically.
To do that, machete needs to open a bash session and perform all steps in it.
Other suggestions are apreciated.
On a linux platform, and inside a GIT environment, you can discover user name and email.
On windows can be tricky, but you still have gitconfig file.
Then grab the user information, and automatically add to AUTHORS file.
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.