.. image:: https://readthedocs.org/projects/acore-server/badge/?version=latest
:target: https://acore-server.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://github.com/MacHu-GWU/acore_server-project/actions/workflows/main.yml/badge.svg
:target: https://github.com/MacHu-GWU/acore_server-project/actions?query=workflow:CI
.. image:: https://codecov.io/gh/MacHu-GWU/acore_server-project/branch/main/graph/badge.svg
:target: https://codecov.io/gh/MacHu-GWU/acore_server-project
.. image:: https://img.shields.io/pypi/v/acore-server.svg
:target: https://pypi.python.org/pypi/acore-server
.. image:: https://img.shields.io/pypi/l/acore-server.svg
:target: https://pypi.python.org/pypi/acore-server
.. image:: https://img.shields.io/pypi/pyversions/acore-server.svg
:target: https://pypi.python.org/pypi/acore-server
.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
:target: https://github.com/MacHu-GWU/acore_server-project/blob/main/release-history.rst
.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
:target: https://github.com/MacHu-GWU/acore_server-project
.. image:: https://img.shields.io/badge/Acore_Doc--None.svg?style=social&logo=readthedocs
:target: https://acore-doc.readthedocs.io/en/latest/
------
.. image:: https://img.shields.io/badge/Link-Document-blue.svg
:target: https://acore-server.readthedocs.io/en/latest/
.. image:: https://img.shields.io/badge/Link-API-blue.svg
:target: https://acore-server.readthedocs.io/en/latest/py-modindex.html
.. image:: https://img.shields.io/badge/Link-Install-blue.svg
:target: `install`_
.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
:target: https://github.com/MacHu-GWU/acore_server-project
.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
:target: https://github.com/MacHu-GWU/acore_server-project/issues
.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
:target: https://github.com/MacHu-GWU/acore_server-project/issues
.. image:: https://img.shields.io/badge/Link-Download-blue.svg
:target: https://pypi.org/pypi/acore-server#files
Welcome to ``acore_server`` Documentation
==============================================================================
.. image:: https://acore-server.readthedocs.io/en/latest/_static/acore_server-logo.png
:target: https://acore-server.readthedocs.io/en/latest/
**项目背景**
一个魔兽世界服务器由一个 EC2 游戏服务器 和一个 RDS DB Instance 数据库组成. 其中游戏服务器和数据库的配置信息, 例如账号密码, 机器的 CPU 内存大小, 都由 `acore_server_metadata <https://github.com/MacHu-GWU/acore_server_metadata-project>`_ 这个库管理. 而对于 EC2 和 RDS 的 metadata, 例如 IP 地址, host, 在线状态, 以及对其进行创建, 启动, 停止, 删除等操作则是由 `acore_server_config <https://github.com/MacHu-GWU/acore_server_config-project>`_ 这个库管理. 要想远程运行 GM 命令, 则需要用到 `acore_soap_app <https://github.com/MacHu-GWU/acore_soap_app-project>`_ 这个库. 要想在本地进行数据库应用开发, 则需要用到 `acore_db_ssh_tunnel <https://github.com/MacHu-GWU/acore_db_ssh_tunnel-project>`_ 这个库.
本项目则是将以上四个库整合到一起, 用 ``acore_server.api.Server`` 作为一个统一的入口, 以便于在一个项目中同时使用以上四个库. 并且在对这些子库的 API 调用进行了封装, 将跟 Server 相关的参数都封装起来, 使得我们可以用最少的参数, 方便地调用这些子库的 API.
.. _install:
Install
------------------------------------------------------------------------------
``acore_server`` is released on PyPI, so all you need is to:
.. code-block:: console
$ pip install acore-server
To upgrade to latest version:
.. code-block:: console
$ pip install --upgrade acore-server
Raw data
{
"_id": null,
"home_page": "https://github.com/MacHu-GWU/acore_server-project",
"name": "acore-server",
"maintainer": "Sanhe Hu",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "husanhe@gmail.com",
"keywords": null,
"author": "Sanhe Hu",
"author_email": "husanhe@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2b/36/39c55b6f9dca665725a472c4013cbce911055c33a59ea4393127ae57a728/acore_server-1.1.4.tar.gz",
"platform": "Windows",
"description": "\n.. image:: https://readthedocs.org/projects/acore-server/badge/?version=latest\n :target: https://acore-server.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/acore_server-project/actions/workflows/main.yml/badge.svg\n :target: https://github.com/MacHu-GWU/acore_server-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/acore_server-project/branch/main/graph/badge.svg\n :target: https://codecov.io/gh/MacHu-GWU/acore_server-project\n\n.. image:: https://img.shields.io/pypi/v/acore-server.svg\n :target: https://pypi.python.org/pypi/acore-server\n\n.. image:: https://img.shields.io/pypi/l/acore-server.svg\n :target: https://pypi.python.org/pypi/acore-server\n\n.. image:: https://img.shields.io/pypi/pyversions/acore-server.svg\n :target: https://pypi.python.org/pypi/acore-server\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/acore_server-project/blob/main/release-history.rst\n\n.. image:: https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/acore_server-project\n\n.. image:: https://img.shields.io/badge/Acore_Doc--None.svg?style=social&logo=readthedocs\n :target: https://acore-doc.readthedocs.io/en/latest/\n\n------\n\n.. image:: https://img.shields.io/badge/Link-Document-blue.svg\n :target: https://acore-server.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n :target: https://acore-server.readthedocs.io/en/latest/py-modindex.html\n\n.. image:: https://img.shields.io/badge/Link-Install-blue.svg\n :target: `install`_\n\n.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg\n :target: https://github.com/MacHu-GWU/acore_server-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n :target: https://github.com/MacHu-GWU/acore_server-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n :target: https://github.com/MacHu-GWU/acore_server-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n :target: https://pypi.org/pypi/acore-server#files\n\n\nWelcome to ``acore_server`` Documentation\n==============================================================================\n.. image:: https://acore-server.readthedocs.io/en/latest/_static/acore_server-logo.png\n :target: https://acore-server.readthedocs.io/en/latest/\n\n**\u9879\u76ee\u80cc\u666f**\n\n\u4e00\u4e2a\u9b54\u517d\u4e16\u754c\u670d\u52a1\u5668\u7531\u4e00\u4e2a EC2 \u6e38\u620f\u670d\u52a1\u5668 \u548c\u4e00\u4e2a RDS DB Instance \u6570\u636e\u5e93\u7ec4\u6210. \u5176\u4e2d\u6e38\u620f\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u7684\u914d\u7f6e\u4fe1\u606f, \u4f8b\u5982\u8d26\u53f7\u5bc6\u7801, \u673a\u5668\u7684 CPU \u5185\u5b58\u5927\u5c0f, \u90fd\u7531 `acore_server_metadata <https://github.com/MacHu-GWU/acore_server_metadata-project>`_ \u8fd9\u4e2a\u5e93\u7ba1\u7406. \u800c\u5bf9\u4e8e EC2 \u548c RDS \u7684 metadata, \u4f8b\u5982 IP \u5730\u5740, host, \u5728\u7ebf\u72b6\u6001, \u4ee5\u53ca\u5bf9\u5176\u8fdb\u884c\u521b\u5efa, \u542f\u52a8, \u505c\u6b62, \u5220\u9664\u7b49\u64cd\u4f5c\u5219\u662f\u7531 `acore_server_config <https://github.com/MacHu-GWU/acore_server_config-project>`_ \u8fd9\u4e2a\u5e93\u7ba1\u7406. \u8981\u60f3\u8fdc\u7a0b\u8fd0\u884c GM \u547d\u4ee4, \u5219\u9700\u8981\u7528\u5230 `acore_soap_app <https://github.com/MacHu-GWU/acore_soap_app-project>`_ \u8fd9\u4e2a\u5e93. \u8981\u60f3\u5728\u672c\u5730\u8fdb\u884c\u6570\u636e\u5e93\u5e94\u7528\u5f00\u53d1, \u5219\u9700\u8981\u7528\u5230 `acore_db_ssh_tunnel <https://github.com/MacHu-GWU/acore_db_ssh_tunnel-project>`_ \u8fd9\u4e2a\u5e93.\n\n\u672c\u9879\u76ee\u5219\u662f\u5c06\u4ee5\u4e0a\u56db\u4e2a\u5e93\u6574\u5408\u5230\u4e00\u8d77, \u7528 ``acore_server.api.Server`` \u4f5c\u4e3a\u4e00\u4e2a\u7edf\u4e00\u7684\u5165\u53e3, \u4ee5\u4fbf\u4e8e\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\u540c\u65f6\u4f7f\u7528\u4ee5\u4e0a\u56db\u4e2a\u5e93. \u5e76\u4e14\u5728\u5bf9\u8fd9\u4e9b\u5b50\u5e93\u7684 API \u8c03\u7528\u8fdb\u884c\u4e86\u5c01\u88c5, \u5c06\u8ddf Server \u76f8\u5173\u7684\u53c2\u6570\u90fd\u5c01\u88c5\u8d77\u6765, \u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u7528\u6700\u5c11\u7684\u53c2\u6570, \u65b9\u4fbf\u5730\u8c03\u7528\u8fd9\u4e9b\u5b50\u5e93\u7684 API.\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``acore_server`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n $ pip install acore-server\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n $ pip install --upgrade acore-server\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "AzerothCore World of Warcraft Logic Server Data Model.",
"version": "1.1.4",
"project_urls": {
"Download": "https://pypi.python.org/pypi/acore_server/1.1.4#downloads",
"Homepage": "https://github.com/MacHu-GWU/acore_server-project"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b8f922a390397f583ccc35152f277600d4636319dc12d6803d1416a9079e1405",
"md5": "e0ba5b44086d644837444db9ca4b6efb",
"sha256": "a34c54cd0066cc0954ad2d35e2778057b4c7006d3b640ac4fec924a382be340a"
},
"downloads": -1,
"filename": "acore_server-1.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e0ba5b44086d644837444db9ca4b6efb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 29784,
"upload_time": "2024-07-26T21:00:25",
"upload_time_iso_8601": "2024-07-26T21:00:25.591482Z",
"url": "https://files.pythonhosted.org/packages/b8/f9/22a390397f583ccc35152f277600d4636319dc12d6803d1416a9079e1405/acore_server-1.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2b3639c55b6f9dca665725a472c4013cbce911055c33a59ea4393127ae57a728",
"md5": "02c81238924d69c2c37bb508951715c6",
"sha256": "56eb69b1f1fde1cb772dc6c46e6662e878599b66b1bb3ff138d202a82c3f801f"
},
"downloads": -1,
"filename": "acore_server-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "02c81238924d69c2c37bb508951715c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 30030,
"upload_time": "2024-07-26T21:00:27",
"upload_time_iso_8601": "2024-07-26T21:00:27.088014Z",
"url": "https://files.pythonhosted.org/packages/2b/36/39c55b6f9dca665725a472c4013cbce911055c33a59ea4393127ae57a728/acore_server-1.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-26 21:00:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MacHu-GWU",
"github_project": "acore_server-project",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "acore-server"
}