acore-df


Nameacore-df JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/MacHu-GWU/acore_df-project
SummaryAzerothcore DataFrame.
upload_time2024-06-27 15:19:45
maintainerSanhe Hu
docs_urlNone
authorSanhe Hu
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
.. image:: https://readthedocs.org/projects/acore-df/badge/?version=latest
    :target: https://acore-df.readthedocs.io/en/latest/
    :alt: Documentation Status

.. image:: https://github.com/MacHu-GWU/acore_df-project/actions/workflows/main.yml/badge.svg
    :target: https://github.com/MacHu-GWU/acore_df-project/actions?query=workflow:CI

.. image:: https://codecov.io/gh/MacHu-GWU/acore_df-project/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/MacHu-GWU/acore_df-project

.. image:: https://img.shields.io/pypi/v/acore-df.svg
    :target: https://pypi.python.org/pypi/acore-df

.. image:: https://img.shields.io/pypi/l/acore-df.svg
    :target: https://pypi.python.org/pypi/acore-df

.. image:: https://img.shields.io/pypi/pyversions/acore-df.svg
    :target: https://pypi.python.org/pypi/acore-df

.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/acore_df-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_df-project

------

.. image:: https://img.shields.io/badge/Link-Document-blue.svg
    :target: https://acore-df.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/Link-API-blue.svg
    :target: https://acore-df.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_df-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
    :target: https://github.com/MacHu-GWU/acore_df-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
    :target: https://github.com/MacHu-GWU/acore_df-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
    :target: https://pypi.org/pypi/acore-df#files


Welcome to ``acore_df`` Documentation
==============================================================================
.. image:: https://acore-df.readthedocs.io/en/latest/_static/acore_df-logo.png
    :target: https://acore-df.readthedocs.io/en/latest/

这个项目是为了解决在修改 Azerothcore 世界数据库, 会存在很多 ID code 到人类友好的名字的转换问题. 在以前, 为了增加代码的可维护性, 我需要定义 ID 的 Enum, 然后用 ID 取数据库中查找其他的 attribute. 而这样做很难保证数据在不断更新过程中的一致性. 于是我设计了一个新的方案. 新方案的核心是将 Google Sheet 中编写的数据作为 Ground Truth, 然后用 Python 自动生成所有的 Enum, SqlAlchemy ORM Class, Data Class 的定义的 Python 模块, 然后将数据 load 到一个 Sqlite 数据库中. 所有的 IO 都会走本地的 Sqlite 数据库, 这样会获得非常高的性能.


.. _install:

Install
------------------------------------------------------------------------------

``acore_df`` is released on PyPI, so all you need is to:

