{ "info": { "author": "Julian-O", "author_email": "pygamesilent@somethinkodd.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: pygame" ], "description": "# pygamesilent\n\n## Background\n\nThere is a mature open-source library for building multimedia applications, \nlike games, called [PyGame](https://www.pygame.org).\n\nUnfortunately, in an effort to recuit more developers, the maintainers added\nsome output to the library around version 1.9.4, so it now prints text similar\nto this upon import:\n\n> pygame 1.9.6 \n> Hello from the pygame community. https://www.pygame.org/contribute.html\n\nThis move has been [confusing](https://stackoverflow.com/questions/51464455)\n (especially for user-facing command-line tools) and\n[controversial](https://www.reddit.com/r/pygame/comments/9j86kq/pygame_infects_stdout_in_194/)\nbut [complaints about the behaviour have been dismissed](https://github.com/pygame/pygame/issues/542).\n\n## Description\n\nThis package provides a shim around PyGame that turns off the unwanted printing \nbehaviour with an environment variable. It is designed to be a simple drop in\nreplacement wherever you would use PyGame.\n\nThere are [manual alternatives](https://stackoverflow.com/questions/51464455)\nwhich have the benefit of reducing an external dependency, but this is simpler:\n\n1. Install both `pygame` and `pygamesilent` into your project.\n2. Replace any instances of these types of statements:\n * `import pygame` → `import pygamesilent as pygame`\n * `import pygame as pg` → `import pygamesilent as pg`\n * `import xxx from pygame` → `import xxx from pygamesilent`\n\n## Versions Supported\nThis is expected to be cross platform. It has been tested on Windows 10 and\nLinux.\n\nIt is tested on Python 2.7, 3.5, 3.6 and 3.7.\n\n## Note\n\nThis **has not been authorised by the PyGame team**. The author is not associated with\nthem.\n\nYou will still need to install and use PyGame, their documentation and \nfollow their licenses. \n\nYou might\neven like to \n[contribute to their project](https://www.pygame.org/contribute.html)! Perhaps\nyou can then politely convince them not to put spam in stdio? \n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Julian-O/pygamesilent", "keywords": "pygame shim", "license": "", "maintainer": "", "maintainer_email": "", "name": "pygamesilent", "package_url": "https://pypi.org/project/pygamesilent/", "platform": "", "project_url": "https://pypi.org/project/pygamesilent/", "project_urls": { "Homepage": "https://github.com/Julian-O/pygamesilent", "PyGame Info": "https://pygame.org", "Source": "https://github.com/Julian-O/pygamesilent/" }, "release_url": "https://pypi.org/project/pygamesilent/1.0.0/", "requires_dist": [ "pygame", "check-manifest ; extra == 'dev'", "pytest ; extra == 'test'", "pytest-cov ; extra == 'test'" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "summary": "Shim around PyGame to hide \"Hello\" message on import.", "version": "1.0.0" }, "last_serial": 5543855, "releases": { "0.1.6": [ { "comment_text": "", "digests": { "md5": "011e98778d15d8b498eef72f9f77a195", "sha256": "8e8c6ae564f58d74368291f9b2d1408cd6e9cda7814deb78edb2abff8ebf6ae5" }, "downloads": -1, "filename": "pygamesilent-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "011e98778d15d8b498eef72f9f77a195", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 3869, "upload_time": "2019-07-16T14:18:59", "url": "https://files.pythonhosted.org/packages/63/3f/296cf092c4abdcceebc343ea088d7ed72ee6ae33760f4f298a06652c2d4e/pygamesilent-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eaa7cc12faded0ea8cc8210cd3dda5f9", "sha256": "90f089b70583c6c0fccdefd9aabd8e34841c304c3d4fa76826f3b693b4292330" }, "downloads": -1, "filename": "pygamesilent-0.1.6.tar.gz", "has_sig": false, "md5_digest": "eaa7cc12faded0ea8cc8210cd3dda5f9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 7297, "upload_time": "2019-07-16T14:19:01", "url": "https://files.pythonhosted.org/packages/17/16/131c8629abb24e394b9b9b066a9d1dd305102bf10c38b3c1d6e854c527e5/pygamesilent-0.1.6.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "a5464d3a6233dca5e1f41fe40ea2a13c", "sha256": "08febd05e092a1cd82c14b570944f94e2e5126015c25975792163263882c792a" }, "downloads": -1, "filename": "pygamesilent-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5464d3a6233dca5e1f41fe40ea2a13c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 3872, "upload_time": "2019-07-17T03:37:52", "url": "https://files.pythonhosted.org/packages/f4/fd/6439e8281c418ffae1e36d2a8883e8973397f94c23ab0fc368a2d141bb3c/pygamesilent-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab30e5995d8f43a988a5d85c363724c9", "sha256": "bb701d82e39c4b6359770a96a11ef23f42b11b91b2918283246343cdd17bbc09" }, "downloads": -1, "filename": "pygamesilent-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ab30e5995d8f43a988a5d85c363724c9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 6951, "upload_time": "2019-07-17T03:37:54", "url": "https://files.pythonhosted.org/packages/c9/4d/2fa214a83b7180c92b0e17a873e17663855f60ee30849d86c4343afaa2e3/pygamesilent-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5464d3a6233dca5e1f41fe40ea2a13c", "sha256": "08febd05e092a1cd82c14b570944f94e2e5126015c25975792163263882c792a" }, "downloads": -1, "filename": "pygamesilent-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a5464d3a6233dca5e1f41fe40ea2a13c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 3872, "upload_time": "2019-07-17T03:37:52", "url": "https://files.pythonhosted.org/packages/f4/fd/6439e8281c418ffae1e36d2a8883e8973397f94c23ab0fc368a2d141bb3c/pygamesilent-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab30e5995d8f43a988a5d85c363724c9", "sha256": "bb701d82e39c4b6359770a96a11ef23f42b11b91b2918283246343cdd17bbc09" }, "downloads": -1, "filename": "pygamesilent-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ab30e5995d8f43a988a5d85c363724c9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4", "size": 6951, "upload_time": "2019-07-17T03:37:54", "url": "https://files.pythonhosted.org/packages/c9/4d/2fa214a83b7180c92b0e17a873e17663855f60ee30849d86c4343afaa2e3/pygamesilent-1.0.0.tar.gz" } ] }