Skip to content

yingshaoxo/yppm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yppm

Yingshaoxo Python Package Manager

Install

How to install python3.10 in amd64 linux machine?

# https://gitlab.com/yingshaoxo/use_docker_to_build_static_python3_binary_executable

sudo su
curl -sSL https://gitlab.com/yingshaoxo/use_docker_to_build_static_python3_binary_executable/-/raw/master/install.sh?ref_type=heads | bash

How to install yppm? (it depends on python3.10)

sudo su
curl -sSL https://raw.githubusercontent.com/yingshaoxo/yppm/main/Install.sh | bash
curl -sSL https://bootstrap.pypa.io/get-pip.py | python3

# Use github on care, you may get banned(404) by saying the 'fuck' word: https://yingshaoxo.xyz/pictures/github/index.html

or

git clone https://gitlab.com/yingshaoxo/yppm.git
cd yppm/yppm
python3 ./main.py

echo "alias yppm='python3 $(pwd)/main.py'" >> ~/.bashrc && source ~/.bashrc

Usage

Init a project

cd <your_project_folder>
yppm init

or

yppm create_a_new_project

Install a package

yppm install auto_everything

Install all package

yppm install

Uninstall a package

yppm uninstall ?

Run a script in package.json

yppm run ?

or

yppm run <script_name>

Build a project

yppm build

Feature

Finished

  • npm package.json like syntax.
  • Can compile a python project into a single binary file.
  • Has a backend and frontend template built_in (similar to SpringBoot).
  • File_path based relative import supporting for main.py file. (import "./lib.py" as lib_module)

Not Finished

  • Built in python binary files that will never upgrade, and free to use offline

Based on