add LICENSE

This commit is contained in:
chakcy 2026-01-23 15:24:51 +08:00
parent 10fc3f7869
commit 4bdd50d25c
4 changed files with 28 additions and 6 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ wheels/
# Virtual environments
.venv
.python-version

21
LICENSE Normal file
View 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.

View File

@ -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
```
### 编程接口

View File

@ -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]]