quantguard


Namequantguard JSON
Version 0.1.38 PyPI version JSON
download
home_pageNone
Summary交易对账
upload_time2024-10-14 15:16:30
maintainerNone
docs_urlNone
authorYour Name
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 安装环境
基础环境安装
``` 
conda create --name quantguard python=3.10.6
conda activate quantguard

```
安装poetry包管理工具

```
pip install poetry

# 解决 poetry publish 问题
pip install urllib3==1.26.6
```

安装项目依赖
```
poetry install
```

开发过程中安装具体某个包
```
poetry add xxx包名
```

发布
```
poetry build
poetry publish
```

启动项目

本地测试
```
请在config目录下创建settings.local.yml填写自己的配置
```
启动
```
quantguard server
```

生成环境安装
```
pip install quantguard==0.1.24 -i https://pypi.Python.org/simple 
```

## 安装superset

卸载本地安装的pandas,因为安装superset容易产生冲突(测试只支持pandas 2.0.3)
```
poetry remove pandas
poetry add apache-superset
```

### 初始化db
```
设置 superset SECRET_KEY, 详见superset_config.py文件
```

### Create an admin user in your metadata database (use `admin` as username to be able to load the examples)
export FLASK_APP=superset
superset db upgrade
superset fab create-admin

### Load some data to play with
superset load_examples

### Create default roles and permissions
superset init

### To start a development web server on port 8088, use -p to bind to another port
superset run -p 8088 --with-threads --reload --debugger
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "quantguard",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/29/b2/1fc7525e69e556d2bbe5007138be397882aa9347cb10974c86f01a86bd34/quantguard-0.1.38.tar.gz",
    "platform": null,
    "description": "# \u5b89\u88c5\u73af\u5883\n\u57fa\u7840\u73af\u5883\u5b89\u88c5\n``` \nconda create --name quantguard python=3.10.6\nconda activate quantguard\n\n```\n\u5b89\u88c5poetry\u5305\u7ba1\u7406\u5de5\u5177\n\n```\npip install poetry\n\n# \u89e3\u51b3 poetry publish \u95ee\u9898\npip install urllib3==1.26.6\n```\n\n\u5b89\u88c5\u9879\u76ee\u4f9d\u8d56\n```\npoetry install\n```\n\n\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u5b89\u88c5\u5177\u4f53\u67d0\u4e2a\u5305\n```\npoetry add xxx\u5305\u540d\n```\n\n\u53d1\u5e03\n```\npoetry build\npoetry publish\n```\n\n\u542f\u52a8\u9879\u76ee\n\n\u672c\u5730\u6d4b\u8bd5\n```\n\u8bf7\u5728config\u76ee\u5f55\u4e0b\u521b\u5efasettings.local.yml\u586b\u5199\u81ea\u5df1\u7684\u914d\u7f6e\n```\n\u542f\u52a8\n```\nquantguard server\n```\n\n\u751f\u6210\u73af\u5883\u5b89\u88c5\n```\npip install quantguard==0.1.24 -i https://pypi.Python.org/simple \n```\n\n## \u5b89\u88c5superset\n\n\u5378\u8f7d\u672c\u5730\u5b89\u88c5\u7684pandas\uff0c\u56e0\u4e3a\u5b89\u88c5superset\u5bb9\u6613\u4ea7\u751f\u51b2\u7a81\uff08\u6d4b\u8bd5\u53ea\u652f\u6301pandas 2.0.3\uff09\n```\npoetry remove pandas\npoetry add apache-superset\n```\n\n### \u521d\u59cb\u5316db\n```\n\u8bbe\u7f6e superset SECRET_KEY, \u8be6\u89c1superset_config.py\u6587\u4ef6\n```\n\n### Create an admin user in your metadata database (use `admin` as username to be able to load the examples)\nexport FLASK_APP=superset\nsuperset db upgrade\nsuperset fab create-admin\n\n### Load some data to play with\nsuperset load_examples\n\n### Create default roles and permissions\nsuperset init\n\n### To start a development web server on port 8088, use -p to bind to another port\nsuperset run -p 8088 --with-threads --reload --debugger",
    "bugtrack_url": null,
    "license": null,
    "summary": "\u4ea4\u6613\u5bf9\u8d26",
    "version": "0.1.38",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "14fea7594d6a05ee5fff3afa233c4a79951c30008d99327556813842aa33311e",
                "md5": "c2943bb15e356a03ffc02586198f7a91",
                "sha256": "00d8977a3082b209648f9f225e116f2697455af7867a1862651f3e9d028ad99d"
            },
            "downloads": -1,
            "filename": "quantguard-0.1.38-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c2943bb15e356a03ffc02586198f7a91",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 24695,
            "upload_time": "2024-10-14T15:16:28",
            "upload_time_iso_8601": "2024-10-14T15:16:28.519975Z",
            "url": "https://files.pythonhosted.org/packages/14/fe/a7594d6a05ee5fff3afa233c4a79951c30008d99327556813842aa33311e/quantguard-0.1.38-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29b21fc7525e69e556d2bbe5007138be397882aa9347cb10974c86f01a86bd34",
                "md5": "1644cd008e71401b012e271a99a87e58",
                "sha256": "5ffd83c98a8e5dfdea8c9a8a5e2d01d835ee0957c36533f4a91e5936b4f3636e"
            },
            "downloads": -1,
            "filename": "quantguard-0.1.38.tar.gz",
            "has_sig": false,
            "md5_digest": "1644cd008e71401b012e271a99a87e58",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 16901,
            "upload_time": "2024-10-14T15:16:30",
            "upload_time_iso_8601": "2024-10-14T15:16:30.460241Z",
            "url": "https://files.pythonhosted.org/packages/29/b2/1fc7525e69e556d2bbe5007138be397882aa9347cb10974c86f01a86bd34/quantguard-0.1.38.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-14 15:16:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "quantguard"
}
        
Elapsed time: 0.36659s