# 使用
```
from geovis_upload_sdk import Uploader
uploader = Uploader(hostURL, appKey, secretKey)
result = uploader.upload(categoryId, file)
```
## 1 安装
```shell
pip uninstall geovis_upload_sdk
pip install geovis_upload_sdk==0.0.1
```
## 2 测试、编译和上传
### 2.1 本地测试
```shell
python setup.py develop
```
编译tar.gz:
```shell
python setup.py sdist
```
编译whl:
```
pip install wheel
python setup.py bdist_wheel
```
检查
```shell
python setup.py check
```
上传到pypi:
```shell
pip install twine
twine upload dist/*
```
## 更新日志
`0.0.1` 基础版测试
`0.0.2` 支持分片上传
`0.0.3` 优化
Raw data
{
"_id": null,
"home_page": "https://github.com/kevinxuelei",
"name": "geovis-upload-sdk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "python,menu,dumb_menu,windows,mac,linux",
"author": "kevinxuelei",
"author_email": "kevinxuelei <kevinxuelei@163.com>",
"download_url": "https://files.pythonhosted.org/packages/e2/1b/d866eeb88c5fa874354f4dccfbaa095b8ddb1ee2d22ad1ec58fc0b715250/geovis_upload_sdk-0.0.3.tar.gz",
"platform": null,
"description": "# \u4f7f\u7528\n```\nfrom geovis_upload_sdk import Uploader\n\nuploader = Uploader(hostURL, appKey, secretKey)\nresult = uploader.upload(categoryId, file)\n```\n\n\n\n## 1 \u5b89\u88c5\n\n```shell\npip uninstall geovis_upload_sdk\n\npip install geovis_upload_sdk==0.0.1\n\n```\n\n\n\n## 2 \u6d4b\u8bd5\u3001\u7f16\u8bd1\u548c\u4e0a\u4f20\n\n### 2.1 \u672c\u5730\u6d4b\u8bd5\n\n```shell\npython setup.py develop\n```\n\n\n\n\u7f16\u8bd1tar.gz\uff1a\n\n```shell\npython setup.py sdist\n```\n\n\n\n\n\n\u7f16\u8bd1whl\uff1a\n\n```\npip install wheel\npython setup.py bdist_wheel\n```\n\n\n\n\u68c0\u67e5\n\n```shell\npython setup.py check \n```\n\n\n\n\u4e0a\u4f20\u5230pypi\uff1a\n\n```shell\npip install twine\ntwine upload dist/*\n```\n\n\n\n## \u66f4\u65b0\u65e5\u5fd7\n\n`0.0.1` \u57fa\u7840\u7248\u6d4b\u8bd5\n`0.0.2` \u652f\u6301\u5206\u7247\u4e0a\u4f20\n`0.0.3` \u4f18\u5316\n\n",
"bugtrack_url": null,
"license": "",
"summary": "geovis upload file sdk",
"version": "0.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/pypa/sampleproject/issues",
"Homepage": "https://github.com/pypa/sampleproject"
},
"split_keywords": [
"python",
"menu",
"dumb_menu",
"windows",
"mac",
"linux"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "12f40d87351ed7b97f1841289d490d33926a3c543a23a50c2a75b70c6027cea7",
"md5": "2b0947620415445324dc2ce5bce69137",
"sha256": "522881085ce4f57cbf02099390a79dc1968dbbfd8ead8bc415a2ae6864e3f962"
},
"downloads": -1,
"filename": "geovis_upload_sdk-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2b0947620415445324dc2ce5bce69137",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4847,
"upload_time": "2023-07-14T02:51:45",
"upload_time_iso_8601": "2023-07-14T02:51:45.787236Z",
"url": "https://files.pythonhosted.org/packages/12/f4/0d87351ed7b97f1841289d490d33926a3c543a23a50c2a75b70c6027cea7/geovis_upload_sdk-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e21bd866eeb88c5fa874354f4dccfbaa095b8ddb1ee2d22ad1ec58fc0b715250",
"md5": "a210743715baa7cae853613e498f3b2d",
"sha256": "915787efc5ea274b98c652a3d083c9f4928e14f02a33ac6a74efec1e37319da4"
},
"downloads": -1,
"filename": "geovis_upload_sdk-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "a210743715baa7cae853613e498f3b2d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4440,
"upload_time": "2023-07-14T02:51:47",
"upload_time_iso_8601": "2023-07-14T02:51:47.214019Z",
"url": "https://files.pythonhosted.org/packages/e2/1b/d866eeb88c5fa874354f4dccfbaa095b8ddb1ee2d22ad1ec58fc0b715250/geovis_upload_sdk-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-14 02:51:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pypa",
"github_project": "sampleproject",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "geovis-upload-sdk"
}