{ "info": { "author": "Xieergai Jiang, Herbert Sauro", "author_email": "jiangxieergai@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# sb2l\n\n### Description ###\n\nTranslates biological models written in SBML into LaTeX code to be compiled and read by human eye\n\n### Dependencies ###\n\nThe current version runs 1.3.1 version of `PyLaTeX`\n\nEither `Tellurium` or `python-libsbml` is also required \n\nFor PDF creation functionality, either `latexmk` or `pdflatex` needs to be installed on the computer\n\n### Installation ###\n\n`pip install sb2l`\n\n### How to Use ###\nThe following structure gives a LaTeX string that can be copied to a online compiler like `Overleaf`:\n```\nimport sb2l\nlatexStr = sb2l.s2string(sbmlStringOrFile)\n```\nIf using with Tellurium or Antimony: \n```\nimport sb2l\nlatexStr = sb2l.s2latex(model_name.getSBML())\n```\nFor making PDF files (The filepath must NOT have a .pdf or .tex suffix)\n```\nimport sb2l\nfilepath = \"/Users/Username/Desktop/theDesiredNameOfFile\" #[NOTICE: no \".anything\"]\nsb2l.s2pdf(sbmlStringOrFile, file_path = filepath);\n```\nThe same structure can be used to generate a .tex file if used with `sb2l.s2latex`\n\nTo generate the PDF file and open with the default PDF reader\n\n```\nimport sb2l\nfilepath = \"/Users/Username/Desktop/theDesiredNameOfFile\" #[NOTICE: no \".anything\"]\nsb2l.s2open(sbmlStringOrFile, file_path = filepath);\n```\n### License ###\n\nMIT License\n\nCopyright (c) 2019\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/X-Jiang-bioe/sb2l/archive/v_0.1.3.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/X-Jiang-bioe/sb2l", "keywords": "SBML,LaTeX,Converter", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "sb2l", "package_url": "https://pypi.org/project/sb2l/", "platform": "", "project_url": "https://pypi.org/project/sb2l/", "project_urls": { "Download": "https://github.com/X-Jiang-bioe/sb2l/archive/v_0.1.3.tar.gz", "Homepage": "https://github.com/X-Jiang-bioe/sb2l" }, "release_url": "https://pypi.org/project/sb2l/0.1.3/", "requires_dist": [ "pylatex", "python-libsbml" ], "requires_python": ">=3", "summary": "sb2l Translates the biological models written in SBML into LaTeX code to be compiled and read by human eye", "version": "0.1.3", "yanked": false, "yanked_reason": null }, "last_serial": 6329514, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "2e7a39e5ac8b12cbf071b8df0180a3c6", "sha256": "0b00e7850426b950681dcc76a98e9a590f348d777f1ecf9787512c810d71a477" }, "downloads": -1, "filename": "sb2l-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "2e7a39e5ac8b12cbf071b8df0180a3c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 29073, "upload_time": "2019-10-25T21:52:45", "upload_time_iso_8601": "2019-10-25T21:52:45.992053Z", "url": "https://files.pythonhosted.org/packages/1e/f7/f1146d7e793b30285ec8113bc6627a0fb073bdc3c0316520683e5b395e47/sb2l-0.1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7e20824e72f89ad7590749a95c966172", "sha256": "9bd2d9a2a7c4fe0783c77141f6e4251d797a1efb7aa9e5497d2793d8ae1cb2d7" }, "downloads": -1, "filename": "sb2l-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7e20824e72f89ad7590749a95c966172", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 24393, "upload_time": "2019-10-25T21:52:47", "upload_time_iso_8601": "2019-10-25T21:52:47.629662Z", "url": "https://files.pythonhosted.org/packages/2b/4e/3089b3e8170df9fb6f8b3b4ff9ee4cdc03084480bc0475564c63c36740cf/sb2l-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "f0df522567a07330dc32632640eed3e1", "sha256": "5113c7cd4fabc8495036e54e3adb34fe67ed339b9bd990418abbebb852457d69" }, "downloads": -1, "filename": "sb2l-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f0df522567a07330dc32632640eed3e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 12686, "upload_time": "2019-12-19T03:48:18", "upload_time_iso_8601": "2019-12-19T03:48:18.281211Z", "url": "https://files.pythonhosted.org/packages/c3/4c/30b19cc4a196c404c77b2cdddde9fffc3149632bba779ca067bae7df142b/sb2l-0.1.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "74717680123d415e9ab00f0dfb2eff5b", "sha256": "f3648f2af3ac829bb997f68a24d779f43110bcfe318664cc3d565528839c9732" }, "downloads": -1, "filename": "sb2l-0.1.3.tar.gz", "has_sig": false, "md5_digest": "74717680123d415e9ab00f0dfb2eff5b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11322, "upload_time": "2019-12-19T03:48:19", "upload_time_iso_8601": "2019-12-19T03:48:19.827991Z", "url": "https://files.pythonhosted.org/packages/12/98/d0936229463e6facaeff5e26131a3c26a0b0e1885d20cb812fc931070d26/sb2l-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0df522567a07330dc32632640eed3e1", "sha256": "5113c7cd4fabc8495036e54e3adb34fe67ed339b9bd990418abbebb852457d69" }, "downloads": -1, "filename": "sb2l-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f0df522567a07330dc32632640eed3e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 12686, "upload_time": "2019-12-19T03:48:18", "upload_time_iso_8601": "2019-12-19T03:48:18.281211Z", "url": "https://files.pythonhosted.org/packages/c3/4c/30b19cc4a196c404c77b2cdddde9fffc3149632bba779ca067bae7df142b/sb2l-0.1.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "74717680123d415e9ab00f0dfb2eff5b", "sha256": "f3648f2af3ac829bb997f68a24d779f43110bcfe318664cc3d565528839c9732" }, "downloads": -1, "filename": "sb2l-0.1.3.tar.gz", "has_sig": false, "md5_digest": "74717680123d415e9ab00f0dfb2eff5b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11322, "upload_time": "2019-12-19T03:48:19", "upload_time_iso_8601": "2019-12-19T03:48:19.827991Z", "url": "https://files.pythonhosted.org/packages/12/98/d0936229463e6facaeff5e26131a3c26a0b0e1885d20cb812fc931070d26/sb2l-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }