sprak


Namesprak JSON
Version 1.0.0.post1 PyPI version JSON
download
home_pageNone
SummaryA Python module for packing sprites into a texture atlas.
upload_time2024-04-11 03:29:12
maintainerNone
docs_urlNone
authorAndrew Kennedy
requires_python>=3.12
licenseNone
keywords aseprite game development pygame
VCS
bugtrack_url
requirements aseprite-reader pillow
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sprak

`sprak` is a Python module for packing sprites into a texture atlas.

## Usage

```python
from pathlib import Path

from sprak import SpritePacker


src = Path("/path/to/src/folder")
dst = Path("/path/to/dst/folder")

packer = SpritePacker()
packer.add_source_folder(src)
packer.pack(dst)

```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sprak",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "aseprite, game development, pygame",
    "author": "Andrew Kennedy",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/65/21/78a365d8c64b119461a5ba79f515105c7cee149008cced41797d7817003f/sprak-1.0.0.post1.tar.gz",
    "platform": null,
    "description": "# sprak\n\n`sprak` is a Python module for packing sprites into a texture atlas.\n\n## Usage\n\n```python\nfrom pathlib import Path\n\nfrom sprak import SpritePacker\n\n\nsrc = Path(\"/path/to/src/folder\")\ndst = Path(\"/path/to/dst/folder\")\n\npacker = SpritePacker()\npacker.add_source_folder(src)\npacker.pack(dst)\n\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python module for packing sprites into a texture atlas.",
    "version": "1.0.0.post1",
    "project_urls": {
        "Homepage": "https://github.com/kennedy0/sprak"
    },
    "split_keywords": [
        "aseprite",
        " game development",
        " pygame"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c542e63f034a083d8708371bd36310375f714bba657275b7459d94a5b05eb5f",
                "md5": "ecb6cec7ecdd00eebb3d57e85e6b373e",
                "sha256": "1948c966986e47ec5431afb6c30840d97df9a7a6b5ae7fa731481148784eff01"
            },
            "downloads": -1,
            "filename": "sprak-1.0.0.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ecb6cec7ecdd00eebb3d57e85e6b373e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 8667,
            "upload_time": "2024-04-11T03:29:11",
            "upload_time_iso_8601": "2024-04-11T03:29:11.489338Z",
            "url": "https://files.pythonhosted.org/packages/0c/54/2e63f034a083d8708371bd36310375f714bba657275b7459d94a5b05eb5f/sprak-1.0.0.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "652178a365d8c64b119461a5ba79f515105c7cee149008cced41797d7817003f",
                "md5": "ef1ccb748f9198f35e35fdb8b5fe5179",
                "sha256": "5af54dc564cba1bb76bd2241163a1249cc99636082c4d87d1d11df4eceec416d"
            },
            "downloads": -1,
            "filename": "sprak-1.0.0.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "ef1ccb748f9198f35e35fdb8b5fe5179",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 6510,
            "upload_time": "2024-04-11T03:29:12",
            "upload_time_iso_8601": "2024-04-11T03:29:12.413572Z",
            "url": "https://files.pythonhosted.org/packages/65/21/78a365d8c64b119461a5ba79f515105c7cee149008cced41797d7817003f/sprak-1.0.0.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 03:29:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kennedy0",
    "github_project": "sprak",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "aseprite-reader",
            "specs": [
                [
                    "~=",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "pillow",
            "specs": [
                [
                    "~=",
                    "10.3.0"
                ]
            ]
        }
    ],
    "lcname": "sprak"
}
        
Elapsed time: 0.26535s