{ "info": { "author": "vincent tang", "author_email": "vin.tang@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# pyoffice\n\n## what is this?\nexample for best practices in python packaging.\n\n## requirements\n```\npip install -r requirements.txt\n```\n\n## install\nto install PyOffice, do:\n\n``` \ngit clone https://github.com/mynameisvinn/PyOffice\ncd PyOffice\npython setup.py install\n```\nor, get it straight from pypi:\n```\npython -m pip install PyOffice\n```\nonce installed, python search for pyoffice in `site-packages` folder, which isdefined in `.bash_profile`.\n\n```\nexport PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages\n```\n\nyou can check python path from terminal:\n```\nenv | grep PYTHONPATH\n```\n\nverify that install placed source code in the appropriate site-packages folder with:\n\n```\ncd /usr/local/lib/python2.7/site-packages\n```\nyou should see \"PyOffice\" source code. other libraries (eg sklearn, scipy) reside in this folder too.\n\n## usage\n\n```\n>>> from PyOffice import CalculatorProcessor\n>>> my_calc = CalculatorProcessor()\n>>> my_calc.add(2,3)\n# 5\n```\n\n## create a pypi package\n\n### package script\ncreate setup.py, which will be the workhorse of pypi packaging, and then package script by\n\n```\npython setup.py sdist # creates dist folder, which stores tarred copy\n```\n\n### upload to pypi\nassuming youve registered with pypi, do\n```\npython setup.py register # authenticate\npython setup.py sdist upload # uploads entire file to pypi\n```\nyou can view package at https://pypi.python.org/pypi/PyOffice/0.1.0\n\n### install with pip\nyouve seen this a million times before:\n```\npython -m pip install PyOffice\n```\n\n## helpful links\n* https://www.digitalocean.com/community/tutorials/how-to-package-and-distribute-python-applications", "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/mynameisvinn/pyoffice", "keywords": "", "license": "", "maintainer": "mynameisvinn", "maintainer_email": "vin.tang@gmail.com", "name": "PyOffice", "package_url": "https://pypi.org/project/PyOffice/", "platform": "", "project_url": "https://pypi.org/project/PyOffice/", "project_urls": { "Homepage": "https://github.com/mynameisvinn/pyoffice" }, "release_url": "https://pypi.org/project/PyOffice/0.2/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Demonstrate docstrings and does nothing really.", "version": "0.2" }, "last_serial": 5677652, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "e5fc4cc28e438e64d4f5fa9db3c9f8f7", "sha256": "4cacbd7ee5d1fd0da19c102020244d42bd66112a7c24b689523119ad2efc2897" }, "downloads": -1, "filename": "PyOffice-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e5fc4cc28e438e64d4f5fa9db3c9f8f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3504, "upload_time": "2019-08-14T15:32:40", "url": "https://files.pythonhosted.org/packages/fc/db/ebef5545777e12eaec52b73088b74c1d6babf06d964a7bb5b62e9fd4eecc/PyOffice-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "463cb0a1090dc325dfa62a52430d17e9", "sha256": "b0916193d3e9edaf2a8820a99b46bb6be4375ea3108df6ce8fcd6ed2ae28d7dd" }, "downloads": -1, "filename": "PyOffice-0.2.tar.gz", "has_sig": false, "md5_digest": "463cb0a1090dc325dfa62a52430d17e9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2722, "upload_time": "2019-08-14T15:32:49", "url": "https://files.pythonhosted.org/packages/96/7e/25d230749547625b09315268d576c38151a8f7b9bcb6063c407642d54c8d/PyOffice-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5fc4cc28e438e64d4f5fa9db3c9f8f7", "sha256": "4cacbd7ee5d1fd0da19c102020244d42bd66112a7c24b689523119ad2efc2897" }, "downloads": -1, "filename": "PyOffice-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e5fc4cc28e438e64d4f5fa9db3c9f8f7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 3504, "upload_time": "2019-08-14T15:32:40", "url": "https://files.pythonhosted.org/packages/fc/db/ebef5545777e12eaec52b73088b74c1d6babf06d964a7bb5b62e9fd4eecc/PyOffice-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "463cb0a1090dc325dfa62a52430d17e9", "sha256": "b0916193d3e9edaf2a8820a99b46bb6be4375ea3108df6ce8fcd6ed2ae28d7dd" }, "downloads": -1, "filename": "PyOffice-0.2.tar.gz", "has_sig": false, "md5_digest": "463cb0a1090dc325dfa62a52430d17e9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 2722, "upload_time": "2019-08-14T15:32:49", "url": "https://files.pythonhosted.org/packages/96/7e/25d230749547625b09315268d576c38151a8f7b9bcb6063c407642d54c8d/PyOffice-0.2.tar.gz" } ] }