{ "info": { "author": "Stefano Pigozzi", "author_email": "ste.pigozzi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU Affero General Public License v3", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Topic :: Games/Entertainment", "Topic :: Multimedia :: Graphics", "Typing :: Typed" ], "description": "# ![](https://gamepedia.cursecdn.com/terraria_gamepedia/8/82/Flying_Snake.png?version=2b0351f579d721166af80a12d2c2e325) `flyingsnake` [![](https://img.shields.io/pypi/v/flyingsnake)](https://pypi.org/project/flyingsnake/)\n\nGenerate Terraria world maps with this easy to use command line utility!\n\n![A world map](https://i.imgur.com/HtNEIKw.png)\n\n## Requirements\n\nTo use `flyingsnake`, you need [Python 3.7 or higher](https://www.python.org/downloads/) installed on your machine.\n\n## Installing\n\n`flyingsnake` is available on PyPI, so you can download it through `pip`. \n\nJust enter this in your terminal:\n\n```\npython3.7 -m pip install flyingsnake\n```\n\n## Usage\n\nTo create a basic world map named `Output.png` from the `Small_Example.wld` file present in your current working directory, run in your terminal:\n\n```\nflyingsnake Small_Example.wld Output.png\n```\n\n### Layers\n\nThe world map is generated by merging together multiple layers that can be enabled/disabled through flags.\n\nIn order, those are:\n- Background\n- Walls\n- Liquids\n- Blocks\n- Wires\n\n#### Background\n\nThe background layer is made by coloring the Overworld, the Underground and the Caverns their respective background color.\n\nIt can be selected exclusively with the `--background` flag, or turned off with the `--no-background` flag.\n\n![flyingsnake Small_Example.wld Output.png --background](https://i.imgur.com/69qRLZX.png)\n\n#### Walls\n\nThe walls layer contains the colors of the walls present in the world.\n\nIt can be selected exclusively with the `--walls` flag, or turned off with the `--no-walls` flag.\n\nIf the walls are painted, they will be colored with the paint color.\nYou can turn off paint colors with the `--no-paints` flag.\n\n![flyingsnake Small_Example.wld Output.png --walls](https://i.imgur.com/Grkq5PQ.png)\n\n#### Liquids\n\nThe liquids layer contains the colors of the liquids present in the world (water, lava, honey...)\n\nIt can be selected exclusively with the `--liquids` flag, or turned off with the `--no-liquids` flag.\n\n![flyingsnake Small_Example.wld Output.png --liquids](https://i.imgur.com/Pifjb4D.png)\n\n#### Blocks\n\nThe blocks layer contains the colors of the blocks present in the world.\n\nIt can be selected exclusively with the `--blocks` flag, or turned off with the `--no-blocks` flag.\n\nIf the blocks are painted, they will be colored with the paint color.\nYou can turn off paint colors with the `--no-paints` flag.\n\n![flyingsnake Small_Example.wld Output.png --blocks](https://i.imgur.com/E05kgOA.png)\n\n#### Wires\n\nThe wires layer is a semi-transparent overlay of the wires present in the world.\n\nIt can be selected exclusively with the `--wires` flag, or turned off with the `--no-wires` flag.\n\n![flyingsnake Small_Example.wld Output.png --wires](https://i.imgur.com/XDLRCAE.png)\n\n### Custom colors\n\nDifferent colors can be specified by passing the `--colors file.json` option to the command.\n\nYou can see an example color file [here](https://github.com/Steffo99/flyingsnake/tree/master/flyingsnake/example_colors.json); the colors are in RGBA format, and go from 0 to 255.\n\nIf no custom colors are passed, the script will use the default [TEdit](https://github.com/TEdit/Terraria-Map-Editor) colors (defined in settings.xml).\n\n## License\n\n`flyingsnake` is licensed under the [AGPL 3.0](/LICENSE.txt).\nThat means you have to publish under the same license the source code of any program you create that uses `flyingsnake`.\n\n## See also\n\nIf you are interested in `flyingsnake`, you might be interested in these other programs too:\n\n- [lihzahrd](https://github.com/Steffo99/lihzahrd), the package used to make this generator\n- [TEdit](https://github.com/TEdit/Terraria-Map-Editor), the Terraria map editor from which this package gets the default colors\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Steffo99/flyingsnake", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "flyingsnake", "package_url": "https://pypi.org/project/flyingsnake/", "platform": "", "project_url": "https://pypi.org/project/flyingsnake/", "project_urls": { "Homepage": "https://github.com/Steffo99/flyingsnake" }, "release_url": "https://pypi.org/project/flyingsnake/1.0/", "requires_dist": [ "click (>=7.0)", "lihzahrd (>=1.0b1)", "Pillow (>=6.1.0)" ], "requires_python": ">=3.7", "summary": "A Terraria world map renderer", "version": "1.0" }, "last_serial": 5743155, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "dde1c0bf6571f006d4d5a3cc256495ae", "sha256": "d52af3ead3d21875ea59e3351986864bfcdd2d333b3f2627026f91ea0512d5a4" }, "downloads": -1, "filename": "flyingsnake-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dde1c0bf6571f006d4d5a3cc256495ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 23221, "upload_time": "2019-08-28T14:58:36", "url": "https://files.pythonhosted.org/packages/3b/1c/16bade6d473645db6d9eff1f8de6949ebcd30c609073ef3fba8ac3275f3e/flyingsnake-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3aa4cfc0a3edbda313cc1c444aff6cd7", "sha256": "64aca91ad987940af333cc92e39e9dba1eb494dc5b0054f01513b17fe16585a0" }, "downloads": -1, "filename": "flyingsnake-1.0.tar.gz", "has_sig": false, "md5_digest": "3aa4cfc0a3edbda313cc1c444aff6cd7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 12495, "upload_time": "2019-08-28T14:58:37", "url": "https://files.pythonhosted.org/packages/eb/79/27244baa99789f5cdac0c5197679611574beb93f0d8d8e58e7a256aac379/flyingsnake-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "a034160f287c770c83ed007623bc0eca", "sha256": "5ef0a1ac562d2dee391240a0e914b10d0d5639b1246f0c9a61f656227c51cfb3" }, "downloads": -1, "filename": "flyingsnake-1.0b1-py3-none-any.whl", "has_sig": false, "md5_digest": "a034160f287c770c83ed007623bc0eca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 23007, "upload_time": "2019-08-19T18:53:41", "url": "https://files.pythonhosted.org/packages/6b/e1/bd9a6046536035a9dab44a2b6fa3f228dde491d0eb96da1f1a345389defb/flyingsnake-1.0b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "305b2b70c43d99ae388adc7f402914ec", "sha256": "b59b3965d0528b0570238e3758a4b06640a65b97d7a120a704d5541262e21510" }, "downloads": -1, "filename": "flyingsnake-1.0b1.tar.gz", "has_sig": false, "md5_digest": "305b2b70c43d99ae388adc7f402914ec", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 12023, "upload_time": "2019-08-19T18:53:43", "url": "https://files.pythonhosted.org/packages/07/26/227355f3d7dafaee1c45629096dab59e05551685a9dd27e9ff60c41879aa/flyingsnake-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "64244665f21153936803c03a1dfe2230", "sha256": "373ba71d23721f3840adf7ab20da10c21bae2b5a408246e63eb1bb25d3a46591" }, "downloads": -1, "filename": "flyingsnake-1.0b2-py3-none-any.whl", "has_sig": false, "md5_digest": "64244665f21153936803c03a1dfe2230", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 23002, "upload_time": "2019-08-20T16:13:21", "url": "https://files.pythonhosted.org/packages/f4/80/9e935393047c11a09bae4c2a14f40204eaa690a96073542ab2f26346291d/flyingsnake-1.0b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "50fb9d19294496b2e9df6ff0697c9250", "sha256": "40cf552f069d7023e220fc93c25418ee02a2d91083187ac170614cd9ecdbc51a" }, "downloads": -1, "filename": "flyingsnake-1.0b2.tar.gz", "has_sig": false, "md5_digest": "50fb9d19294496b2e9df6ff0697c9250", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 12015, "upload_time": "2019-08-20T16:13:23", "url": "https://files.pythonhosted.org/packages/7a/a7/132795cf5307965df5b1b93591d1a7e790fefbfdc7c6a5758a81b8ccdcef/flyingsnake-1.0b2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dde1c0bf6571f006d4d5a3cc256495ae", "sha256": "d52af3ead3d21875ea59e3351986864bfcdd2d333b3f2627026f91ea0512d5a4" }, "downloads": -1, "filename": "flyingsnake-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dde1c0bf6571f006d4d5a3cc256495ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 23221, "upload_time": "2019-08-28T14:58:36", "url": "https://files.pythonhosted.org/packages/3b/1c/16bade6d473645db6d9eff1f8de6949ebcd30c609073ef3fba8ac3275f3e/flyingsnake-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3aa4cfc0a3edbda313cc1c444aff6cd7", "sha256": "64aca91ad987940af333cc92e39e9dba1eb494dc5b0054f01513b17fe16585a0" }, "downloads": -1, "filename": "flyingsnake-1.0.tar.gz", "has_sig": false, "md5_digest": "3aa4cfc0a3edbda313cc1c444aff6cd7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 12495, "upload_time": "2019-08-28T14:58:37", "url": "https://files.pythonhosted.org/packages/eb/79/27244baa99789f5cdac0c5197679611574beb93f0d8d8e58e7a256aac379/flyingsnake-1.0.tar.gz" } ] }