diff --git a/binding/python/ReadMe.md b/binding/python/ReadMe.md index 158b931..e3c8a64 100644 --- a/binding/python/ReadMe.md +++ b/binding/python/ReadMe.md @@ -2,6 +2,11 @@ # 使用方式 +### 安装 `ip2region` +```bash +pip3 install ip2region +``` + ### 关于查询 API 查询 API 的原型为: ```python @@ -69,7 +74,7 @@ except Exception as e: # 3、关闭资源 searcher.close() -# 备注:每个线程需要单独创建一个独立的 Searcher 对象,但是都共享全局的制度 vIndex 缓存。 +# 备注:每个线程需要单独创建一个独立的 Searcher 对象 ``` ### 缓存 `VectorIndex` 索引 diff --git a/binding/python/setup.py b/binding/python/setup.py index 8424dd8..07cea35 100644 --- a/binding/python/setup.py +++ b/binding/python/setup.py @@ -17,7 +17,7 @@ setuptools.setup( install_requires=[], classifiers=( "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ), -) \ No newline at end of file +)