.. image:: https://readthedocs.org/projects/acore-server-metadata/badge/?version=latest
:target: https://acore-server-metadata.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://github.com/MacHu-GWU/acore_server_metadata-project/actions/workflows/main.yml/badge.svg
:target: https://github.com/MacHu-GWU/acore_server_metadata-project/actions?query=workflow:CI:CI
.. image:: https://codecov.io/gh/MacHu-GWU/acore_server_metadata-project/branch/main/graph/badge.svg
:target: https://codecov.io/gh/MacHu-GWU/acore_server_metadata-project
.. image:: https://img.shields.io/pypi/v/acore-server-metadata.svg
:target: https://pypi.python.org/pypi/acore-server-metadata
.. image:: https://img.shields.io/pypi/l/acore-server-metadata.svg
:target: https://pypi.python.org/pypi/acore-server-metadata
.. image:: https://img.shields.io/pypi/pyversions/acore-server-metadata.svg
:target: https://pypi.python.org/pypi/acore-server-metadata
.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
:target: https://github.com/MacHu-GWU/acore_server_metadata-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_metadata-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-metadata.readthedocs.io/en/latest/
.. image:: https://img.shields.io/badge/Link-API-blue.svg
:target: https://acore-server-metadata.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_metadata-project
.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
:target: https://github.com/MacHu-GWU/acore_server_metadata-project/issues
.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
:target: https://github.com/MacHu-GWU/acore_server_metadata-project/issues
.. image:: https://img.shields.io/badge/Link-Download-blue.svg
:target: https://pypi.org/pypi/acore-server-metadata#files
Welcome to ``acore_server_metadata`` Documentation
==============================================================================
.. image:: https://acore-server-metadata.readthedocs.io/en/latest/_static/acore_server_metadata-logo.png
:target: https://acore-server-metadata.readthedocs.io/en/latest/
**背景**
`AzerothCore <https://www.azerothcore.org/>`_ (acore) 是一个开源的魔兽世界模拟器, 其代码质量以及文档是目前 (2023 年) 我看来所有的开源魔兽世界模拟器中最好的. 根据魔兽世界官服服务器的架构, 每一个 realm (大区下的某个服务器, 例如国服著名的山丘之王, 洛萨等) 一般都对应着一个单体虚拟机和一个单体数据库. 一个大区下有很多这种服务器, 而在生产环境和测试开发环境下又分别有很多这种服务器. 所以我需要开发一个工具对于这些服务器进行管理, 健康检查等.
我假设游戏服务器虚拟机和数据库都是在 AWS 上用 EC2 和 RDS 部署的. 所以这个项目只能用于 AWS 环境下的服务器管理.
**关于本项目**
本项目把一个游戏服务器抽象成了一个 Python 类, 它包含了一个 EC2 实例和一个 RDS 实例的抽象. 通过这个类, 我们可以获取服务器的状态, 启动服务器, 停止服务器, 删除服务器, 创建数据库备份等操作.
.. _install:
Install
------------------------------------------------------------------------------
``acore_server_metadata`` is released on PyPI, so all you need is to:
.. code-block:: console
$ pip install acore-server-metadata
To upgrade to latest version:
.. code-block:: console
$ pip install --upgrade acore-server-metadata
Raw data
{
"_id": null,
"home_page": "https://github.com/MacHu-GWU/acore_server_metadata-project",
"name": "acore-server-metadata",
"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/2a/4f/a5d07d3c7a27c92859a38d3ab6a920b35c1a54f0a51e9634a55baa5b7739/acore_server_metadata-1.1.1.tar.gz",
"platform": "Windows",
"description": "\n.. image:: https://readthedocs.org/projects/acore-server-metadata/badge/?version=latest\n :target: https://acore-server-metadata.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/acore_server_metadata-project/actions/workflows/main.yml/badge.svg\n :target: https://github.com/MacHu-GWU/acore_server_metadata-project/actions?query=workflow:CI:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/acore_server_metadata-project/branch/main/graph/badge.svg\n :target: https://codecov.io/gh/MacHu-GWU/acore_server_metadata-project\n\n.. image:: https://img.shields.io/pypi/v/acore-server-metadata.svg\n :target: https://pypi.python.org/pypi/acore-server-metadata\n\n.. image:: https://img.shields.io/pypi/l/acore-server-metadata.svg\n :target: https://pypi.python.org/pypi/acore-server-metadata\n\n.. image:: https://img.shields.io/pypi/pyversions/acore-server-metadata.svg\n :target: https://pypi.python.org/pypi/acore-server-metadata\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/acore_server_metadata-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_metadata-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-metadata.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n :target: https://acore-server-metadata.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_metadata-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n :target: https://github.com/MacHu-GWU/acore_server_metadata-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n :target: https://github.com/MacHu-GWU/acore_server_metadata-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n :target: https://pypi.org/pypi/acore-server-metadata#files\n\n\nWelcome to ``acore_server_metadata`` Documentation\n==============================================================================\n.. image:: https://acore-server-metadata.readthedocs.io/en/latest/_static/acore_server_metadata-logo.png\n :target: https://acore-server-metadata.readthedocs.io/en/latest/\n\n**\u80cc\u666f**\n\n`AzerothCore <https://www.azerothcore.org/>`_ (acore) \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u9b54\u517d\u4e16\u754c\u6a21\u62df\u5668, \u5176\u4ee3\u7801\u8d28\u91cf\u4ee5\u53ca\u6587\u6863\u662f\u76ee\u524d (2023 \u5e74) \u6211\u770b\u6765\u6240\u6709\u7684\u5f00\u6e90\u9b54\u517d\u4e16\u754c\u6a21\u62df\u5668\u4e2d\u6700\u597d\u7684. \u6839\u636e\u9b54\u517d\u4e16\u754c\u5b98\u670d\u670d\u52a1\u5668\u7684\u67b6\u6784, \u6bcf\u4e00\u4e2a realm (\u5927\u533a\u4e0b\u7684\u67d0\u4e2a\u670d\u52a1\u5668, \u4f8b\u5982\u56fd\u670d\u8457\u540d\u7684\u5c71\u4e18\u4e4b\u738b, \u6d1b\u8428\u7b49) \u4e00\u822c\u90fd\u5bf9\u5e94\u7740\u4e00\u4e2a\u5355\u4f53\u865a\u62df\u673a\u548c\u4e00\u4e2a\u5355\u4f53\u6570\u636e\u5e93. \u4e00\u4e2a\u5927\u533a\u4e0b\u6709\u5f88\u591a\u8fd9\u79cd\u670d\u52a1\u5668, \u800c\u5728\u751f\u4ea7\u73af\u5883\u548c\u6d4b\u8bd5\u5f00\u53d1\u73af\u5883\u4e0b\u53c8\u5206\u522b\u6709\u5f88\u591a\u8fd9\u79cd\u670d\u52a1\u5668. \u6240\u4ee5\u6211\u9700\u8981\u5f00\u53d1\u4e00\u4e2a\u5de5\u5177\u5bf9\u4e8e\u8fd9\u4e9b\u670d\u52a1\u5668\u8fdb\u884c\u7ba1\u7406, \u5065\u5eb7\u68c0\u67e5\u7b49.\n\n\u6211\u5047\u8bbe\u6e38\u620f\u670d\u52a1\u5668\u865a\u62df\u673a\u548c\u6570\u636e\u5e93\u90fd\u662f\u5728 AWS \u4e0a\u7528 EC2 \u548c RDS \u90e8\u7f72\u7684. \u6240\u4ee5\u8fd9\u4e2a\u9879\u76ee\u53ea\u80fd\u7528\u4e8e AWS \u73af\u5883\u4e0b\u7684\u670d\u52a1\u5668\u7ba1\u7406.\n\n**\u5173\u4e8e\u672c\u9879\u76ee**\n\n\u672c\u9879\u76ee\u628a\u4e00\u4e2a\u6e38\u620f\u670d\u52a1\u5668\u62bd\u8c61\u6210\u4e86\u4e00\u4e2a Python \u7c7b, \u5b83\u5305\u542b\u4e86\u4e00\u4e2a EC2 \u5b9e\u4f8b\u548c\u4e00\u4e2a RDS \u5b9e\u4f8b\u7684\u62bd\u8c61. \u901a\u8fc7\u8fd9\u4e2a\u7c7b, \u6211\u4eec\u53ef\u4ee5\u83b7\u53d6\u670d\u52a1\u5668\u7684\u72b6\u6001, \u542f\u52a8\u670d\u52a1\u5668, \u505c\u6b62\u670d\u52a1\u5668, \u5220\u9664\u670d\u52a1\u5668, \u521b\u5efa\u6570\u636e\u5e93\u5907\u4efd\u7b49\u64cd\u4f5c.\n\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``acore_server_metadata`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n $ pip install acore-server-metadata\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n $ pip install --upgrade acore-server-metadata\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Azerothcore WOW server metadata for Fleet management.",
"version": "1.1.1",
"project_urls": {
"Download": "https://pypi.python.org/pypi/acore_server_metadata/1.1.1#downloads",
"Homepage": "https://github.com/MacHu-GWU/acore_server_metadata-project"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b91d045553ee44e298776efd63b893bb05aecabc448c9c170fa1a250573d3867",
"md5": "cca4ae8a3e44be88c4d4cfc8829c0ba4",
"sha256": "546e48bef3d695c417ce6b278eb8bef4ff739375079791349ac7fe918e4f52d2"
},
"downloads": -1,
"filename": "acore_server_metadata-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cca4ae8a3e44be88c4d4cfc8829c0ba4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 24707,
"upload_time": "2024-06-22T14:46:12",
"upload_time_iso_8601": "2024-06-22T14:46:12.637931Z",
"url": "https://files.pythonhosted.org/packages/b9/1d/045553ee44e298776efd63b893bb05aecabc448c9c170fa1a250573d3867/acore_server_metadata-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2a4fa5d07d3c7a27c92859a38d3ab6a920b35c1a54f0a51e9634a55baa5b7739",
"md5": "790604e97c70d2200d1f3f3d99dd7e47",
"sha256": "23ca305a011aadc635863f42ca5b4af825ed09143801736e001548d8a65105c8"
},
"downloads": -1,
"filename": "acore_server_metadata-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "790604e97c70d2200d1f3f3d99dd7e47",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 22367,
"upload_time": "2024-06-22T14:46:14",
"upload_time_iso_8601": "2024-06-22T14:46:14.792548Z",
"url": "https://files.pythonhosted.org/packages/2a/4f/a5d07d3c7a27c92859a38d3ab6a920b35c1a54f0a51e9634a55baa5b7739/acore_server_metadata-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-22 14:46:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MacHu-GWU",
"github_project": "acore_server_metadata-project",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "boto3",
"specs": []
},
{
"name": "simple_aws_ec2",
"specs": [
[
"<",
"1.0.0"
],
[
">=",
"0.8.3"
]
]
},
{
"name": "simple_aws_rds",
"specs": [
[
"<",
"1.0.0"
],
[
">=",
"0.5.3"
]
]
},
{
"name": "acore_constants",
"specs": [
[
"<",
"1.0.0"
],
[
">=",
"0.2.1"
]
]
}
],
"lcname": "acore-server-metadata"
}