minebannerlib


Nameminebannerlib JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/saddydead1/minebannerlib
SummaryLib for create minecraft banner image
upload_time2024-04-22 18:54:50
maintainerNone
docs_urlNone
authorsaddydead1
requires_python>=3.12
licenseNone
keywords minecraft banner python pil
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MineBannerLib

Python library for drawing banners.

## How it works?

Draws a banner image from the received nbts. The flag will be saved to the _**buildbanner**_ root folder.

## Installation

```
pip install minebannerlib
```

or

```
python -m pip install minebannerlib
```

## Create a banner

To do this, call the `create_banner()` function, to which you need to pass the _**NBTS**_, _**name of the flag**_ and the _**base color**_

## Example

```python
from MineBannerLib import CreateBanner

banner = CreateBanner

nbts = '{BlockEntityTag:{Patterns:[{Color:14,Pattern:"cre"},{Color:4,Pattern:"sku"}]}}'
color_base = 15
name = 'test'

def main():
  banner.create_banner(name, nbts, color_base)

if __name__ == '__main__':
  main()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/saddydead1/minebannerlib",
    "name": "minebannerlib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "minecraft banner python pil",
    "author": "saddydead1",
    "author_email": "saddydead1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/14/65/bea5ae9b2b94ab666cc6391e708d898cf226f2efb3f5e2028d96ed8b2936/minebannerlib-0.0.3.tar.gz",
    "platform": null,
    "description": "# MineBannerLib\n\nPython library for drawing banners.\n\n## How it works?\n\nDraws a banner image from the received nbts. The flag will be saved to the _**buildbanner**_ root folder.\n\n## Installation\n\n```\npip install minebannerlib\n```\n\nor\n\n```\npython -m pip install minebannerlib\n```\n\n## Create a banner\n\nTo do this, call the `create_banner()` function, to which you need to pass the _**NBTS**_, _**name of the flag**_ and the _**base color**_\n\n## Example\n\n```python\nfrom MineBannerLib import CreateBanner\n\nbanner = CreateBanner\n\nnbts = '{BlockEntityTag:{Patterns:[{Color:14,Pattern:\"cre\"},{Color:4,Pattern:\"sku\"}]}}'\ncolor_base = 15\nname = 'test'\n\ndef main():\n  banner.create_banner(name, nbts, color_base)\n\nif __name__ == '__main__':\n  main()\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Lib for create minecraft banner image",
    "version": "0.0.3",
    "project_urls": {
        "GitHub": "https://github.com/saddydead1/minebannerlib",
        "Homepage": "https://github.com/saddydead1/minebannerlib"
    },
    "split_keywords": [
        "minecraft",
        "banner",
        "python",
        "pil"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5f77222247a8b49c53b3b3314ca29a5d8572524a0c056f7e556b2a1bd0cd0c33",
                "md5": "444aeb8e8a1e754025e3c347fa58d19d",
                "sha256": "1a4fdbb2d761d47da0c08d06cb101a041095dad31b020b8f082b3a16fd335343"
            },
            "downloads": -1,
            "filename": "minebannerlib-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "444aeb8e8a1e754025e3c347fa58d19d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 4495,
            "upload_time": "2024-04-22T18:54:49",
            "upload_time_iso_8601": "2024-04-22T18:54:49.131709Z",
            "url": "https://files.pythonhosted.org/packages/5f/77/222247a8b49c53b3b3314ca29a5d8572524a0c056f7e556b2a1bd0cd0c33/minebannerlib-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1465bea5ae9b2b94ab666cc6391e708d898cf226f2efb3f5e2028d96ed8b2936",
                "md5": "da1e3697d884a86d52176e1381a47bb3",
                "sha256": "acc3b9d360718a91ee457641aef5ef0e8791a469383a63ddf4df32715995aac7"
            },
            "downloads": -1,
            "filename": "minebannerlib-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "da1e3697d884a86d52176e1381a47bb3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 3283,
            "upload_time": "2024-04-22T18:54:50",
            "upload_time_iso_8601": "2024-04-22T18:54:50.072681Z",
            "url": "https://files.pythonhosted.org/packages/14/65/bea5ae9b2b94ab666cc6391e708d898cf226f2efb3f5e2028d96ed8b2936/minebannerlib-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 18:54:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "saddydead1",
    "github_project": "minebannerlib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "minebannerlib"
}
        
Elapsed time: 0.27257s