{ "info": { "author": "Abhinav Tushar", "author_email": "lepisma@fastmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only" ], "description": "#+TITLE: orgmod\n\n[[https://img.shields.io/pypi/v/ledge.svg?style=flat-square]]\n\nWrite literate python modules in org mode and import directly in python.\nInspired by [[https://github.com/miedzinski/import-pypi][import-pypi]]. Relies on org-babel and tangling facility.\n\nAs an example, lets make this README an importable module. Lets define a\n~hello_world~ function.\n\n#+BEGIN_SRC python :tangle yes\n def hello_world():\n print(\"hello world\")\n#+END_SRC\n\nIn the header for the above code snippet, we set ~:tangle yes~ (checkout the raw\nversion of this file). This creates a module with the name ~README~.\n\nNow to import this module we first import ~orgmod~ and then import ~README~ and then\nrun the next code right inside this file.\n\n#+BEGIN_SRC python :results output :exports both\n # For this code block, tangle is not set\n import orgmod\n import README\n\n README.hello_world()\n#+END_SRC\n\n#+RESULTS:\n: hello world\n\n-----\n\n*Things to do*\n\n- Make the loader and finder more robust and inherit from the newer abstract\n classes.\n- Move next iterations of orgmod itself inside this README. Might need to\n bootstrap from the simpler script thats present right now.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lepisma/orgmod", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "orgmod", "package_url": "https://pypi.org/project/orgmod/", "platform": "", "project_url": "https://pypi.org/project/orgmod/", "project_urls": { "Homepage": "https://github.com/lepisma/orgmod" }, "release_url": "https://pypi.org/project/orgmod/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Import modules written in org files", "version": "0.1.1" }, "last_serial": 3727387, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1ef6ed904d160d0957af4bbca07907cc", "sha256": "c4b2fd183d78f3ebf3c3df0289a7a609539cd05e4a3afb71e61e064aa18d624e" }, "downloads": -1, "filename": "orgmod-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1ef6ed904d160d0957af4bbca07907cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1584, "upload_time": "2018-04-02T06:27:13", "url": "https://files.pythonhosted.org/packages/d8/53/a12009f0f7411567f4e4acdc5c2323dce6c8a17e914fa2d5d405e47cabc2/orgmod-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a3c8fe893c0b7ae58c923a3802a32dac", "sha256": "d952582de3fa5286681565411cf41a267522bf0d35440a3feab33506b972ba54" }, "downloads": -1, "filename": "orgmod-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a3c8fe893c0b7ae58c923a3802a32dac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14815, "upload_time": "2018-04-02T19:57:50", "url": "https://files.pythonhosted.org/packages/60/8c/051e9e5a71a4388d021e0266f3e9485073fb7e47892fc9dc708a1b4cc738/orgmod-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3c8fe893c0b7ae58c923a3802a32dac", "sha256": "d952582de3fa5286681565411cf41a267522bf0d35440a3feab33506b972ba54" }, "downloads": -1, "filename": "orgmod-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a3c8fe893c0b7ae58c923a3802a32dac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14815, "upload_time": "2018-04-02T19:57:50", "url": "https://files.pythonhosted.org/packages/60/8c/051e9e5a71a4388d021e0266f3e9485073fb7e47892fc9dc708a1b4cc738/orgmod-0.1.1.tar.gz" } ] }