{ "info": { "author": "Amardjia Amine", "author_email": "amardjia.amine@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "laylib package for pygame\n=========================\n\n.. image:: https://img.shields.io/badge/License-MIT-yellow.svg\n\t:target: https://opensource.org/licenses/MIT\n\n.. image:: https://img.shields.io/badge/version-1.1.7-red.svg\n\t:target: https://pypi.org/project/laylib\n\n.. image:: https://travis-ci.org/Layto888/laylib.svg?branch=master\n\t:target: https://travis-ci.org/Layto888/laylib\n\n\n\n\nThis package is made to fast prototype your multimedia applications like games on pygame. \nWrite clean and pragmatic design. It lets you focus on the game engine itself, so you don't have\nto take care about several details like setting up the window, loading and checking data (images,\nsound, font, fx, music, resources names...).\nAll you need to do is to put your resources into a specific data folder and use them \nin your game class 'MyEngine()'.\n\nYou don't need to reinvent the wheel, some repetitive parts of code (main loop, getting the delta time, \nclosing the window, drawing text...) are already described and ready to use in the \ndefault engine.\n\n\nUsage example\n-------------\n\n.. code-block:: python\n\n from laylib import Environment\n from engine import Engine\n\n def main():\n\tdemo = Environment(800, 600, False, 'My game')\n\tdemo.load_complete(Engine(), 'data', 'resources.res')\n\tdemo.gInstance.main_loop()\n\tdemo.destroy()\n\n if __name__ == \"__main__\":\n\tmain()\n\n\nINSTALLATION\n------------\n\nFirst, install the dependencies:\n- Python3 (3.5 or later) \n- Pygame 1.9.1 or later \nOr run in terminal:\n\n.. code-block:: bash\n\n $ pip install -r requirements.txt\n\nThen install laylib: \n\n.. code-block:: bash\n\n $ pip install laylib\n\nOr alternatively, you can just copy the \"laylib\" folder into the same\ndirectory as the Python program that uses it.\n\nUSAGE\n-----\nFor usage see examples provided with laylib. \nFor more details, all other parts of documentation are described in the source file.\n\nRelease History\n---------------\n* 1.1.7\n * version 1.1.6 revision\n * update demo1\n* 1.1.6\n * class Music in resources.py: add the function play() to control the music playlist and the volume\n * update demo1 to integrate music play() function.\n * all private methods prefixed with underscore\n * one common data folder for test and demo, to reduce size.\n* 1.1.5\n * in Resources manager: the sound format .ogg is moved to Music class and removed from Sound 'fx' class.\n * relative path to test_laylib changed\n * variable self.all_sprites = pg.sprite.Group() set directly in the DefaultEngine class.\n * add demo1 example to show how to manage resources with laylib\n * updating test_laylib for the 1.1.5 version\n * update documentation in the source files.\n* 1.1.4\n * Add Travis CI file\n * bug fix rotate function util.py file\n * changed value 3.14 to math.pi deg2rad function util.py\n * add complete test module\n * changed README.md to README.rst\n* 1.1.3\n * Bug version package fix (init.py file).\n* 1.1.2\n * Removed functions: `load_global()`/`destroy_global()` from Resources class.\n * Bug version fix (setup.py file).\n* 1.1.1\n * Now we can set the 'time_unit' to change the delta_time unit.\n * Minor bugs fix on util.py\n* 0.1.0\n * The first proper release\n* 0.0.1\n * Work in progress\n\nMeta\n----\nAmardjia Amine \u2013 amardjia.amine@gmail.com\nDistributed under the MIT license.\n\n\n\n\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Layto888/laylib", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "laylib", "package_url": "https://pypi.org/project/laylib/", "platform": "", "project_url": "https://pypi.org/project/laylib/", "project_urls": { "Homepage": "https://github.com/Layto888/laylib" }, "release_url": "https://pypi.org/project/laylib/1.1.7/", "requires_dist": null, "requires_python": "", "summary": "A 2-D engine for Python and pygame", "version": "1.1.7" }, "last_serial": 4447589, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "2ead037433e60ddf18ed0ea45ef66a9a", "sha256": "539e2658e7f019778c9ee6bb1be6da0d62d6566900d2e91512c329b17f1d909b" }, "downloads": -1, "filename": "laylib-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ead037433e60ddf18ed0ea45ef66a9a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10346, "upload_time": "2018-08-09T18:49:56", "url": "https://files.pythonhosted.org/packages/58/9c/dbd5df5638d6422c95c6c7a964975e6b8aaf346d6f529bda0b3844e64fd9/laylib-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f69bd042fc0d9d1b1b8201683d32b7f", "sha256": "2639221de223646b2ac320a421c4c1f67f6f9db09ad3d6c2e49b5932b6eaecd4" }, "downloads": -1, "filename": "laylib-1.0.tar.gz", "has_sig": false, "md5_digest": "8f69bd042fc0d9d1b1b8201683d32b7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8489, "upload_time": "2018-08-09T18:49:57", "url": "https://files.pythonhosted.org/packages/3a/2f/ac063585406bafeb074fc0cafbb5493105fcb31aba84f31e5ea585973908/laylib-1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "35682f5e3a652ff8f52d293593233de1", "sha256": "5d6ffc9129881c3c2970415f072c18555c49600ed610ffc837a184245ec135ff" }, "downloads": -1, "filename": "laylib-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "35682f5e3a652ff8f52d293593233de1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10895, "upload_time": "2018-10-12T20:11:41", "url": "https://files.pythonhosted.org/packages/e6/f9/7a078cd341454fc97f65534dbd7277aeaded0760b3f19d49d51b91303566/laylib-1.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "51e85a4b18f2065333f4c6191274d5de", "sha256": "8345fdad6766f5326a3b0df61c02aba8f31890dcbbcb985de2d17069d179a640" }, "downloads": -1, "filename": "laylib-1.1.1.tar.gz", "has_sig": false, "md5_digest": "51e85a4b18f2065333f4c6191274d5de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8135, "upload_time": "2018-10-12T20:11:42", "url": "https://files.pythonhosted.org/packages/da/7f/079fcebb01c49d547b1b454f247865e713681aaa2531f029f6fc040a304f/laylib-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "0653541e372dc9aa6c5697b4f358aa0d", "sha256": "560613dabdb698cb54892d9522b65d0a557560dac9961df47c396db542721ebf" }, "downloads": -1, "filename": "laylib-1.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "0653541e372dc9aa6c5697b4f358aa0d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11175, "upload_time": "2018-10-13T17:24:30", "url": "https://files.pythonhosted.org/packages/16/57/e98c3f0bfe4447f37e17a5dc1f5035ed01b45dab470b03cc2374af2e68f2/laylib-1.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e98c6d9088a96f8529218772d4cac18", "sha256": "e77e4b42f1c0a9a70123ba022c27ddf4b78753814322214dacf0d6493255481c" }, "downloads": -1, "filename": "laylib-1.1.2.tar.gz", "has_sig": false, "md5_digest": "2e98c6d9088a96f8529218772d4cac18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8466, "upload_time": "2018-10-13T17:24:31", "url": "https://files.pythonhosted.org/packages/28/ce/695e81fd05e9ffaea0309000832670c89a3024b2d8de0c3dbcde7d302915/laylib-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "f79d4e9dd460d2410e7eb0d5559107b5", "sha256": "b37cb644c1ad6f09ccb87a4907c8357829d401cb6da6ccfc166aa21a73c70c02" }, "downloads": -1, "filename": "laylib-1.1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "f79d4e9dd460d2410e7eb0d5559107b5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11433, "upload_time": "2018-10-13T21:28:06", "url": "https://files.pythonhosted.org/packages/c7/ac/91bc304620d9f9da6a7f9728abf71b9253fc0eff3490c0618c3df6b927c2/laylib-1.1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99be4ad0928202dab59a087623a9e54b", "sha256": "ec1c755f07d9cf29f3ae7bf4e1587cd296f640d122cf2e908064bb65baa2670c" }, "downloads": -1, "filename": "laylib-1.1.3.tar.gz", "has_sig": false, "md5_digest": "99be4ad0928202dab59a087623a9e54b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8772, "upload_time": "2018-10-13T21:28:08", "url": "https://files.pythonhosted.org/packages/57/24/e34b3f506dcecfed2eb6822b88c5089b780c153fb3a91c5ddb91726edb6d/laylib-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "5a452e74710fb798f78989699fe5136e", "sha256": "7082e93a67d728d12c40a46b93ab9ed2e713419e4dc3924094acd14840b56919" }, "downloads": -1, "filename": "laylib-1.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "5a452e74710fb798f78989699fe5136e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11246, "upload_time": "2018-10-17T21:49:41", "url": "https://files.pythonhosted.org/packages/74/28/76ed80e71ecaa7a446ad88b5e220b6386efdb890efc55a2c170f1171dc38/laylib-1.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2219f6624819eb93e4f52acf9398a40d", "sha256": "fde7dd4c8e6f1d6deb3c8be55e2698b5f740e1e75a60a42285f33d6904e7c752" }, "downloads": -1, "filename": "laylib-1.1.4.tar.gz", "has_sig": false, "md5_digest": "2219f6624819eb93e4f52acf9398a40d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666, "upload_time": "2018-10-17T21:49:43", "url": "https://files.pythonhosted.org/packages/5a/e0/a1bef3786e8b81d38f66219ef99ece98e692d13dbd7f284a01ef23829423/laylib-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "80c3af94b55284d18c17b4cd77759cff", "sha256": "6e9fad049932482e81dc7dd9578f2ba39e7177bcf75ab3d8ad742b7f94c4328c" }, "downloads": -1, "filename": "laylib-1.1.5-py2-none-any.whl", "has_sig": false, "md5_digest": "80c3af94b55284d18c17b4cd77759cff", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11552, "upload_time": "2018-10-20T20:51:20", "url": "https://files.pythonhosted.org/packages/53/e1/ada9e386a64c8fd68a050547a5c3784e9a39c870451c54fab5377bc6b3e9/laylib-1.1.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b888890478a7e60ef4c3ffdff0a14da6", "sha256": "3bb34b569dd32f29d659b02e9ff7ab6016b289caf5ac17d332b8d6f20007c775" }, "downloads": -1, "filename": "laylib-1.1.5.tar.gz", "has_sig": false, "md5_digest": "b888890478a7e60ef4c3ffdff0a14da6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9007, "upload_time": "2018-10-20T20:51:22", "url": "https://files.pythonhosted.org/packages/69/33/d8f20b83dad0b5add7f8b62bf5868b537568fdc6847be2f51549f55babb2/laylib-1.1.5.tar.gz" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "6c0aef9537d8f7543c42ea4c7d8573fd", "sha256": "2bdd7bba41e0445859e5ae408d4678806060b7010709567750389ab751f49108" }, "downloads": -1, "filename": "laylib-1.1.7-py2-none-any.whl", "has_sig": false, "md5_digest": "6c0aef9537d8f7543c42ea4c7d8573fd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11797, "upload_time": "2018-11-03T14:56:24", "url": "https://files.pythonhosted.org/packages/aa/60/47705e3239cc0b7443916f8c6f486e98fb87f7316d517031ad950fcdb252/laylib-1.1.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b76396f87373b8ec818b5274c66aaa6", "sha256": "d0f28ce298e6384fede52f76307ab97b0b2e7261b78e8bd982c8358829226985" }, "downloads": -1, "filename": "laylib-1.1.7.tar.gz", "has_sig": false, "md5_digest": "3b76396f87373b8ec818b5274c66aaa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9203, "upload_time": "2018-11-03T14:56:26", "url": "https://files.pythonhosted.org/packages/6c/cb/5a3f2ace9da1b9a30c335a19025e51193f3264290fb295af5bb13ee0a1b0/laylib-1.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c0aef9537d8f7543c42ea4c7d8573fd", "sha256": "2bdd7bba41e0445859e5ae408d4678806060b7010709567750389ab751f49108" }, "downloads": -1, "filename": "laylib-1.1.7-py2-none-any.whl", "has_sig": false, "md5_digest": "6c0aef9537d8f7543c42ea4c7d8573fd", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11797, "upload_time": "2018-11-03T14:56:24", "url": "https://files.pythonhosted.org/packages/aa/60/47705e3239cc0b7443916f8c6f486e98fb87f7316d517031ad950fcdb252/laylib-1.1.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b76396f87373b8ec818b5274c66aaa6", "sha256": "d0f28ce298e6384fede52f76307ab97b0b2e7261b78e8bd982c8358829226985" }, "downloads": -1, "filename": "laylib-1.1.7.tar.gz", "has_sig": false, "md5_digest": "3b76396f87373b8ec818b5274c66aaa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9203, "upload_time": "2018-11-03T14:56:26", "url": "https://files.pythonhosted.org/packages/6c/cb/5a3f2ace9da1b9a30c335a19025e51193f3264290fb295af5bb13ee0a1b0/laylib-1.1.7.tar.gz" } ] }