{ "info": { "author": "Ben Booth", "author_email": "benwbooth@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "cyrun\n=====\n\ncyrun allows you to write cython code that runs like a scripting language,\nwith compilation happening in the background. Here is an example:\n\n.. code-block:: python\n\n #!/usr/bin/env cyrun\n print(\"Hello World!\")\n\nYou can use the usual cython build metadata at the beginning of the\nscript to adjust compilation settings::\n\n # distutils: name = test\n # distutils: sources = \n # distutils: define_macros = TESTMACRO\n # distutils: undef_macros = TESTMACRO\n # distutils: libraries = \n # distutils: library_dirs = test\n # distutils: runtime_library_dirs = test\n # distutils: include_dirs = test\n # distutils: extra_objects = \n # distutils: extra_compile_args = -Wall\n # distutils: extra_link_args = \n # distutils: export_symbols = \n # distutils: depends = \n # distutils: language = c++\n\ncyrun also adds the following metadata for searching for project-level module folders::\n\n # cyrun: base = modules # starting from script folder, search all\n top-level directories for a folder called modules, and add it to\n the include path and build path\n # cyrun: realpath = # if the script is a symlink, resolve it to the\n real path before searching\n # cyrun: ignore = # ignore certain folder names during the search\n\nIf the setting begins with \"interpolate:\", then cython\nwill enable string interpolation using the `interpolate module\n`. This allows setting fields \nsuch as include_dir dynamically, e.g.::\n\n # interpolate: distutils: include_dirs = {__import__('pysam').get_include()}\n # interpolate: distutils: extra_link_args = {__import__('pysam').get_libraries()}\n # interpolate: distutils: define_macros = {['%s=%s' % (d[0],d[1]) for d in __import__('pysam').get_defines()]}\n\nThe interpolate module uses curly braces for templating, the same as\nstring.format(), except you are allowed to embed a python expression\ninstead of just variable names. Please note that only expressions are\nallowed, not statements. Also, you'll have to avoid using double quotes\nand curly braces within the templates, as escaping doesn't work well. Use\nsingle quotes for strings and dict() for dictionaries if you need\nthem. See `interpolate docs ` and `interpolate\nPyPI page ` for more details.\n\ncyrun can take several command-line arguments before the script arguments.\ncyrun can also read the CYRUN environment variable to pass in arguments as a\nshell-escaped string. Here are the arguments cyrun accepts::\n\n -h, --help show this help message and exit\n -v, --verbose Show compiler output\n -s, --skip Skip compilation step\n -c, --check Just syntax check and compile, don't run the script\n -f, --force Force compilation even if the compiled binary is up-\n to-date\n -d, --debug Run the script in the cython debugger\n -p PATH, --path PATH Change the path for storing the cached cython binaries\n\ncyrun stores compiled cython libraries in a cache folder::\n\n - if --path argument is set, use that folder\n - otherwise, if there is a .cyrun folder in the script folder, use that\n - otherwise, set it to ~/.cache/cyrun\n\nCompilation is performed using distutils and cythonize(). Modules will\nonly recompile if source code timestamps are newer than the cached\nbinary file.\n", "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/benwbooth/python-cyrun", "keywords": "cython python run executable", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cyrun", "package_url": "https://pypi.org/project/cyrun/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cyrun/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/benwbooth/python-cyrun" }, "release_url": "https://pypi.org/project/cyrun/0.26/", "requires_dist": null, "requires_python": null, "summary": "compile and run cython in one line", "version": "0.26" }, "last_serial": 1436821, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9a9b035a3d634891bd26615f3910e788", "sha256": "6b2c7f8d7c9d03c74773793726150678542cb8b1234e14da24d95189b07604f6" }, "downloads": -1, "filename": "cyrun-0.1.tar.gz", "has_sig": false, "md5_digest": "9a9b035a3d634891bd26615f3910e788", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1872, "upload_time": "2014-11-28T19:22:52", "url": "https://files.pythonhosted.org/packages/ed/99/7048f6f9f12fccc90bafb4f460dbeb7cc3a786452ea06712acbb79602a27/cyrun-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "0f04e16bbe7c8d6cb300281b24c42c4d", "sha256": "0e6b8000270274487782a0e1afc63c11ae8bf36e88384c90af9de1ab47755bac" }, "downloads": -1, "filename": "cyrun-0.10.tar.gz", "has_sig": false, "md5_digest": "0f04e16bbe7c8d6cb300281b24c42c4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3263, "upload_time": "2014-12-22T17:51:40", "url": "https://files.pythonhosted.org/packages/14/be/a254355bf99c522a1cb1ce30f32359ac9839b5a91fb860259784232bcf33/cyrun-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "65095d0a76ec9d2644dba4bc57573051", "sha256": "6c7dfa8b50d1befcc504441fdb01aeab684a1d4a9c4d37291eadeacab4f4a9b1" }, "downloads": -1, "filename": "cyrun-0.11.tar.gz", "has_sig": false, "md5_digest": "65095d0a76ec9d2644dba4bc57573051", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3522, "upload_time": "2014-12-22T20:42:23", "url": "https://files.pythonhosted.org/packages/08/c1/81a49bebf998f48c3528fd0f2fec58fbe85343c224b474bb241c083ad274/cyrun-0.11.tar.gz" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "861e0ea9f4891c357bfa6681edee6b6c", "sha256": "6940127411a6476f1ea8fb5c19e9061c5360f09e70b79f9656ca052d60dd3517" }, "downloads": -1, "filename": "cyrun-0.12.tar.gz", "has_sig": false, "md5_digest": "861e0ea9f4891c357bfa6681edee6b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3535, "upload_time": "2014-12-23T23:49:37", "url": "https://files.pythonhosted.org/packages/11/93/407ada923caccce9c31701ac87e092aed000afce3f3aa7aedeb8b159dae8/cyrun-0.12.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "400e058f21dfac0deee8edb201d635a9", "sha256": "e554493d543a291648a216b029178ffe0d5494dceaaa0c01260acc88f4471800" }, "downloads": -1, "filename": "cyrun-0.13.tar.gz", "has_sig": false, "md5_digest": "400e058f21dfac0deee8edb201d635a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3873, "upload_time": "2014-12-24T18:51:46", "url": "https://files.pythonhosted.org/packages/f9/16/ad0015408b0cc39f7836253b269b2af0892c5f03b5c21dd520e0e0fc23b4/cyrun-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "e00f113a434f54410786b613357de188", "sha256": "23ebc2d758dd61b566ea6f2af396f7599255bc7ea56954ea45d61a5a13bf568a" }, "downloads": -1, "filename": "cyrun-0.14.tar.gz", "has_sig": false, "md5_digest": "e00f113a434f54410786b613357de188", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4262, "upload_time": "2014-12-24T19:05:25", "url": "https://files.pythonhosted.org/packages/8f/df/44dad248ab0daf225b940fe2bc044749471e81de3b2a641b35fd33e1c7c6/cyrun-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "72e6725b5370c96b1174e74d35224607", "sha256": "9460c090f9eb5f0e7e78a88fd0d13abe74d5851732989cefa69fe91332b34c50" }, "downloads": -1, "filename": "cyrun-0.15.tar.gz", "has_sig": false, "md5_digest": "72e6725b5370c96b1174e74d35224607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4265, "upload_time": "2014-12-24T19:08:01", "url": "https://files.pythonhosted.org/packages/e4/6c/009935b58cfeab44313e68612b4ae7c609c5daa854c00532a43539f813f1/cyrun-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "f1fd8bc756c6a916489758050dc94d7a", "sha256": "4207e838254cc22671a51f1bc39aac5b83de10aa9c40a8c72b1d20ff4ed17fe6" }, "downloads": -1, "filename": "cyrun-0.16.tar.gz", "has_sig": false, "md5_digest": "f1fd8bc756c6a916489758050dc94d7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4279, "upload_time": "2014-12-24T20:51:05", "url": "https://files.pythonhosted.org/packages/33/a7/985fc05c1544533f4f9da58b3fe24d9ffd1484c2de094b9f1e9582168a7d/cyrun-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "c8a1c15db4364315a392b588e54d2faf", "sha256": "58adea73a31f5d214544c3750ead8094619b9bd21e399eac0be25ef403a76540" }, "downloads": -1, "filename": "cyrun-0.17.tar.gz", "has_sig": false, "md5_digest": "c8a1c15db4364315a392b588e54d2faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4264, "upload_time": "2014-12-24T23:26:45", "url": "https://files.pythonhosted.org/packages/47/87/65c04291c2f9d13034309517ba4b50c796aa05d5d0706e75746121864c30/cyrun-0.17.tar.gz" } ], "0.18": [ { "comment_text": "", "digests": { "md5": "9229b6077c136f90b57f85b7757ce976", "sha256": "11daca93e361ab514cc1fc93c9708bbc67edb714b77a1754d491080ac3d27ffd" }, "downloads": -1, "filename": "cyrun-0.18.tar.gz", "has_sig": false, "md5_digest": "9229b6077c136f90b57f85b7757ce976", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4656, "upload_time": "2015-01-02T19:36:10", "url": "https://files.pythonhosted.org/packages/33/62/07af82f496dd25789fedd20af5a48126b4d9091749f9871dee6d2c441b86/cyrun-0.18.tar.gz" } ], "0.19": [ { "comment_text": "", "digests": { "md5": "6cbf67879bd638720bd003bc90f39d55", "sha256": "5326dd4c96d965c9d221c8275a48d10e52c73eb07afbc93220c260c02b67303a" }, "downloads": -1, "filename": "cyrun-0.19.tar.gz", "has_sig": false, "md5_digest": "6cbf67879bd638720bd003bc90f39d55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4661, "upload_time": "2015-01-02T19:39:16", "url": "https://files.pythonhosted.org/packages/01/d8/1be2550db0d2a3864f52c1e874995af930c9dd3b2e3c7246899855501c5d/cyrun-0.19.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "8a87ba7073f308c5bacb99d8ee0d4365", "sha256": "51b9db3ef1e899d748f757cbbcbd5535a49790c7c0eb9d6c7d81e1be7a654d4c" }, "downloads": -1, "filename": "cyrun-0.2.tar.gz", "has_sig": false, "md5_digest": "8a87ba7073f308c5bacb99d8ee0d4365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1894, "upload_time": "2014-12-01T19:56:40", "url": "https://files.pythonhosted.org/packages/1b/64/733f7b6b24d3d2ac7ad4ad4cba5ae21dafcc1aa0c0a8f7bb50a45cbd97dd/cyrun-0.2.tar.gz" } ], "0.20": [ { "comment_text": "", "digests": { "md5": "16d9802476088f40f3bf4345f3f7d066", "sha256": "6cf2eacccbcc62cafdf4167616acd0fee581d30ba38123067cfc8f06c1a094d1" }, "downloads": -1, "filename": "cyrun-0.20.tar.gz", "has_sig": false, "md5_digest": "16d9802476088f40f3bf4345f3f7d066", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4717, "upload_time": "2015-01-02T21:23:18", "url": "https://files.pythonhosted.org/packages/88/bd/5e02b73211ef576a00fadf999f850c4f652d6c64143c3e6297a0536d40de/cyrun-0.20.tar.gz" } ], "0.21": [ { "comment_text": "", "digests": { "md5": "9064b34796f1033b9d4bfe8e93c3a8ca", "sha256": "b3a538791a1c6298abe2c16e580fedaee8d7d9639f105ddc8c65e0638565bdb7" }, "downloads": -1, "filename": "cyrun-0.21.tar.gz", "has_sig": false, "md5_digest": "9064b34796f1033b9d4bfe8e93c3a8ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4676, "upload_time": "2015-01-02T21:24:44", "url": "https://files.pythonhosted.org/packages/39/a1/8e0ec8a538c6009eadef47f52cfe9e23a583778d9b65fad87beed3c7faf7/cyrun-0.21.tar.gz" } ], "0.22": [ { "comment_text": "", "digests": { "md5": "3d15d1b9ebbc5ef466dc7f47c2f20a81", "sha256": "f57f41a4541206d86e3c3b45000760d13742e04fb83d8f537c25455c89ed3656" }, "downloads": -1, "filename": "cyrun-0.22.tar.gz", "has_sig": false, "md5_digest": "3d15d1b9ebbc5ef466dc7f47c2f20a81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4652, "upload_time": "2015-01-02T21:32:53", "url": "https://files.pythonhosted.org/packages/98/88/628c330f41008bad9ca867a3373523e1398db035e5641479064c2c058fa9/cyrun-0.22.tar.gz" } ], "0.23": [ { "comment_text": "", "digests": { "md5": "05aebdba65f56cd50a2c08ac59e19ba5", "sha256": "e498a21836eff60cf0c44c9ef41e21be2a1169463295ba83a7f043e7ce577fbc" }, "downloads": -1, "filename": "cyrun-0.23.tar.gz", "has_sig": false, "md5_digest": "05aebdba65f56cd50a2c08ac59e19ba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4638, "upload_time": "2015-01-02T21:36:08", "url": "https://files.pythonhosted.org/packages/1b/e4/9b390a0045aa2d3966f59ce7f9c20b1726760af717ed1dc8541920a45809/cyrun-0.23.tar.gz" } ], "0.24": [ { "comment_text": "", "digests": { "md5": "96e2bd2855b1acddc3bd2265987260df", "sha256": "8d08a8901d3929f252c9f9ae15bed037da86008763fa6dbc745f92e38b0a0b1e" }, "downloads": -1, "filename": "cyrun-0.24.tar.gz", "has_sig": false, "md5_digest": "96e2bd2855b1acddc3bd2265987260df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4639, "upload_time": "2015-01-02T21:37:22", "url": "https://files.pythonhosted.org/packages/f5/7a/46ccd7ca1011c7a87cee7673facfc6e6db0ad7221cd557e3489d8aaa8dd4/cyrun-0.24.tar.gz" } ], "0.25": [ { "comment_text": "", "digests": { "md5": "22c897c28ce452ba7bf92056bf20feb6", "sha256": "b5101c06d85353c432a14fc09ee7d6aba051e430bacce90c65e734cf0322a613" }, "downloads": -1, "filename": "cyrun-0.25.tar.gz", "has_sig": false, "md5_digest": "22c897c28ce452ba7bf92056bf20feb6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4614, "upload_time": "2015-02-24T23:03:43", "url": "https://files.pythonhosted.org/packages/5b/a3/4c7bc9e5ebc21185fd4ecbb025298f972aafefe21420ceebf2892beddad3/cyrun-0.25.tar.gz" } ], "0.26": [ { "comment_text": "", "digests": { "md5": "6ceed86f51a6ced035b1a6383689d1fb", "sha256": "7e24868dba16d58f31ca10f9125a590ef364450a9859e886b58bf66c14467be1" }, "downloads": -1, "filename": "cyrun-0.26.tar.gz", "has_sig": false, "md5_digest": "6ceed86f51a6ced035b1a6383689d1fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4663, "upload_time": "2015-02-25T00:02:18", "url": "https://files.pythonhosted.org/packages/e8/fe/825048f188f687d5a25b523d1b200a4e1cef8e8a92a41cd7a92d4953bbfa/cyrun-0.26.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "10ed4496493981c466f142d447fc9c8b", "sha256": "13509d6385e92cc646851b5bf12058d0dd0fe3499fc1045ee74d62982e80b0bd" }, "downloads": -1, "filename": "cyrun-0.3.tar.gz", "has_sig": false, "md5_digest": "10ed4496493981c466f142d447fc9c8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1936, "upload_time": "2014-12-01T20:13:35", "url": "https://files.pythonhosted.org/packages/61/7d/2aecb434e6ca6d73956aa579b1d8302b410df480173551815738a1088a65/cyrun-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a093487266c1f99382222434b0643a95", "sha256": "34516ef67d2325777439c15e0da7a84491f89f7527e539d621109a5219f3b663" }, "downloads": -1, "filename": "cyrun-0.4.tar.gz", "has_sig": false, "md5_digest": "a093487266c1f99382222434b0643a95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1932, "upload_time": "2014-12-01T23:35:20", "url": "https://files.pythonhosted.org/packages/29/88/04b94c6109576a571e99220f3a5f4a94fbf8ca074008da8e859ab0342eab/cyrun-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7c7afa1ec9268e677b7628f71c829146", "sha256": "097aa0392868a8c3341a0fc36e6b956e3277df7178142990c2bff1370a43e2aa" }, "downloads": -1, "filename": "cyrun-0.5.tar.gz", "has_sig": false, "md5_digest": "7c7afa1ec9268e677b7628f71c829146", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2369, "upload_time": "2014-12-03T01:23:33", "url": "https://files.pythonhosted.org/packages/fa/06/15c917b8005bde9628dbce0ac795afc4a67d393a2aff666527c13b855942/cyrun-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "80004ac62ae9db127cc29481e8cc6a94", "sha256": "3b57c56bb554feab099e93254806d932a026c0a2557517dc0af987f518fa2901" }, "downloads": -1, "filename": "cyrun-0.6.tar.gz", "has_sig": false, "md5_digest": "80004ac62ae9db127cc29481e8cc6a94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2225, "upload_time": "2014-12-03T01:30:31", "url": "https://files.pythonhosted.org/packages/30/a8/2b8f7850581cdae3e92f48fb7d65fe4de33113b5297770e45d0e201a8d6f/cyrun-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "cc8040d70510ed59167aafb536e759f1", "sha256": "c627dab936e142d61f3fd57ae4ead24ce3493cb65204f066f050fbf9c3e6c088" }, "downloads": -1, "filename": "cyrun-0.7.tar.gz", "has_sig": false, "md5_digest": "cc8040d70510ed59167aafb536e759f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2232, "upload_time": "2014-12-03T01:39:12", "url": "https://files.pythonhosted.org/packages/8f/74/b0118509f6ecad0f033a6c06364f4ee03817747dda76a15ecac99e4f9b2f/cyrun-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "3e12f14291c99f6ff768d44362894096", "sha256": "3a92b61266609eb1c734d19f31ea5aa0988453b7ddee9ee1fb9fafa0f062153c" }, "downloads": -1, "filename": "cyrun-0.8.tar.gz", "has_sig": false, "md5_digest": "3e12f14291c99f6ff768d44362894096", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3252, "upload_time": "2014-12-12T22:53:08", "url": "https://files.pythonhosted.org/packages/f9/ac/371c08c7915b57820b2825193ff33b44583013d6b48e8a05c6c114f12c52/cyrun-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "897976aea852ea2cc23bb576366b18e7", "sha256": "d38942329f141dcb4ff96c8afe187c9c011e7115b0a7e97fb1d53d48eb61c77b" }, "downloads": -1, "filename": "cyrun-0.9.tar.gz", "has_sig": false, "md5_digest": "897976aea852ea2cc23bb576366b18e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3247, "upload_time": "2014-12-22T17:47:51", "url": "https://files.pythonhosted.org/packages/76/f5/90a8ba5871869489241807ffd47c35bc4c88328baa00ef19bd5e7ebbd1a2/cyrun-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ceed86f51a6ced035b1a6383689d1fb", "sha256": "7e24868dba16d58f31ca10f9125a590ef364450a9859e886b58bf66c14467be1" }, "downloads": -1, "filename": "cyrun-0.26.tar.gz", "has_sig": false, "md5_digest": "6ceed86f51a6ced035b1a6383689d1fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4663, "upload_time": "2015-02-25T00:02:18", "url": "https://files.pythonhosted.org/packages/e8/fe/825048f188f687d5a25b523d1b200a4e1cef8e8a92a41cd7a92d4953bbfa/cyrun-0.26.tar.gz" } ] }