bont


Namebont JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryA Python module for converting TrueType fonts to bitmap font texture atlas.
upload_time2024-04-11 03:35:28
maintainerNone
docs_urlNone
authorAndrew Kennedy
requires_python>=3.12
licenseNone
keywords game development pygame
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # bont

`bont` is a Python module for converting TrueType fonts to bitmap font texture atlas.

## Usage

```python
from pathlib import Path

from bont import generate_bitmap_font

src = Path("/path/to/font.ttf")
dst = Path("/path/to/dst/folder")

generate_bitmap_font(src, dst, size=16)

```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bont",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "game development, pygame",
    "author": "Andrew Kennedy",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4a/db/69753907f88ce45479e20f77e422322d5550cf738887dbbb04c14905f865/bont-1.0.0.tar.gz",
    "platform": null,
    "description": "# bont\n\n`bont` is a Python module for converting TrueType fonts to bitmap font texture atlas.\n\n## Usage\n\n```python\nfrom pathlib import Path\n\nfrom bont import generate_bitmap_font\n\nsrc = Path(\"/path/to/font.ttf\")\ndst = Path(\"/path/to/dst/folder\")\n\ngenerate_bitmap_font(src, dst, size=16)\n\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python module for converting TrueType fonts to bitmap font texture atlas.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/kennedy0/bont"
    },
    "split_keywords": [
        "game development",
        " pygame"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a54ac7a9eb192fa0f560d8283da2bc789d116c8baa744b65ba7bfae8a775b803",
                "md5": "372fa712dd3014e636c63f75f13acbf3",
                "sha256": "6bffa47deae06dacc5d11beb840523abdd9b64c2b9eadf6b7abd8b7c7ad4846c"
            },
            "downloads": -1,
            "filename": "bont-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "372fa712dd3014e636c63f75f13acbf3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 5254,
            "upload_time": "2024-04-11T03:35:26",
            "upload_time_iso_8601": "2024-04-11T03:35:26.994353Z",
            "url": "https://files.pythonhosted.org/packages/a5/4a/c7a9eb192fa0f560d8283da2bc789d116c8baa744b65ba7bfae8a775b803/bont-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4adb69753907f88ce45479e20f77e422322d5550cf738887dbbb04c14905f865",
                "md5": "37057ee03fec352422834c0149b6e0f1",
                "sha256": "f9f06a0be1f343459d913c6f1f27253a5da9381cc961dae411f6dc481a5cd598"
            },
            "downloads": -1,
            "filename": "bont-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "37057ee03fec352422834c0149b6e0f1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 3887,
            "upload_time": "2024-04-11T03:35:28",
            "upload_time_iso_8601": "2024-04-11T03:35:28.181299Z",
            "url": "https://files.pythonhosted.org/packages/4a/db/69753907f88ce45479e20f77e422322d5550cf738887dbbb04c14905f865/bont-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 03:35:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kennedy0",
    "github_project": "bont",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "bont"
}
        
Elapsed time: 4.10530s