py2hackCraft2 1.2.1__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/PKG-INFO +2 -2
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/README.md +1 -1
- py2hackcraft2-1.2.2/py2hackCraft2/__init__.py +19 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft2.egg-info/PKG-INFO +2 -2
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft2.egg-info/SOURCES.txt +1 -1
- py2hackcraft2-1.2.2/py2hackCraft2.egg-info/top_level.txt +2 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/setup.py +2 -2
- py2hackcraft2-1.2.1/py2hackCraft2.egg-info/top_level.txt +0 -2
- py2hackcraft2-1.2.1/tests/__init__.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft/__init__.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft/material.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft/modules.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft2.egg-info/dependency_links.txt +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/py2hackCraft2.egg-info/requires.txt +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/pyproject.toml +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/setup.cfg +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/tests/test_backward_compat.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/tests/test_connection_timeout.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/tests/test_connection_url.py +0 -0
- {py2hackcraft2-1.2.1 → py2hackcraft2-1.2.2}/tests/test_secure_login.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py2hackCraft2
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Python client library for hackCraft2
|
|
5
5
|
Home-page: https://github.com/0x48lab/hackCraft2-python
|
|
6
6
|
Author: masafumi_t
|
|
@@ -52,7 +52,7 @@ pip install py2hackCraft2
|
|
|
52
52
|
## 使用方法
|
|
53
53
|
|
|
54
54
|
```python
|
|
55
|
-
from
|
|
55
|
+
from py2hackCraft.modules import Player, Volume, LocationFactory
|
|
56
56
|
|
|
57
57
|
# プレイヤーの接続
|
|
58
58
|
player = Player("your_name")
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""py2hackCraft2 は py2hackCraft のエイリアスパッケージ。
|
|
2
|
+
|
|
3
|
+
配布パッケージ名(pip install 名)が ``py2hackCraft2`` のため、
|
|
4
|
+
``import py2hackCraft2`` や ``from py2hackCraft2.modules import ...`` を
|
|
5
|
+
期待する利用者が多い。実体は :mod:`py2hackCraft` パッケージであり、
|
|
6
|
+
ここではそのサブモジュールを ``py2hackCraft2`` 名前空間へ転送して、
|
|
7
|
+
pip 名と import 名のどちらでも動作するようにする。
|
|
8
|
+
"""
|
|
9
|
+
import sys as _sys
|
|
10
|
+
|
|
11
|
+
import py2hackCraft.modules as _modules
|
|
12
|
+
import py2hackCraft.material as _material
|
|
13
|
+
|
|
14
|
+
# from py2hackCraft2.modules import ... / from py2hackCraft2.material import ... を可能にする
|
|
15
|
+
_sys.modules[__name__ + ".modules"] = _modules
|
|
16
|
+
_sys.modules[__name__ + ".material"] = _material
|
|
17
|
+
|
|
18
|
+
# import py2hackCraft2; py2hackCraft2.Player のようなトップレベル参照にも対応
|
|
19
|
+
from py2hackCraft.modules import * # noqa: F401,F403,E402
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py2hackCraft2
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: Python client library for hackCraft2
|
|
5
5
|
Home-page: https://github.com/0x48lab/hackCraft2-python
|
|
6
6
|
Author: masafumi_t
|
|
@@ -52,7 +52,7 @@ pip install py2hackCraft2
|
|
|
52
52
|
## 使用方法
|
|
53
53
|
|
|
54
54
|
```python
|
|
55
|
-
from
|
|
55
|
+
from py2hackCraft.modules import Player, Volume, LocationFactory
|
|
56
56
|
|
|
57
57
|
# プレイヤーの接続
|
|
58
58
|
player = Player("your_name")
|
|
@@ -4,12 +4,12 @@ setup.py
|
|
|
4
4
|
py2hackCraft/__init__.py
|
|
5
5
|
py2hackCraft/material.py
|
|
6
6
|
py2hackCraft/modules.py
|
|
7
|
+
py2hackCraft2/__init__.py
|
|
7
8
|
py2hackCraft2.egg-info/PKG-INFO
|
|
8
9
|
py2hackCraft2.egg-info/SOURCES.txt
|
|
9
10
|
py2hackCraft2.egg-info/dependency_links.txt
|
|
10
11
|
py2hackCraft2.egg-info/requires.txt
|
|
11
12
|
py2hackCraft2.egg-info/top_level.txt
|
|
12
|
-
tests/__init__.py
|
|
13
13
|
tests/test_backward_compat.py
|
|
14
14
|
tests/test_connection_timeout.py
|
|
15
15
|
tests/test_connection_url.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|