{ "info": { "author": "Hiroyuki Ohsaki", "author_email": "ohsaki@lsnl.jp", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# NAME\n\ncellx - command-driven drawing/visualization/animation/presentation tool\n\n# SCREENSHOTS\n\n- DTN simulator visualization\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/pdtnsim.png)\n\n- DTN simulator visualization with blurring\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/pdtnsim-filter.png)\n\n- CCN simulator visualization with blurring\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/ccn-filter.png)\n\n- CCN simulator visualization with blurring and blue-yellow (#3) color map\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/ccn-filter-3.png)\n\n- DFC-BP+ visualization\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/pdfcsim-random.png)\n\n- DFC-BP+ visualization\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/pdfcsim-grid.png)\n\n- WSN simulator visualization\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/pwsnsim.png)\n\n- Circuit-switching illustration (converted from PostScript)\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/circuit-switching.png)\n\n- M/M/1 queue illustration (converted from PostScript)\n\n![screenshot](https://raw.githubusercontent.com/h-ohsaki/cellx/master/screenshot/queue.png)\n\n# DESCRIPTION\n\nThis manual page documents **cellx**, a one-pass interpreter of the CELL\nlanguage. CELL language is a simple line-oriented language for dynamic\ngraphics drawing. **cellx** reads a source code written in the CELL language\nfrom the standard input or specified files. Every line in the source code is\nparsed and interpreted. The output is drawn on a window using SDL library via\n**pygame** module or sent to the standard output in the PostScript format.\n\n# CELL LANGUAGE COMMANDS\n\n```\nalpha (name|regexp) alpha\nanimate name (goal_x goal_y|name[(+|-)dx(+|-)dy])\nattach name parent_name dx dy\ncolor (name|regexp) color\ndefine name bitmap file [(x y|name[(+|-)dx(+|-)dy])]\ndefine name box [-f color] [width height color (x y|name[(+|-)dx(+|-)dy])]\ndefine name ellipse [-f color] [rx ry color] [(x y|name[(+|-)dx(+|-)dy])]\ndefine name line [-ht] sx sy dx dy [width color]\ndefine name link src_name dst_name [width color]\ndefine name polygon [-f color] [-r degree] n r [color (x y|name[(+|-)dx(+|-)dy])]\ndefine name spline x1 y1 x2 y2 x3 y3 [width color]\ndefine name text [-lcr] string [size color (x y|name[(+|-)dx(+|-)dy])]\ndefine name wire [-ht] sx sy dx dy [width color]\ndisplay\nfade (name|regexp)...\nfix (name|regexp)...\nhide (name|regexp)...\nkill (name|regexp)...\nmove (name|regexp) (x y|name[(+|-)dx(+|-)dy])\npalette symbol (r g b [alpha]|name [alpha])\nplay file\npriority (name|regexp) level\nresize (name|regexp) (x y|name[(+|-)dx(+|-)dy])\nscale (name|regexp) ratio\nshift (name|regexp) dx dy\nsleep x\nspring [-f filter] [-r degree] (name|regexp)... [x1 y1 x2 y2]\nunhide (name|regexp)...\nwait\n```\n\n# EXAMPLES\n\nMany examples are found in `ex` directory contained in the source archive.\n\n- M/M/1 queue:\n```c\n#define font_size 20\n#define packet_color gray80\n\n#define add_note_above(name, str) \\\ndefine name##_note text str font_size white name+0-40\n\n#define add_note_below(name, str) \\\ndefine name##_note text str font_size white name+0+40\n\n#define create_slot(name) \\\n define name box -f black 10 50 white\n\n#define create_slot_at(name, pos) \\\n create_slot(name) pos\n\n#define create_customer(name) \\\n define name box -f black 10 50 packet_color\n\n#define create_customer_at(name, pos) \\\n create_customer(name) pos\n\ndefine server ellipse -f black 30 30 white\nadd_note_below(server, server) \nmove server_note server+.02+.08\n\ncreate_slot_at(b1, server-35+0)\ncreate_slot_at(b2, b1-10+0)\ncreate_slot_at(b3, b2-10+0)\ncreate_slot_at(b4, b3-10+0)\ncreate_slot_at(b5, b4-10+0)\nadd_note_below(b5, buffer)\nmove b5_note b5+0+.08\n\ndefine lb line -h .25 .5 b5-10+0 undef 2 black\ndefine la line -h server+30+0 undef .65 .5 2 black\n\ncreate_customer_at(c1, .33 .44)\ncreate_customer_at(c2, .36 .44)\ncreate_customer_at(c3, .56 .44)\ncreate_customer_at(c4, .62 .44)\n\nadd_note_above(c1, customer)\n\ndisplay\nwait\n\n```\n# INSTALLATION\n\n```python\npip3 install cellx\n```\n\n# AVAILABILITY\n\nThe latest version of **cellx** is available at PyPI\n(https://pypi.org/project/cellx/) .\n\n# SEE ALSO\n\ncell - CELL language interpreter for visualization using\nSDL/OpenGL/PostScript/AVI/PDF (http://www.lsnl.jp/~ohsaki/software/cell)\n\n# AUTHOR\n\nHiroyuki Ohsaki \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/h-ohsaki/cellx", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cellx", "package_url": "https://pypi.org/project/cellx/", "platform": "", "project_url": "https://pypi.org/project/cellx/", "project_urls": { "Homepage": "https://github.com/h-ohsaki/cellx" }, "release_url": "https://pypi.org/project/cellx/1.8/", "requires_dist": [ "pygame" ], "requires_python": "", "summary": "command-driven drawing/visualization/animation/presentation tool", "version": "1.8" }, "last_serial": 5949529, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "7b4ea9859934e7f0f1496621e6237ee0", "sha256": "d2a6a2154509fcacb781917fd7f5521f0fc554f1e3c908e03741a55381abb792" }, "downloads": -1, "filename": "cellx-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7b4ea9859934e7f0f1496621e6237ee0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 36928, "upload_time": "2019-07-07T14:20:26", "url": "https://files.pythonhosted.org/packages/ec/b4/f093686ad4b39870a952be14f627ee8a487f18852ce92ceb812688a12251/cellx-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca76c3ec0f3d7da7309004a45f8630f2", "sha256": "42a07f6de8c06b8eb563c4f70a9232f2e1473e75a753473258347881184c92ac" }, "downloads": -1, "filename": "cellx-1.0.tar.gz", "has_sig": false, "md5_digest": "ca76c3ec0f3d7da7309004a45f8630f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17745, "upload_time": "2019-07-07T14:20:29", "url": "https://files.pythonhosted.org/packages/33/0d/d07a5cde3e8637af046b6698b7355e012997377a63383f0ad10b7eb3f7ee/cellx-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "b3b0c22966a8dedea8a597e74e34c22e", "sha256": "cf7eabb10502022c85e125e8419800b4a5bdcf4d99106e7b291ff3300da30642" }, "downloads": -1, "filename": "cellx-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b3b0c22966a8dedea8a597e74e34c22e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 36947, "upload_time": "2019-07-07T15:22:39", "url": "https://files.pythonhosted.org/packages/d5/24/002fc4a2bc2dd6b234b18d14de633071cc71089db9a8b3878a175bb7f7f2/cellx-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "809c3a7e123564619cb5a0ecd9b761ec", "sha256": "4f46f7b8f1141edbceda4f240d27862eab5e8b19d55d17575d06088e58fb3a13" }, "downloads": -1, "filename": "cellx-1.1.tar.gz", "has_sig": false, "md5_digest": "809c3a7e123564619cb5a0ecd9b761ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17755, "upload_time": "2019-07-07T15:22:40", "url": "https://files.pythonhosted.org/packages/0a/16/b38aef783080c9918db78b9f3d3fbd4194c707641734a628355e0887cc98/cellx-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "0bfc48e7be4f342448af8716dd6bb652", "sha256": "7847b65372f6b9c5783c71ece7adf99ef22e9fbff55baea14ceaf14869503a5d" }, "downloads": -1, "filename": "cellx-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0bfc48e7be4f342448af8716dd6bb652", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 36948, "upload_time": "2019-07-09T09:36:52", "url": "https://files.pythonhosted.org/packages/d6/69/e786cde32fd10c7cd9842f656a8dcbd5120c5395852d894ccb09c3b77431/cellx-1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0177fee8cd7323700c579705ff477b20", "sha256": "eed4c0f049e8db9a55c0c2ce046d40ca5ff9997d7c19186dc34c8cae4aedad72" }, "downloads": -1, "filename": "cellx-1.2.tar.gz", "has_sig": false, "md5_digest": "0177fee8cd7323700c579705ff477b20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17769, "upload_time": "2019-07-09T09:36:53", "url": "https://files.pythonhosted.org/packages/06/fe/8062f00590c631fbead57f3f60dd9d75730a88a2e133fb3125ad1c8927ee/cellx-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "3f9b1e94bf0e4da8f7c750ba29a62520", "sha256": "2d83b00463c602b606bb167d9c965d56719a41f31c6ec3336d330e63c885a2dd" }, "downloads": -1, "filename": "cellx-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3f9b1e94bf0e4da8f7c750ba29a62520", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 39383, "upload_time": "2019-07-10T12:03:32", "url": "https://files.pythonhosted.org/packages/73/83/3c8e54012354d5c6de59b9aeb938e96a666291bf68d17c4776183d6c1776/cellx-1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a82c70a4b030a3518516683b0aa3c68", "sha256": "814b3a784865c7ce82bb4069df0a650492c3a5de9eb4883cbcce8ec01c047f1a" }, "downloads": -1, "filename": "cellx-1.3.tar.gz", "has_sig": false, "md5_digest": "6a82c70a4b030a3518516683b0aa3c68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19332, "upload_time": "2019-07-10T12:03:34", "url": "https://files.pythonhosted.org/packages/ac/7d/d24a35575381a96ecb2df5f7f1f89b62556894ff2cc983ff7467674236fc/cellx-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "6b877f157f4dc837d16b3257eab8b9b4", "sha256": "c95a48f1fd4cbb1422514514a32f9fef81e07082f86f2c53fa474b5cd8f3b743" }, "downloads": -1, "filename": "cellx-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "6b877f157f4dc837d16b3257eab8b9b4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 39441, "upload_time": "2019-07-10T12:30:04", "url": "https://files.pythonhosted.org/packages/03/31/0ec921538638ca93039498bfdfb96b5b6df37908450772bdc6e1d3320e47/cellx-1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0494d94aa9fd0e7af77e7aaf6371e28f", "sha256": "bda7da619adbfbce31692d4d11f6f32ff80407350ba234803394fbeb68c2027c" }, "downloads": -1, "filename": "cellx-1.4.tar.gz", "has_sig": false, "md5_digest": "0494d94aa9fd0e7af77e7aaf6371e28f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19383, "upload_time": "2019-07-10T12:30:06", "url": "https://files.pythonhosted.org/packages/e8/84/260ef7c33a7e5100244b1eebac2173e32ca8c7a55d2e332008bb270a8a13/cellx-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "52249f27b3c9257f4db817b4a1f7cbfe", "sha256": "672b1bb660375a9e4207a16c8ddb892b3fd3303defac5da5a982cb721fa107ee" }, "downloads": -1, "filename": "cellx-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "52249f27b3c9257f4db817b4a1f7cbfe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40769, "upload_time": "2019-07-15T03:16:47", "url": "https://files.pythonhosted.org/packages/b2/42/db2eb05d2023ac5a45a036a17c381a2f7c1c1b85254281f573218407d9dc/cellx-1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f7d0a37f24d965091232eaadea8139e", "sha256": "501debf8d6074a9755b0fd9c23209aeefb79736d25c19bd5555ac54015163d6a" }, "downloads": -1, "filename": "cellx-1.5.tar.gz", "has_sig": false, "md5_digest": "2f7d0a37f24d965091232eaadea8139e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19648, "upload_time": "2019-07-15T03:16:49", "url": "https://files.pythonhosted.org/packages/a4/34/132551db49f57df335481790127675ef2a1be7f080fd5579d7255d5b2f30/cellx-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "573ae1e45690d92c5bb2e271b57dae58", "sha256": "b99478a5fa88ff3e5c4943b27fd445e8997f990c5027fec0f438249befdde811" }, "downloads": -1, "filename": "cellx-1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "573ae1e45690d92c5bb2e271b57dae58", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40933, "upload_time": "2019-07-15T18:54:55", "url": "https://files.pythonhosted.org/packages/21/5c/36a32ee06976258d39f2c961a661e34d34372c50f14df12b47c574e27c26/cellx-1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0fd39a0a7bf2794a407495bb1b7b7431", "sha256": "14042cbde178af6112af50a5311eff12f0f153cf1cf0c26c1b58bf7560920aaf" }, "downloads": -1, "filename": "cellx-1.6.tar.gz", "has_sig": false, "md5_digest": "0fd39a0a7bf2794a407495bb1b7b7431", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19801, "upload_time": "2019-07-15T18:54:57", "url": "https://files.pythonhosted.org/packages/2c/fd/a541cd9197ea8837faa63fdf74f259aaeb43150a6046d15b7580f511eaed/cellx-1.6.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "c1e3379ca303a652422f14b1a45a3680", "sha256": "0ec5c156cd54f69f63384b763658f42cfe86835772e923b9eac9efc59b832b8a" }, "downloads": -1, "filename": "cellx-1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "c1e3379ca303a652422f14b1a45a3680", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 40940, "upload_time": "2019-07-15T19:26:32", "url": "https://files.pythonhosted.org/packages/37/47/a070369ab60bde6888a020fcc7afd9f628c9a502c2c6ba20081fbf342184/cellx-1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3115c8db57b3bf9d0061434e265e6f0f", "sha256": "4c398fd6e0e0a0b68681a512cb95ac692d01a5d746d6941498b8d27e4abc0d8a" }, "downloads": -1, "filename": "cellx-1.7.tar.gz", "has_sig": false, "md5_digest": "3115c8db57b3bf9d0061434e265e6f0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19815, "upload_time": "2019-07-15T19:26:34", "url": "https://files.pythonhosted.org/packages/e6/85/932849881f01fe7721129911974be2809a7d24588ebc9c36b3790938ce8b/cellx-1.7.tar.gz" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "f8eed2084d2131cafa76519f7525c0c2", "sha256": "a3fc1d788ced0524d2cf93e548ad5e8fedf1ef3677255fa41f078b9e6f5417d6" }, "downloads": -1, "filename": "cellx-1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "f8eed2084d2131cafa76519f7525c0c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43184, "upload_time": "2019-10-09T12:37:49", "url": "https://files.pythonhosted.org/packages/57/83/0f81b62be9c45694b669784db982f43de48b4c27a4436e8f08d848f1933a/cellx-1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b2ec77960fcd941c5ee8ca3174c13e2", "sha256": "c7bf61167ea94180ec0b5d4a50c569131aa7e738537fa2f6fb811cc997524e26" }, "downloads": -1, "filename": "cellx-1.8.tar.gz", "has_sig": false, "md5_digest": "4b2ec77960fcd941c5ee8ca3174c13e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21482, "upload_time": "2019-10-09T12:37:51", "url": "https://files.pythonhosted.org/packages/4c/c5/203f49f6ab802a89f70975dda9c29e5ec78a781d05cc97680b576a0d8005/cellx-1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f8eed2084d2131cafa76519f7525c0c2", "sha256": "a3fc1d788ced0524d2cf93e548ad5e8fedf1ef3677255fa41f078b9e6f5417d6" }, "downloads": -1, "filename": "cellx-1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "f8eed2084d2131cafa76519f7525c0c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43184, "upload_time": "2019-10-09T12:37:49", "url": "https://files.pythonhosted.org/packages/57/83/0f81b62be9c45694b669784db982f43de48b4c27a4436e8f08d848f1933a/cellx-1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b2ec77960fcd941c5ee8ca3174c13e2", "sha256": "c7bf61167ea94180ec0b5d4a50c569131aa7e738537fa2f6fb811cc997524e26" }, "downloads": -1, "filename": "cellx-1.8.tar.gz", "has_sig": false, "md5_digest": "4b2ec77960fcd941c5ee8ca3174c13e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21482, "upload_time": "2019-10-09T12:37:51", "url": "https://files.pythonhosted.org/packages/4c/c5/203f49f6ab802a89f70975dda9c29e5ec78a781d05cc97680b576a0d8005/cellx-1.8.tar.gz" } ] }