getmwmap: 为MW锦标赛提高快速随机抽取地图的拓展
getmwmap 是一个用于MW锦标赛的Python包,旨在提供一种快速随机抽取地图的方式。它可以从地图列表中获取指定数量的随机地图,并支持限制特定地图的使用。
安装
您可以使用以下命令通过pip安装 getmwmap 包:
pip install getmwmap
使用方法
导入 getmwmap 函数并调用它,如下所示:
from getmwmap import getMap
# 获取4个随机地图,限制地图 "未开发岩石区" 和 "失落之城"
random_maps = getMap(4, ["未开发岩石区", "失落之城"])
print("随机地图:", random_maps)
许可证
这个项目在 AGPL 3.0 许可证下发布。请查阅许可证文档以了解更多详情。
问题和反馈
如果您遇到任何问题或者有任何反馈,请在QQ频道联系MWCTTO技术人员
Metadata
Release files for getmwmap 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| getmwmap-1.0.2.tar.gz | 14.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getmwmap-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.8 kB
Release files / getmwmap-1.0.2.tar.gz
| Download URL | getmwmap-1.0.2.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8404121757798906abec1add74e9784819932666e21be45442da592d2691a58a
|
|
BLAKE2b-256 checksum How to use checksums |
7dc04bc1af9700533270bd1456bace910c1e178fd28c1f41f7443fb08497f14f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.0
|
Release files / getmwmap-1.0.2-py3-none-any.whl
| Download URL | getmwmap-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84d2bc15348a65a24d79a6284e819ddb376f8c2e893dea5d9b94a6f03d015caa
|
|
BLAKE2b-256 checksum How to use checksums |
cf769e554402f1e273061353542d2df85144a54164401e0d985671b14c9e16bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.0
|