wrecked


Namewrecked JSON
Version 1.0.21 PyPI version JSON
download
home_pagehttps://burnsomni.net/git/wrecked
SummaryBindings for the wrecked terminal graphics library
upload_time2024-12-22 05:26:47
maintainerNone
docs_urlNone
authorQuintin Smith
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # wrecked_bindings
Python bindings for the wrecked terminal interface library.<br/>
[![PyPI - Downloads](https://img.shields.io/pypi/dw/wrecked?style=flat-square)](https://pypi.org/project/wrecked/)
[![PyPI](https://img.shields.io/pypi/v/wrecked?style=flat-square)](https://pypi.org/project/wrecked/)
[![PyPI - License](https://img.shields.io/pypi/l/wrecked?style=flat-square)](https://burnsomni.net/project/wrecked_bindings/?branch=master&path=LICENSE)

## Installation
Can be installed through pip
```
pip install wrecked
```

## Usage
```python
import wrecked

# Instantiates the environment. Turns off input echo.
top_rect = wrecked.init()

# create a rectangle to put text in.
new_rect = top_rect.new_rect(width=16, height=5)

# Add a string to the center of the rectangle
new_rect.set_string(2, 3, "Hello World!")

# Make that rectangle blue
new_rect.set_bg_color(wrecked.BLUE)

# And finally underline the text of the rectangle
new_rect.set_underline_flag()

# Draw the environment
top_rect.draw()

# take down the environment, and turn echo back on.
wrecked.kill()
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://burnsomni.net/git/wrecked",
    "name": "wrecked",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Quintin Smith",
    "author_email": "smith.quintin@protonmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d6/e7/1547655ca47fab5e91519e884a16d77865fb17e715b6e03ef685cb64b403/wrecked-1.0.21.tar.gz",
    "platform": null,
    "description": "# wrecked_bindings\nPython bindings for the wrecked terminal interface library.<br/>\n[![PyPI - Downloads](https://img.shields.io/pypi/dw/wrecked?style=flat-square)](https://pypi.org/project/wrecked/)\n[![PyPI](https://img.shields.io/pypi/v/wrecked?style=flat-square)](https://pypi.org/project/wrecked/)\n[![PyPI - License](https://img.shields.io/pypi/l/wrecked?style=flat-square)](https://burnsomni.net/project/wrecked_bindings/?branch=master&path=LICENSE)\n\n## Installation\nCan be installed through pip\n```\npip install wrecked\n```\n\n## Usage\n```python\nimport wrecked\n\n# Instantiates the environment. Turns off input echo.\ntop_rect = wrecked.init()\n\n# create a rectangle to put text in.\nnew_rect = top_rect.new_rect(width=16, height=5)\n\n# Add a string to the center of the rectangle\nnew_rect.set_string(2, 3, \"Hello World!\")\n\n# Make that rectangle blue\nnew_rect.set_bg_color(wrecked.BLUE)\n\n# And finally underline the text of the rectangle\nnew_rect.set_underline_flag()\n\n# Draw the environment\ntop_rect.draw()\n\n# take down the environment, and turn echo back on.\nwrecked.kill()\n```\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Bindings for the wrecked terminal graphics library",
    "version": "1.0.21",
    "project_urls": {
        "Homepage": "https://burnsomni.net/git/wrecked"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d6e71547655ca47fab5e91519e884a16d77865fb17e715b6e03ef685cb64b403",
                "md5": "2a4481986325a9db00c0b344bc7f92fa",
                "sha256": "33f930dd46fec5fc05c6688a09c9299d35854075a6be2817827154afca0d6727"
            },
            "downloads": -1,
            "filename": "wrecked-1.0.21.tar.gz",
            "has_sig": false,
            "md5_digest": "2a4481986325a9db00c0b344bc7f92fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 1049202,
            "upload_time": "2024-12-22T05:26:47",
            "upload_time_iso_8601": "2024-12-22T05:26:47.541843Z",
            "url": "https://files.pythonhosted.org/packages/d6/e7/1547655ca47fab5e91519e884a16d77865fb17e715b6e03ef685cb64b403/wrecked-1.0.21.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-22 05:26:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wrecked"
}
        
Elapsed time: 0.47378s