simmed


Namesimmed JSON
Version 0.2.8 PyPI version JSON
download
home_pagehttps://simmed.cn
Summary微服务基础框架
upload_time2024-12-25 03:40:26
maintainerNone
docs_urlNone
authorweizw,lijunhua,zhaoyun
requires_python<4,>=3.8
licenseCopyright (C) 2022 SimMed 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.
keywords simmed
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TD SDK Core Python

基于 Python3 核心框架,集成 flask,nacos,zip

## 更新依赖

```
pipreqs ./ --encoding utf-8  --force
```

## 安装依赖

```
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/  --trusted-host  mirrors.aliyun.com
```

## 制作包

```
# 构建
python setup.py build

# 直接源码安装
python setup.py install

# 打包dist, zip或tar.gz
python setup.py sdist

# 打包whl
python setup.py bdist_wheel
```

## 上传到 PyPi

```
python3 -m twine upload dist/*

# windows下使用以下命令上传
twine upload dist/*
```

## 上传包

`https://packages.simmed.cn/#browse/upload:pypi`

## 安装包

```
pip install simmed

# 环境依赖,注意python版本
yum install python3-devel -y

# 加速
pip install xxxx -i https://pypi.tuna.tsinghua.edu.cn/simple
```

## 引用包

```
import simmed.config as config
from simmed.simmed_core import init_flask_app, set_zipkin_tags, get_config, rpc_rest_service, log
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://simmed.cn",
    "name": "simmed",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "simmed",
    "author": "weizw,lijunhua,zhaoyun",
    "author_email": "weizw <weizhuwang@simmed.cn>, defa <lijunnhua@simmed.cn>, zhaoyun <zhaoyun@simmed.cn>",
    "download_url": null,
    "platform": "any",
    "description": "# TD SDK Core Python\n\n\u57fa\u4e8e Python3 \u6838\u5fc3\u6846\u67b6\uff0c\u96c6\u6210 flask\uff0cnacos\uff0czip\n\n## \u66f4\u65b0\u4f9d\u8d56\n\n```\npipreqs ./ --encoding utf-8  --force\n```\n\n## \u5b89\u88c5\u4f9d\u8d56\n\n```\npip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/  --trusted-host  mirrors.aliyun.com\n```\n\n## \u5236\u4f5c\u5305\n\n```\n# \u6784\u5efa\npython setup.py build\n\n# \u76f4\u63a5\u6e90\u7801\u5b89\u88c5\npython setup.py install\n\n# \u6253\u5305dist, zip\u6216tar.gz\npython setup.py sdist\n\n# \u6253\u5305whl\npython setup.py bdist_wheel\n```\n\n## \u4e0a\u4f20\u5230 PyPi\n\n```\npython3 -m twine upload dist/*\n\n# windows\u4e0b\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4e0a\u4f20\ntwine upload dist/*\n```\n\n## \u4e0a\u4f20\u5305\n\n`https://packages.simmed.cn/#browse/upload:pypi`\n\n## \u5b89\u88c5\u5305\n\n```\npip install simmed\n\n# \u73af\u5883\u4f9d\u8d56,\u6ce8\u610fpython\u7248\u672c\nyum install python3-devel -y\n\n# \u52a0\u901f\npip install xxxx -i https://pypi.tuna.tsinghua.edu.cn/simple\n```\n\n## \u5f15\u7528\u5305\n\n```\nimport simmed.config as config\nfrom simmed.simmed_core import init_flask_app, set_zipkin_tags, get_config, rpc_rest_service, log\n```\n",
    "bugtrack_url": null,
    "license": "Copyright (C) 2022 SimMed 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. ",
    "summary": "\u5fae\u670d\u52a1\u57fa\u7840\u6846\u67b6",
    "version": "0.2.8",
    "project_urls": {
        "Bug Tracker": "https://simmed.cn",
        "Homepage": "https://simmed.cn"
    },
    "split_keywords": [
        "simmed"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f0065d681510bbb0fae5bd6d166c4a43fc3bef800f49105c1fa2a1dbc33e16f",
                "md5": "6933ba8f13a634e5b7391d757fbef5d8",
                "sha256": "d5f04bc273b7b6c91e0da8f21576bdd84a725a5066ec72842b62b03f07ea1f34"
            },
            "downloads": -1,
            "filename": "simmed-0.2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6933ba8f13a634e5b7391d757fbef5d8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 21268,
            "upload_time": "2024-12-25T03:40:26",
            "upload_time_iso_8601": "2024-12-25T03:40:26.117995Z",
            "url": "https://files.pythonhosted.org/packages/9f/00/65d681510bbb0fae5bd6d166c4a43fc3bef800f49105c1fa2a1dbc33e16f/simmed-0.2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-25 03:40:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "simmed"
}
        
Elapsed time: 0.42912s