larzuk


Namelarzuk JSON
Version 1.2.0 PyPI version JSON
download
home_pagehttps://github.com/he-yaowen/larzuk
SummaryA command-line tool to help modding-as-code for game Diablo II: Resurrected.
upload_time2023-03-28 14:50:02
maintainer
docs_urlNone
authorHE Yaowen
requires_python>=3.8,<4.0
licenseGPL-3.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # larzuk

A command-line tool to help modding-as-code for game Diablo II: Resurrected.

## How to Use

1. Install this command-line tool via `pip`:

    ```shell
    $ pip install larzuk
    ```
2. Write migration scripts in a directory (e.g. `migrations`):

    ```python
    # Relative path of .txt file you want to modify.
    target = 'global/excel/armor.txt'

    # Entry function of migration
    def migrate(txt_file):
        for row in txt_file:
            row['minac'] = row['maxac']
    ```

3. Run `larzuk` command to do migrations:

    ```shell
    $ larzuk up --target-dir /path/to/d2r/data
    ```

4. Check file `armor.txt` in data directory, values in column `minac` equal to `maxac`.

## Example

Check [https://github.com/he-yaowen/Lablo](https://github.com/he-yaowen/Lablo)

## License

Copyright (C) 2023 HE Yaowen <he.yaowen@hotmail.com>

The GNU General Public License (GPL) version 3, see [LICENSE](./LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/he-yaowen/larzuk",
    "name": "larzuk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "HE Yaowen",
    "author_email": "he.yaowen@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/bf/6b99d0fb83e1abf21a8d29b9853665d66a02eca8c96452cb32455eba9bb5/larzuk-1.2.0.tar.gz",
    "platform": null,
    "description": "# larzuk\n\nA command-line tool to help modding-as-code for game Diablo II: Resurrected.\n\n## How to Use\n\n1. Install this command-line tool via `pip`:\n\n    ```shell\n    $ pip install larzuk\n    ```\n2. Write migration scripts in a directory (e.g. `migrations`):\n\n    ```python\n    # Relative path of .txt file you want to modify.\n    target = 'global/excel/armor.txt'\n\n    # Entry function of migration\n    def migrate(txt_file):\n        for row in txt_file:\n            row['minac'] = row['maxac']\n    ```\n\n3. Run `larzuk` command to do migrations:\n\n    ```shell\n    $ larzuk up --target-dir /path/to/d2r/data\n    ```\n\n4. Check file `armor.txt` in data directory, values in column `minac` equal to `maxac`.\n\n## Example\n\nCheck [https://github.com/he-yaowen/Lablo](https://github.com/he-yaowen/Lablo)\n\n## License\n\nCopyright (C) 2023 HE Yaowen <he.yaowen@hotmail.com>\n\nThe GNU General Public License (GPL) version 3, see [LICENSE](./LICENSE).\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "A command-line tool to help modding-as-code for game Diablo II: Resurrected.",
    "version": "1.2.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b4381f48c18c247eec18c1d9f96831e26a09d4f6192e9a3511c0aa760c8cb19",
                "md5": "7068eece3b2b828737d0dc032351b639",
                "sha256": "b81b885672cd0746214a530480d302e654ab7c9a9e8edcee05c35d5b21de9622"
            },
            "downloads": -1,
            "filename": "larzuk-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7068eece3b2b828737d0dc032351b639",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 17421,
            "upload_time": "2023-03-28T14:49:59",
            "upload_time_iso_8601": "2023-03-28T14:49:59.441105Z",
            "url": "https://files.pythonhosted.org/packages/3b/43/81f48c18c247eec18c1d9f96831e26a09d4f6192e9a3511c0aa760c8cb19/larzuk-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6bf6b99d0fb83e1abf21a8d29b9853665d66a02eca8c96452cb32455eba9bb5",
                "md5": "1aba13e9cc5dd05d66ffd112258a9d7b",
                "sha256": "e38a53c2dbf2a8da4f2f08a116f8028ca7bc373958a00835c4af1cfde55d76b5"
            },
            "downloads": -1,
            "filename": "larzuk-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1aba13e9cc5dd05d66ffd112258a9d7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 15548,
            "upload_time": "2023-03-28T14:50:02",
            "upload_time_iso_8601": "2023-03-28T14:50:02.158339Z",
            "url": "https://files.pythonhosted.org/packages/a6/bf/6b99d0fb83e1abf21a8d29b9853665d66a02eca8c96452cb32455eba9bb5/larzuk-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-28 14:50:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "he-yaowen",
    "github_project": "larzuk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "larzuk"
}
        
Elapsed time: 0.06063s