py2hackCraft2


Namepy2hackCraft2 JSON
Version 1.0.33 PyPI version JSON
download
home_pagehttps://pypi.org/project/py2hackCraft2/
SummaryThese are APIs that connect to the hackCraft2 server from Python to manipulate pets.
upload_time2024-09-21 16:17:47
maintainerNone
docs_urlNone
authorMasafumi Terazono
requires_pythonNone
licenseMIT
keywords hackcraft2
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 概要

**py2hackCraft2**はhackCraft2にpythonから接続し命令をするためのライブラリです。  
hackCraft2がどういうものかについて、くわしくはhackCraft2のダウンロードページを参考していただくとして、  
簡単に説明をするとhackCraft2はMinecraft java editionのサーバープラグインです。  
このプラグインを導入すると、Minecraft上でプログラミングができるようになります。  
Minecraftについて何かについてくわしくはインターネットで検索をして調べてください。  
hackCraft2を導入されたMinecraftサーバーに**py2hackCraft2**をつかえばPythonから命令をすることができます。

次に、**py2hackCraft2**のインストール方法、それから利用方法を説明します。


## インストール方法

次のコマンドを実行して、プロジェクトをローカルマシンにセットアップします:

```bash
python3 -m pip install py2hackCraft2
```

## 利用方法

以下のコードはシンプルなコードで、ペットをその場でくるくる回らせるように命令するプログラムです。

```python
from py2hackCraft.modules import Player


player = Player("masafumi_t")
player.login("localhost", 25570)

hello = player.getEntity("hello")

for i in range(5):
    hello.forward()
    hello.turnRight()

player.logout()
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/py2hackCraft2/",
    "name": "py2hackCraft2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "hackCraft2",
    "author": "Masafumi Terazono",
    "author_email": "masafumi_t@0x48lab.com",
    "download_url": "https://files.pythonhosted.org/packages/fb/70/6099d638ac765131e1afb34bb688cde622489f239c1466365e497c5d6c95/py2hackcraft2-1.0.33.tar.gz",
    "platform": null,
    "description": "## \u6982\u8981\n\n**py2hackCraft2**\u306fhackCraft2\u306bpython\u304b\u3089\u63a5\u7d9a\u3057\u547d\u4ee4\u3092\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002  \nhackCraft2\u304c\u3069\u3046\u3044\u3046\u3082\u306e\u304b\u306b\u3064\u3044\u3066\u3001\u304f\u308f\u3057\u304f\u306fhackCraft2\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u3092\u53c2\u8003\u3057\u3066\u3044\u305f\u3060\u304f\u3068\u3057\u3066\u3001  \n\u7c21\u5358\u306b\u8aac\u660e\u3092\u3059\u308b\u3068hackCraft2\u306fMinecraft java edition\u306e\u30b5\u30fc\u30d0\u30fc\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002  \n\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\u3059\u308b\u3068\u3001Minecraft\u4e0a\u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002  \nMinecraft\u306b\u3064\u3044\u3066\u4f55\u304b\u306b\u3064\u3044\u3066\u304f\u308f\u3057\u304f\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u691c\u7d22\u3092\u3057\u3066\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002  \nhackCraft2\u3092\u5c0e\u5165\u3055\u308c\u305fMinecraft\u30b5\u30fc\u30d0\u30fc\u306b**py2hackCraft2**\u3092\u3064\u304b\u3048\u3070Python\u304b\u3089\u547d\u4ee4\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n\n\u6b21\u306b\u3001**py2hackCraft2**\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3001\u305d\u308c\u304b\u3089\u5229\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\n\n\n## \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\n\n\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\uff1a\n\n```bash\npython3 -m pip install py2hackCraft2\n```\n\n## \u5229\u7528\u65b9\u6cd5\n\n\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u3001\u30da\u30c3\u30c8\u3092\u305d\u306e\u5834\u3067\u304f\u308b\u304f\u308b\u56de\u3089\u305b\u308b\u3088\u3046\u306b\u547d\u4ee4\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\n\n```python\nfrom py2hackCraft.modules import Player\n\n\nplayer = Player(\"masafumi_t\")\nplayer.login(\"localhost\", 25570)\n\nhello = player.getEntity(\"hello\")\n\nfor i in range(5):\n    hello.forward()\n    hello.turnRight()\n\nplayer.logout()\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "These are APIs that connect to the hackCraft2 server from Python to manipulate pets.",
    "version": "1.0.33",
    "project_urls": {
        "Homepage": "https://pypi.org/project/py2hackCraft2/"
    },
    "split_keywords": [
        "hackcraft2"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49219870632a5757ffcc68de517b50dd2004dcfad8ece434452d045b1f3827cd",
                "md5": "9f6f292065aecba2245b7e45a2e75b52",
                "sha256": "86111c8073790f87d9a352ffed9179e1335711ca8be263d0b7191b121f5714d5"
            },
            "downloads": -1,
            "filename": "py2hackCraft2-1.0.33-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f6f292065aecba2245b7e45a2e75b52",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 23816,
            "upload_time": "2024-09-21T16:17:45",
            "upload_time_iso_8601": "2024-09-21T16:17:45.749228Z",
            "url": "https://files.pythonhosted.org/packages/49/21/9870632a5757ffcc68de517b50dd2004dcfad8ece434452d045b1f3827cd/py2hackCraft2-1.0.33-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb706099d638ac765131e1afb34bb688cde622489f239c1466365e497c5d6c95",
                "md5": "425383fe780f867fa85f271069dacd1e",
                "sha256": "b61ed342a46c082686d5070266c60abaa5fb5807fac2d22f3de75e8819ddad1d"
            },
            "downloads": -1,
            "filename": "py2hackcraft2-1.0.33.tar.gz",
            "has_sig": false,
            "md5_digest": "425383fe780f867fa85f271069dacd1e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 25083,
            "upload_time": "2024-09-21T16:17:47",
            "upload_time_iso_8601": "2024-09-21T16:17:47.423514Z",
            "url": "https://files.pythonhosted.org/packages/fb/70/6099d638ac765131e1afb34bb688cde622489f239c1466365e497c5d6c95/py2hackcraft2-1.0.33.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-21 16:17:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "py2hackcraft2"
}
        
Elapsed time: 0.29684s