.. .. image:: https://readthedocs.org/projects/acore-paths/badge/?version=latest
:target: https://acore-paths.readthedocs.io/en/latest/
:alt: Documentation Status
.. image:: https://github.com/MacHu-GWU/acore_paths-project/actions/workflows/main.yml/badge.svg
:target: https://github.com/MacHu-GWU/acore_paths-project/actions?query=workflow:CI
.. image:: https://codecov.io/gh/MacHu-GWU/acore_paths-project/branch/main/graph/badge.svg
:target: https://codecov.io/gh/MacHu-GWU/acore_paths-project
.. image:: https://img.shields.io/pypi/v/acore-paths.svg
:target: https://pypi.python.org/pypi/acore-paths
.. image:: https://img.shields.io/pypi/l/acore-paths.svg
:target: https://pypi.python.org/pypi/acore-paths
.. image:: https://img.shields.io/pypi/pyversions/acore-paths.svg
:target: https://pypi.python.org/pypi/acore-paths
.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social
:target: https://github.com/MacHu-GWU/acore_paths-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_paths-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-paths.readthedocs.io/en/latest/
.. .. image:: https://img.shields.io/badge/Link-API-blue.svg
:target: https://acore-paths.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_paths-project
.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
:target: https://github.com/MacHu-GWU/acore_paths-project/issues
.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
:target: https://github.com/MacHu-GWU/acore_paths-project/issues
.. image:: https://img.shields.io/badge/Link-Download-blue.svg
:target: https://pypi.org/pypi/acore-paths#files
Welcome to ``acore_paths`` Documentation
==============================================================================
Azerothcore 魔兽世界服务器上的文件目录结构定义. 你可以直接用 ``import acore_paths.api as acore_paths`` 来 import 这些路径, 并在业务代码中引用这些路径. 每一个路径都是一个 ``pathlib.Path`` 对象, 并且都是绝对路径. 该项目可以作为一个 Python 库供其他项目使用, 从而避免了重复定义目录结构的麻烦, 避免了手写路径时可能出现的错误, 一次发明, 到处使用.
注:
本项目支持 Python3.8+, 没有任何依赖.
`点击这里 <https://github.com/MacHu-GWU/acore_paths-project/blob/main/acore_paths/acore_paths.py>`_ 查看所有重要路径的定义.
**Usages**
.. code-block:: python
>>> import acore_paths.api as acore_paths
>>> acore_paths.dir_...
>>> acore_paths.path_...
.. _install:
Install
------------------------------------------------------------------------------
``acore_paths`` is released on PyPI, so all you need is to:
.. code-block:: console
$ pip install acore-paths
To upgrade to latest version:
.. code-block:: console
$ pip install --upgrade acore-paths
Raw data
{
"_id": null,
"home_page": "https://github.com/MacHu-GWU/acore_paths-project",
"name": "acore-paths",
"maintainer": "Sanhe Hu",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "husanhe@gmail.com",
"keywords": null,
"author": "Sanhe Hu",
"author_email": "husanhe@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/24/64/56b1a056286819b781cf067cae599865835b5d1cf8e6a3d646ffad77a095/acore_paths-0.4.1.tar.gz",
"platform": "Windows",
"description": "\n.. .. image:: https://readthedocs.org/projects/acore-paths/badge/?version=latest\n :target: https://acore-paths.readthedocs.io/en/latest/\n :alt: Documentation Status\n\n.. image:: https://github.com/MacHu-GWU/acore_paths-project/actions/workflows/main.yml/badge.svg\n :target: https://github.com/MacHu-GWU/acore_paths-project/actions?query=workflow:CI\n\n.. image:: https://codecov.io/gh/MacHu-GWU/acore_paths-project/branch/main/graph/badge.svg\n :target: https://codecov.io/gh/MacHu-GWU/acore_paths-project\n\n.. image:: https://img.shields.io/pypi/v/acore-paths.svg\n :target: https://pypi.python.org/pypi/acore-paths\n\n.. image:: https://img.shields.io/pypi/l/acore-paths.svg\n :target: https://pypi.python.org/pypi/acore-paths\n\n.. image:: https://img.shields.io/pypi/pyversions/acore-paths.svg\n :target: https://pypi.python.org/pypi/acore-paths\n\n.. image:: https://img.shields.io/badge/Release_History!--None.svg?style=social\n :target: https://github.com/MacHu-GWU/acore_paths-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_paths-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-paths.readthedocs.io/en/latest/\n\n.. .. image:: https://img.shields.io/badge/Link-API-blue.svg\n :target: https://acore-paths.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_paths-project\n\n.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg\n :target: https://github.com/MacHu-GWU/acore_paths-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg\n :target: https://github.com/MacHu-GWU/acore_paths-project/issues\n\n.. image:: https://img.shields.io/badge/Link-Download-blue.svg\n :target: https://pypi.org/pypi/acore-paths#files\n\n\nWelcome to ``acore_paths`` Documentation\n==============================================================================\nAzerothcore \u9b54\u517d\u4e16\u754c\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\u76ee\u5f55\u7ed3\u6784\u5b9a\u4e49. \u4f60\u53ef\u4ee5\u76f4\u63a5\u7528 ``import acore_paths.api as acore_paths`` \u6765 import \u8fd9\u4e9b\u8def\u5f84, \u5e76\u5728\u4e1a\u52a1\u4ee3\u7801\u4e2d\u5f15\u7528\u8fd9\u4e9b\u8def\u5f84. \u6bcf\u4e00\u4e2a\u8def\u5f84\u90fd\u662f\u4e00\u4e2a ``pathlib.Path`` \u5bf9\u8c61, \u5e76\u4e14\u90fd\u662f\u7edd\u5bf9\u8def\u5f84. \u8be5\u9879\u76ee\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2a Python \u5e93\u4f9b\u5176\u4ed6\u9879\u76ee\u4f7f\u7528, \u4ece\u800c\u907f\u514d\u4e86\u91cd\u590d\u5b9a\u4e49\u76ee\u5f55\u7ed3\u6784\u7684\u9ebb\u70e6, \u907f\u514d\u4e86\u624b\u5199\u8def\u5f84\u65f6\u53ef\u80fd\u51fa\u73b0\u7684\u9519\u8bef, \u4e00\u6b21\u53d1\u660e, \u5230\u5904\u4f7f\u7528.\n\n\u6ce8:\n\n \u672c\u9879\u76ee\u652f\u6301 Python3.8+, \u6ca1\u6709\u4efb\u4f55\u4f9d\u8d56.\n\n`\u70b9\u51fb\u8fd9\u91cc <https://github.com/MacHu-GWU/acore_paths-project/blob/main/acore_paths/acore_paths.py>`_ \u67e5\u770b\u6240\u6709\u91cd\u8981\u8def\u5f84\u7684\u5b9a\u4e49.\n\n**Usages**\n\n.. code-block:: python\n\n >>> import acore_paths.api as acore_paths\n >>> acore_paths.dir_...\n >>> acore_paths.path_...\n\n\n.. _install:\n\nInstall\n------------------------------------------------------------------------------\n\n``acore_paths`` is released on PyPI, so all you need is to:\n\n.. code-block:: console\n\n $ pip install acore-paths\n\nTo upgrade to latest version:\n\n.. code-block:: console\n\n $ pip install --upgrade acore-paths\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Azerothcore World of Warcraft Server File / Folder structure definition.",
"version": "0.4.1",
"project_urls": {
"Download": "https://pypi.python.org/pypi/acore_paths/0.4.1#downloads",
"Homepage": "https://github.com/MacHu-GWU/acore_paths-project"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "887cd540b779e0d3f8f8c526efe0fa75da2bf6fe06f08c715f4a1236ba76d21c",
"md5": "ae3c90bdbfccf6ca054f9c2b97dce3d4",
"sha256": "a653007fc0df79580a3c7660292d8f484dac610134421c2c1fc1674ced9e333d"
},
"downloads": -1,
"filename": "acore_paths-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ae3c90bdbfccf6ca054f9c2b97dce3d4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 9964,
"upload_time": "2024-07-30T02:55:29",
"upload_time_iso_8601": "2024-07-30T02:55:29.874933Z",
"url": "https://files.pythonhosted.org/packages/88/7c/d540b779e0d3f8f8c526efe0fa75da2bf6fe06f08c715f4a1236ba76d21c/acore_paths-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "246456b1a056286819b781cf067cae599865835b5d1cf8e6a3d646ffad77a095",
"md5": "8745b2d1d5da9af2d28fddc954f94699",
"sha256": "9f3056fc5e9deb8c9f713267f299a4e8f960efecba9fae2a0a188addef0c6e62"
},
"downloads": -1,
"filename": "acore_paths-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "8745b2d1d5da9af2d28fddc954f94699",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 12965,
"upload_time": "2024-07-30T02:55:30",
"upload_time_iso_8601": "2024-07-30T02:55:30.870797Z",
"url": "https://files.pythonhosted.org/packages/24/64/56b1a056286819b781cf067cae599865835b5d1cf8e6a3d646ffad77a095/acore_paths-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-30 02:55:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MacHu-GWU",
"github_project": "acore_paths-project",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "acore-paths"
}