Welcome to acore_paths Documentation
Azerothcore 魔兽世界服务器上的文件目录结构定义. 你可以直接用 import acore_paths.api as acore_paths 来 import 这些路径, 并在业务代码中引用这些路径. 每一个路径都是一个 pathlib.Path 对象, 并且都是绝对路径. 该项目可以作为一个 Python 库供其他项目使用, 从而避免了重复定义目录结构的麻烦, 避免了手写路径时可能出现的错误, 一次发明, 到处使用.
注:
本项目支持 Python3.8+, 没有任何依赖.
点击这里 查看所有重要路径的定义.
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
Metadata
Release files for acore-paths 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acore_paths-0.4.1.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acore_paths-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / acore_paths-0.4.1.tar.gz
| Download URL | acore_paths-0.4.1.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f3056fc5e9deb8c9f713267f299a4e8f960efecba9fae2a0a188addef0c6e62
|
|
BLAKE2b-256 checksum How to use checksums |
246456b1a056286819b781cf067cae599865835b5d1cf8e6a3d646ffad77a095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.10
|
Release files / acore_paths-0.4.1-py3-none-any.whl
| Download URL | acore_paths-0.4.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a653007fc0df79580a3c7660292d8f484dac610134421c2c1fc1674ced9e333d
|
|
BLAKE2b-256 checksum How to use checksums |
887cd540b779e0d3f8f8c526efe0fa75da2bf6fe06f08c715f4a1236ba76d21c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.10
|