
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Borrowed from the kivymd's MVC tool project creator but with some features added like lazy loading of kv file and lazy adding of screen to improve application speed at startup.
To install run
pip install mvc4kivy
### Template command:
m4k-createproject name_pattern path_to_project name_project python_version kivy_version
# Example command:
m4k-createprojectt MVC /home/kengoon/PycharmProjects MyMVCProject python3.10 2.1.0
This command will by default create a project with an MVC pattern. Also, the project will create a virtual environment with Python 3.10, Kivy version 2.1.0 and KivyMD master version.
# Template command:
m4k-createproject \
name_pattern \
path_to_project \
name_project \
python_version \
kivy_version \
--name_database
# Example command:
m4k-createproject \
MVC \
/home/kengo/PycharmProjects \
MyMVCProject \
python3.10 \
2.1.0 \
--name_database firebase
This command will create a project with an MVC template by default. The project will also create a virtual environment with Python 3.10, Kivy version 2.1.0, KivyMD master version and a wrapper for working with the database restdb.io.
When creating a project, you can specify which views should use responsive behavior. To do this, specify the name of the view/views in the –-use_responsive argument:
# Template command:
m4k-createproject \
name_pattern \
path_to_project \
name_project \
python_version \
kivy_version \
--name_screen FirstScreen SecondScreen ThirdScreen \
--use_responsive FirstScreen SecondScreen
The script creates a new View package in an existing project with an MVC template created using the create_project utility.
To add a new view to an existing project that was created using the create_project utility, use the following command:
# Template Command:
m4k-addview \
name_pattern \
path_to_project \
name_view
# Example Command
m4k-addview \
MVC \
/home/kengo/PycharmProjects \
NewScreen
You can also add new views with responsive behavior to an existing project:
m4k-addview \
MVC \
/home/kengoon/PycharmProjects \
NewScreen \
--use_responsive yes
# Template Command:
m4k-rmview \
name_pattern \
path_to_project \
name_view
# Example Command
m4k-rmview \
MVC \
/home/kengo/PycharmProjects \
NewScreen
FAQs
tool to create MVC project for kivy
We found that mvc4kivy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.