{ "info": { "author": "Guilherme Caminha", "author_email": "gpkc@cin.ufpe.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "=======\nCypyler\n=======\n\n\n.. image:: https://img.shields.io/pypi/v/cypyler.svg\n :target: https://pypi.python.org/pypi/cypyler\n\n.. image:: https://img.shields.io/travis/gpkc/Cypyler.svg\n :target: https://travis-ci.org/gpkc/Cypyler\n\n\nA cython compiler for compiling source code in string form.\n\nExample:\n\n.. code:: python\n\n from cypyler import TMPCypyler\n\n code = \"\"\"\n def add(x, y):\n return x + y\n \"\"\"\n\n cp = TMPCypyler()\n built_module = cp.build(code)\n built_module.add(2, 3)\n\n\nUsage\n-----\n\nCypyler\n~~~~~~~\n\nInstantiation\n^^^^^^^^^^^^^\n.. code:: python\n\n from cypyler import Cypyler\n\n cp = Cypyler('', '', '')\n\nWhere ``build_dir`` is the desired directory (path) for the module to be built on.\nThe arguments ``libraries`` and ``include_dirs`` are lists containing libraries and include directories that should be passed to Cython when compiling.\n\n\nBuilding\n^^^^^^^^\n\n.. code:: python\n\n cp.build('', '')\n\nWhere ``code`` is the code in string form. The ``suffix`` argument defaults to ``.pyx``.\n\n\nTMPCypyler\n~~~~~~~~~~\n\nInstantiation\n^^^^^^^^^^^^^\n\n.. code:: python\n\n from cypyler import TMPCypyler\n\n cp = Cypyler('', '', '')\n\nWhere ``build_dir_prefix`` is a prefix for the temporary build directory.\nThe build directory is created using the ``tempfile.mkdtemp`` function from the Python standard library.\n\n\nBuilding\n^^^^^^^^\n\n.. code:: python\n\n cp.build('', '')\n\nWhere ``code`` is the code in string form. The ``suffix`` argument defaults to ``.pyx``.\n\n\n* Free software: MIT license\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gpkc/cypyler", "keywords": "cypyler", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "cypyler", "package_url": "https://pypi.org/project/cypyler/", "platform": "", "project_url": "https://pypi.org/project/cypyler/", "project_urls": { "Homepage": "https://github.com/gpkc/cypyler" }, "release_url": "https://pypi.org/project/cypyler/0.2.0/", "requires_dist": [ "cython", "numpy" ], "requires_python": "", "summary": "A cython compiler for compiling source code in string form.", "version": "0.2.0" }, "last_serial": 3607189, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "052e037b686d1ad3bbe616a714d0ec51", "sha256": "16473111476ddf963cc594e2663faefad453d158b278f65db47a706d26d56897" }, "downloads": -1, "filename": "cypyler-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "052e037b686d1ad3bbe616a714d0ec51", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4470, "upload_time": "2018-02-22T23:26:14", "url": "https://files.pythonhosted.org/packages/39/b5/3efe85f05aa072ac0dddf1555731579f59721966dec0a06d78f828ff11d7/cypyler-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "76912d5970e38a1b071fab45076e5a8d", "sha256": "37e84f1b2440ec4684bab64f4aa45e81dcd864c8e29c6338a24b07ac512c6f4d" }, "downloads": -1, "filename": "cypyler-0.1.0.tar.gz", "has_sig": false, "md5_digest": "76912d5970e38a1b071fab45076e5a8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3836, "upload_time": "2018-02-22T23:26:14", "url": "https://files.pythonhosted.org/packages/95/d7/0c067aa6927daf628e9eb12c9ddd5c0b4770c6d766fa4274f68d6966371e/cypyler-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b697bb9d5dd1bb1f3e2862b4332554c9", "sha256": "3872c8e17ed5958f303c26bbdeb3f9c072ca3eb4e99345fb94a8a0dc995d400f" }, "downloads": -1, "filename": "cypyler-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b697bb9d5dd1bb1f3e2862b4332554c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5056, "upload_time": "2018-02-22T23:48:45", "url": "https://files.pythonhosted.org/packages/bf/c5/ed8b7d08407a29f68183c30d907895ed9ed7765ca7dacc02c273e9f97d9e/cypyler-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a26d4aaddbc82608338f1d99d49ded72", "sha256": "94d99b853d83089b7690eb1b52ede9bcad3f98210e09e2611e2499f7722f45fb" }, "downloads": -1, "filename": "cypyler-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a26d4aaddbc82608338f1d99d49ded72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4217, "upload_time": "2018-02-22T23:48:46", "url": "https://files.pythonhosted.org/packages/99/9c/2a9d0151fe4301a7e77fc74caa6b68bcda57b318348a49434db7435db926/cypyler-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b697bb9d5dd1bb1f3e2862b4332554c9", "sha256": "3872c8e17ed5958f303c26bbdeb3f9c072ca3eb4e99345fb94a8a0dc995d400f" }, "downloads": -1, "filename": "cypyler-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b697bb9d5dd1bb1f3e2862b4332554c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5056, "upload_time": "2018-02-22T23:48:45", "url": "https://files.pythonhosted.org/packages/bf/c5/ed8b7d08407a29f68183c30d907895ed9ed7765ca7dacc02c273e9f97d9e/cypyler-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a26d4aaddbc82608338f1d99d49ded72", "sha256": "94d99b853d83089b7690eb1b52ede9bcad3f98210e09e2611e2499f7722f45fb" }, "downloads": -1, "filename": "cypyler-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a26d4aaddbc82608338f1d99d49ded72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4217, "upload_time": "2018-02-22T23:48:46", "url": "https://files.pythonhosted.org/packages/99/9c/2a9d0151fe4301a7e77fc74caa6b68bcda57b318348a49434db7435db926/cypyler-0.2.0.tar.gz" } ] }