{ "info": { "author": "NicklasMCHD", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# Cython Compiler\nA simple script that cythonizes your python project, handles import statements, so you still can use normal packaging tools like PyInstaller to bundle your project.\n\n### Installation\n* pip install cython-compiler\n\nor the manual way:\n\n* git clone https://github.com/NicklasMCHD/cython-compiler.git\n* cd cython-compiler\n* python setup.py install\n\n\n### Quick Usage (see below for a detailed tutorial)\nusage: cython-compiler [-h] [-c] [-r] [-e ENTRY]\n\nCythonize your entire project while keeping the easyness of packaging with\nPyInstaller and testing with an interpreted language.\n\noptional arguments:\n\noptional arguments:\n -h, --help show this help message and exit\n -c, --cythonize Cythonize your project and assemble imports.\n -r, --remove Remove the .pyd files, so you can test with python.\n -e ENTRY, --entry ENTRY\n The entry file that starts the program when ran with python. This file will not be cythonized.\n\n\n### Detailed tutorial\n1. Install the Cython compiler.\n2. Go to the project you want to cythonize.\n3. If not done already, change the main file of your program, so i t contains a main method that starts the application.\n4. Make sure your entrypoint looks something like this.\n\n```\nimport __required_imports__ # this will be generated by the cython cimpiler later.\nimport main_application # this is where your def main function is located, the method, that actually starts your application.\n\nif __name__ == \"__main__\":\n\tmain_application.main() # asuming that your method is called main.\n```\n\n5. run \"cython-compiler -c -e program.py\", where program.py is the entry of your application (look at the template above).\n6. After the cython compiler is done, test to see if it works with python program.py (if everything goes as planned, your program should start as normal).\n\n### License\nGNU LESSER GENERAL PUBLIC LICENSE Version 3\nFor more information see the license file found in this repository.", "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/NicklasMCHD/cython-compiler", "keywords": "cython cythonize pyinstaller", "license": "GNU LGPLv3", "maintainer": "", "maintainer_email": "", "name": "cython-compiler", "package_url": "https://pypi.org/project/cython-compiler/", "platform": "", "project_url": "https://pypi.org/project/cython-compiler/", "project_urls": { "Homepage": "https://github.com/NicklasMCHD/cython-compiler" }, "release_url": "https://pypi.org/project/cython-compiler/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Cythonize your project, securing it's source, while still be able to test with python and bundle with PyInstaller", "version": "1.0.1" }, "last_serial": 5855985, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "dd99fdbe0bbde6f14086bfb70f92cad0", "sha256": "23ec21eda8432a76326cb4069dc6dbcecf274fd6e25b86c05d0679231af553d9" }, "downloads": -1, "filename": "cython_compiler-1.0.0.tar.gz", "has_sig": false, "md5_digest": "dd99fdbe0bbde6f14086bfb70f92cad0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4409, "upload_time": "2019-09-19T12:24:29", "url": "https://files.pythonhosted.org/packages/37/b2/c68b2af18b398618f10571762e5a4bf03a94d8c027537daa213dfe346573/cython_compiler-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ba8ae61c07a9c653d208ebc0d004c4a9", "sha256": "efd5a2b918a9c65ff0958a93775cd910f60d8c32a2fa577b2f2d049767d0c318" }, "downloads": -1, "filename": "cython_compiler-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ba8ae61c07a9c653d208ebc0d004c4a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7147, "upload_time": "2019-09-19T12:42:22", "url": "https://files.pythonhosted.org/packages/76/c3/17dcc02ed5f0bdafa3cf6ad22abbecedfcc53146f8a180bb041d13a95119/cython_compiler-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba8ae61c07a9c653d208ebc0d004c4a9", "sha256": "efd5a2b918a9c65ff0958a93775cd910f60d8c32a2fa577b2f2d049767d0c318" }, "downloads": -1, "filename": "cython_compiler-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ba8ae61c07a9c653d208ebc0d004c4a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7147, "upload_time": "2019-09-19T12:42:22", "url": "https://files.pythonhosted.org/packages/76/c3/17dcc02ed5f0bdafa3cf6ad22abbecedfcc53146f8a180bb041d13a95119/cython_compiler-1.0.1.tar.gz" } ] }