Neko CLI - 通用包管理命令行工具
Project description
Neko CLI
通用包管理命令行工具,支持 PyPI、npm、自定义仓库三种包源。
安装
pip install .
使用
# 初始化项目
neko init
# 安装包
neko install requests # 默认从 PyPI
neko install lodash --from npm # 从 npm
neko install my-plugin --from repo https://github.com/NekoDev/repo # 自定义仓库
neko install ./local-package.zip # 本地安装
# 查看已安装
neko list
# 卸载
neko remove requests
# 更新
neko update requests
neko update # 全部更新
# 搜索
neko search requests
命令
| 命令 | 说明 |
|---|---|
neko init [name] |
初始化项目,生成 neko.json |
neko install <pkg> |
安装包 |
neko list |
列出已安装的包 |
neko remove <pkg> |
卸载包 |
neko update [pkg] |
更新包 |
neko search <keyword> |
搜索包 |
neko --version |
查看版本 |
neko --help |
查看帮助 |
配置文件 neko.json
{
"name": "my-project",
"packages": {
"requests": {
"source": "pypi",
"version": "2.31.0",
"installed_at": "2026-05-02T12:00:00"
}
},
"repos": {
"nekocraft": "https://github.com/NekoDev/nekocraft-repo"
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xiaohondan_nekocli-1.0.0.tar.gz.
File metadata
- Download URL: xiaohondan_nekocli-1.0.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0a083e2b1c617044304c55525b70ecfcbcebf0ee4b74c3a98481ec38ae98a8f
|
|
| MD5 |
7fb6a4ea94cbbd287649b55b01f552e3
|
|
| BLAKE2b-256 |
d8a8fe8831ef29e43256adf8fe8556002606730a895978d40357a07bf2f698c4
|
File details
Details for the file xiaohondan_nekocli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xiaohondan_nekocli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d63a487b9fa5b37fdd177158515abcce165f36c8ebba41a2d362b797d512ae27
|
|
| MD5 |
bd20b3957c310bfd3df0fb756cbb52d7
|
|
| BLAKE2b-256 |
b372b05db030b2b7dac9dea38589786d93fc8d65155fcbccbde0367c88d03aba
|