{ "info": { "author": "Tobias Bengfort", "author_email": "tobias.bengfort@posteo.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Console :: Curses", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: User Interfaces" ], "description": "dirtywords - portable text interface framework\n\nSo I wanted to create a text interface and ended up creating a framework. \"Why\ndidn't you just stick with curses?\" I hear you ask. For two good reasons:\nFirst, curses is not very portable. It does not run on windows. And it can\nnot be installed with pip. The second reason of course is that I had fun with\nthis project.\n\nSo what is this if not curses? You can think of it as a wrapper around curses\nwith a different (though similar) API. But the interesting thing about it is\nthat it implements a tiny set of functions with curses and builds the rest from\nthere. And this tiny core can easily be implemented with other frameworks.\n\nThere are currently three implementations of the core: One based on `curses`_,\nanother one based on `pygame`_, and a minimal implementation without any\ndependencies outside of the standard library.\n\nExample\n-------\n\n::\n\n import sys\n from dirtywords import Screen, AttrString\n\n text = AttrString(u'Hello World!', fg_color=(0, 255, 0))\n screen = Screen(3, len(text) + 4)\n screen.border()\n screen.putstr(1, 2, text)\n screen.refresh()\n\n while True:\n ch = screen.getch()\n if ch == ord('q'):\n screen.cleanup()\n sys.exit()\n\n.. _curses: https://docs.python.org/2/library/curses.html\n.. _pygame: http://pygame.org", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xi/dirtywords", "keywords": null, "license": "GPLv2+", "maintainer": null, "maintainer_email": null, "name": "dirtywords", "package_url": "https://pypi.org/project/dirtywords/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dirtywords/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/xi/dirtywords" }, "release_url": "https://pypi.org/project/dirtywords/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "portable text interface framework", "version": "0.0.2" }, "last_serial": 1274724, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "986cf1a1515264ac2eee0d870af73e9d", "sha256": "7a2c8dfc4638a5d7ca90c071cc2970d6c9613e359b7f3bde43b74002949e546d" }, "downloads": -1, "filename": "dirtywords-0.0.0.tar.gz", "has_sig": false, "md5_digest": "986cf1a1515264ac2eee0d870af73e9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6279, "upload_time": "2014-10-07T19:56:02", "url": "https://files.pythonhosted.org/packages/83/63/a6a78692477c19bea65b12bd2342c4ab92cc7585bf62ba83d997df047cee/dirtywords-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "557e5f47245bbf8662667772cdff8317", "sha256": "63500a78175f9866b57a5e46196f16a20a995043fa7d3fe18f6a0707ed52025f" }, "downloads": -1, "filename": "dirtywords-0.0.1.tar.gz", "has_sig": false, "md5_digest": "557e5f47245bbf8662667772cdff8317", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7997, "upload_time": "2014-10-11T09:39:18", "url": "https://files.pythonhosted.org/packages/f9/ab/747e3476400ca3179cfe6678fd491f3defaba0fe0ec74f082e70a90c8985/dirtywords-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "05665de03cf29f1fee3f497e463086ee", "sha256": "a720c23e4df056395b367f5d13d6a713377577015b5d8c97404d32f5113fc49b" }, "downloads": -1, "filename": "dirtywords-0.0.2.tar.gz", "has_sig": false, "md5_digest": "05665de03cf29f1fee3f497e463086ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7746, "upload_time": "2014-10-18T08:57:56", "url": "https://files.pythonhosted.org/packages/82/8a/beb771d710335a124c7a9688b7d987a50f4efbb7cc742e23afcd85519268/dirtywords-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05665de03cf29f1fee3f497e463086ee", "sha256": "a720c23e4df056395b367f5d13d6a713377577015b5d8c97404d32f5113fc49b" }, "downloads": -1, "filename": "dirtywords-0.0.2.tar.gz", "has_sig": false, "md5_digest": "05665de03cf29f1fee3f497e463086ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7746, "upload_time": "2014-10-18T08:57:56", "url": "https://files.pythonhosted.org/packages/82/8a/beb771d710335a124c7a9688b7d987a50f4efbb7cc742e23afcd85519268/dirtywords-0.0.2.tar.gz" } ] }