
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.
Python cli utils for faster development
pip install kcliutils
# or
pip3 install kcliutils
# cd to desired folder with .git in it
npp package_name
# or
new_python_package package_name
npp test_package_name
will generate
# cd to desired folder with .git in it
upp
# or
upgrade_python_package
# cd to desired folder with .git in it
ppp "Optional commit message"
# or
publish_python_package "Optional commit message"
# cd to desired folder with .git in it
prpipush "Optional commit message"
# or
upgrade_push_install "Optional commit message"
# cd to desired folder
cl
# or
clean_lines
# cd to desired folder
migrate_comment_line_len Optional_length_which_defaults_to_your_settings
# cd to desired folder
psh "Optional commit message"
# or
push "Optional commit message"
# cd to desired folder
ftch
# or
fetch
# cd to desired folder
pll
# or
pull
pipu PACKAGE_NAME
# or
pip_uninstall PACKAGE_NAME
pipi PACKAGE_NAME
# or
pipiu PACKAGE_NAME
# or
pip_install PACKAGE_NAME
pipir PACKAGE_NAME
# or
pip_reinstall PACKAGE_NAME
pyreqs
# creates 'requirements.txt'
# or
python_requirements
pif
# creates 'install_dependencies.sh'
# or
create_python_install_file
npc file_name
# creates 'file_name.py' class 'FileName' in it
# also accepts relative path 'relative/path/to/file_name'
# or
new_python_class file_name
generated file contents
# ------------------------------------------- Imports ------------------------------------------ #
# System
# Pip
# Local
# ---------------------------------------------------------------------------------------------- #
# -------------------------------------- class: TestClass -------------------------------------- #
class TestClass:
# ---------------------------------------- Init ---------------------------------------- #
def __init__(
self
):
return
# ---------------------------------- Public properties --------------------------------- #
# ----------------------------------- Public methods ----------------------------------- #
# --------------------------------- Private properties --------------------------------- #
# ----------------------------------- Private methods ---------------------------------- #
# ---------------------------------------------------------------------------------------------- #
npa file_name
# creates 'file_name.py' class 'FileName' in it
# also accepts relative path 'relative/path/to/file_name'
# or
new_python_api file_name
generated file contents
# ------------------------------------------- Imports ------------------------------------------ #
# System
from typing import Optional, Dict
# Pip
from ksimpleapi import Api
# Local
# ---------------------------------------------------------------------------------------------- #
# --------------------------------------- class: FileName -------------------------------------- #
class FileName(Api):
# -------------------------------------- Overrides ------------------------------------- #
@classmethod
def extra_headers(cls) -> Optional[Dict[str, any]]:
return {
}
# ---------------------------------- Public properties --------------------------------- #
# ----------------------------------- Public methods ----------------------------------- #
# --------------------------------- Private properties --------------------------------- #
# ----------------------------------- Private methods ---------------------------------- #
# ---------------------------------------------------------------------------------------------- #
npe file_name
# creates 'file_name.py' enum 'FileName' in it
# also accepts relative path 'relative/path/to/file_name'
# or
new_python_enum file_name
generated file contents
# ------------------------------------------- Imports ------------------------------------------ #
# System
from enum import Enum
# ---------------------------------------------------------------------------------------------- #
# --------------------------------------- enum: FileName --------------------------------------- #
class FileName(Enum):
Template = 0
# ---------------------------------------------------------------------------------------------- #
npf file_name
# creates 'file_name.py'
# also accepts relative path 'relative/path/to/file_name'
# or
new_python_file file_name
generated file contents
# ------------------------------------------- Imports ------------------------------------------ #
# System
# Pip
# Local
# ---------------------------------------------------------------------------------------------- #
# ----------------------------------------- Public vars ---------------------------------------- #
# ---------------------------------------- Private vars ---------------------------------------- #
# ---------------------------------------- Private vars ---------------------------------------- #
# ---------------------------------------- Private vars ---------------------------------------- #
# ---------------------------------------------------------------------------------------------- #
npfl file_name
# creates 'file_name.py'
# also accepts relative path 'relative/path/to/file_name'
# or
new_python_flow file_name
generated file contents
# ------------------------------------------- Imports ------------------------------------------ #
# System
# Pip
# Local
# ---------------------------------------------------------------------------------------------- #
# ------------------------------------------- Methods ------------------------------------------ #
# -------------------------------------------- Paths ------------------------------------------- #
# -------------------------------------------- Vars -------------------------------------------- #
# -------------------------------------------- Flow -------------------------------------------- #
# ---------------------------------------------------------------------------------------------- #
nps SUB_PACKAGE_NAME_OR_RELATIVE_PATH
# or
new_python_subpackage SUB_PACKAGE_NAME_OR_RELATIVE_PATH
nps test_subpackage
will generate
FAQs
kcliutils
We found that kcliutils 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.