.. code-block:: console

    $ pip install acore-df

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade acore-df

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MacHu-GWU/acore_df-project",
    "name": "acore-df",
    "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/50/07/a3b78c9c0332d4cfd5d82a1fcb0b6c71bba514e45122ba2c12b1a8444df6/acore_df-0.1.1.tar.gz",
    "platform": "Windows",
    "description": "\n.. image:: https://readthedocs.org/projects/acore-df/badge/?version=latest\n    :target: https://acore-df.readthedocs.io/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/acore_df-project/actions/workflows/main.yml/badge.svg\n    :target: https://github.com/MacHu-GWU/acore_df-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/acore_df-project/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/MacHu-GWU/acore_df-project\n\n.. image:: https://img.shields.io/pypi/v/acore-df.svg\n    :target: https://pypi.python.org/pypi/acore-df\n\n.. image:: https://img.shields.io/pypi/l/acore-df.svg\n    :target: https://pypi.python.org/pypi/acore-df\n\n.. image:: https://img.shields.io/pypi/pyversions/acore-df.svg\n    :target: https://pypi.python.org/pypi/acore-df\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n    :target: https://github.com/MacHu-GWU/acore_df-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_df-project\n\n------\n\n.. image:: https://img.shields.io/badge/Link-Document-blue.svg\n    :target: https://acore-df.readthedocs.io/en/latest/\n\n.. image:: https://img.shields.io/badge/Link-API-blue.svg\n    :target: https://acore-df.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_df-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n    :target: https://github.com/MacHu-GWU/acore_df-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n    :target: https://github.com/MacHu-GWU/acore_df-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n    :target: https://pypi.org/pypi/acore-df#files\n\n\nWelcome to ``acore_df`` Documentation\n==============================================================================\n.. image:: https://acore-df.readthedocs.io/en/latest/_static/acore_df-logo.png\n    :target: https://acore-df.readthedocs.io/en/latest/\n\n\u8fd9\u4e2a\u9879\u76ee\u662f\u4e3a\u4e86\u89e3\u51b3\u5728\u4fee\u6539 Azerothcore \u4e16\u754c\u6570\u636e\u5e93, \u4f1a\u5b58\u5728\u5f88\u591a ID code \u5230\u4eba\u7c7b\u53cb\u597d\u7684\u540d\u5b57\u7684\u8f6c\u6362\u95ee\u9898. \u5728\u4ee5\u524d, \u4e3a\u4e86\u589e\u52a0\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027, \u6211\u9700\u8981\u5b9a\u4e49 ID \u7684 Enum, \u7136\u540e\u7528 ID \u53d6\u6570\u636e\u5e93\u4e2d\u67e5\u627e\u5176\u4ed6\u7684 attribute. \u800c\u8fd9\u6837\u505a\u5f88\u96be\u4fdd\u8bc1\u6570\u636e\u5728\u4e0d\u65ad\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u7684\u4e00\u81f4\u6027. \u4e8e\u662f\u6211\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u65b0\u7684\u65b9\u6848. \u65b0\u65b9\u6848\u7684\u6838\u5fc3\u662f\u5c06 Google Sheet \u4e2d\u7f16\u5199\u7684\u6570\u636e\u4f5c\u4e3a Ground Truth, \u7136\u540e\u7528 Python \u81ea\u52a8\u751f\u6210\u6240\u6709\u7684 Enum, SqlAlchemy ORM Class, Data Class \u7684\u5b9a\u4e49\u7684 Python \u6a21\u5757, \u7136\u540e\u5c06\u6570\u636e load \u5230\u4e00\u4e2a Sqlite \u6570\u636e\u5e93\u4e2d. \u6240\u6709\u7684 IO \u90fd\u4f1a\u8d70\u672c\u5730\u7684 Sqlite \u6570\u636e\u5e93, \u8fd9\u6837\u4f1a\u83b7\u5f97\u975e\u5e38\u9ad8\u7684\u6027\u80fd.\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``acore_df`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n    $ pip install acore-df\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n    $ pip install --upgrade acore-df\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Azerothcore DataFrame.",
    "version": "0.1.1",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/acore_df/0.1.1#downloads",
        "Homepage": "https://github.com/MacHu-GWU/acore_df-project"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ff75943cd9728ad037acb4291b60c57ced62a2129fc1563a8de25b6def8cd05",
                "md5": "059b53218c00fee37c6806e51d09d85d",
                "sha256": "31e598e4c92a5d83d05abf06e70fc51167e4f0c99151875b60bf389fd8506a18"
            },
            "downloads": -1,
            "filename": "acore_df-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "059b53218c00fee37c6806e51d09d85d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 15083,
            "upload_time": "2024-06-27T15:19:42",
            "upload_time_iso_8601": "2024-06-27T15:19:42.935692Z",
            "url": "https://files.pythonhosted.org/packages/0f/f7/5943cd9728ad037acb4291b60c57ced62a2129fc1563a8de25b6def8cd05/acore_df-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5007a3b78c9c0332d4cfd5d82a1fcb0b6c71bba514e45122ba2c12b1a8444df6",
                "md5": "72358cfe28c0b6228584dcd951a0b03a",
                "sha256": "1bba3f9e881d633bd03db384500e17c017b1a9b47f613ff836299ebce3a8419a"
            },
            "downloads": -1,
            "filename": "acore_df-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "72358cfe28c0b6228584dcd951a0b03a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16656,
            "upload_time": "2024-06-27T15:19:45",
            "upload_time_iso_8601": "2024-06-27T15:19:45.193156Z",
            "url": "https://files.pythonhosted.org/packages/50/07/a3b78c9c0332d4cfd5d82a1fcb0b6c71bba514e45122ba2c12b1a8444df6/acore_df-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-27 15:19:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MacHu-GWU",
    "github_project": "acore_df-project",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "acore-df"
}
        
Elapsed time: 1.17944s