add LICENSE
This commit is contained in:
parent
10fc3f7869
commit
4bdd50d25c
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ wheels/
|
||||
|
||||
# Virtual environments
|
||||
.venv
|
||||
.python-version
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 chakcy
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
10
README.md
10
README.md
@ -16,8 +16,8 @@
|
||||
### 从源码安装
|
||||
|
||||
```bash
|
||||
git clone <repository-url>
|
||||
cd python-module-bank
|
||||
git clone http://124.71.68.6:3000/chakcy/module_bank.git
|
||||
cd module-bank
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
@ -71,13 +71,13 @@ my_package.package_module.hello()
|
||||
|
||||
```python
|
||||
# 打包模块或目录
|
||||
python -m module_bank.cli pack my_package --db modules.db
|
||||
mb pack my_package --db modules.db
|
||||
|
||||
# 列出数据库中的模块
|
||||
python -m module_bank.cli list --db modules.db
|
||||
mb list --db modules.db
|
||||
|
||||
# 安装导入器并进入交互模式
|
||||
python -m module_bank.cli install --db modules.db
|
||||
mb install --db modules.db
|
||||
```
|
||||
|
||||
### 编程接口
|
||||
|
||||
@ -3,7 +3,7 @@ name = "module_bank"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
requires-python = ">=3.7"
|
||||
dependencies = []
|
||||
|
||||
[[tool.uv.index]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user