MacHu-GWU / acore_paths-project

Azerothcore World of Warcraft Server File / Folder structure definition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social

Welcome to acore_paths Documentation

Azerothcore 魔兽世界服务器上的文件目录结构定义. 你可以直接用 import acore_paths.api as acore_paths 来 import 这些路径, 并在业务代码中引用这些路径. 每一个路径都是一个 pathlib.Path 对象, 并且都是绝对路径. 该项目可以作为一个 Python 库供其他项目使用, 从而避免了重复定义目录结构的麻烦, 避免了手写路径时可能出现的错误, 一次发明, 到处使用.

注:

本项目支持 Python3.4+, 没有任何依赖.

点击这里 查看所有重要路径的定义.

Usages

>>> import acore_paths.api as acore_paths
>>> acore_paths.dir_...
>>> acore_paths.path_...

Install

acore_paths is released on PyPI, so all you need is to:

$ pip install acore-paths

To upgrade to latest version:

$ pip install --upgrade acore-paths

About

Azerothcore World of Warcraft Server File / Folder structure definition.

License:MIT License


Languages

Language:Python 100.0%