{ "info": { "author": "ustcpetergu", "author_email": "guyimin@mail.ustc.edu.cn", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PhysicsExp\n### USTC Physics Experiments Data Processing Tools\n\n### \u4e2d\u79d1\u5927\u5927\u7269\u5b9e\u9a8c\u6570\u636e\u5904\u7406\u5de5\u5177\n\n#### Comes with NO WARRENTY\n\nThe package is also released on [pypi](https://pypi.org/project/physicsexp/).\n\nThis README is shown in both pypi package and github repo, but is designed for github only. \n\nFor readers from pypi, [here](https://github.com/ustcpetergu/PhysicsExp) please. \n\n- The github repo(ustcpetergu/PhysicsExp) includes: physicsexp python package(directory `physicsexp`), my experiment data(in directory `Experiments`, archived by semester), some misc files and automation scripts. \n\n- The pypi package(physicsexp) only includes the main python package, but that's enough and easy to use. \n\n\u6700\u7ec8\u76ee\u7684\u662f\u5efa\u9020\u4e00\u5957\u7528\u4e8e\u81ea\u52a8\u5316\u5904\u7406\u5927\u7269\u5b9e\u9a8c\u6570\u636e\u3001\u7ed8\u5236\u56fe\u50cf\u3001\u751f\u6210\u53ef\u6253\u5370\u6587\u6863\u3001\u5c06\u6587\u6863\u63d0\u4ea4\u5230\u5728\u7ebf\u6253\u5370\u7cfb\u7edf\u7684\u5de5\u5177\uff1b\u9488\u5bf9\u5e38\u7528\u6570\u636e\u5904\u7406\u9700\u6c42\u5b9e\u73b0\u7b80\u5316\u548c\u81ea\u52a8\u5316\uff0c\u53ea\u8981\u7b80\u5355\u7684\u51e0\u884c\u4ee3\u7801\uff0c\u5c31\u80fd\u5b8c\u6210\u901a\u7528\u7684\u7ed8\u56fe\u3001\u62df\u5408\u3001\u4e0d\u786e\u5b9a\u5ea6\u8ba1\u7b97\u7b49\u5927\u7269\u5b9e\u9a8c\u5e38\u7528\u4efb\u52a1\u3002\n\u7406\u60f3\u4e0e\u73b0\u5b9e\u5dee\u8ddd\u8fd8\u5f88\u5927\uff0c\u76ee\u524d\u4ec5\u4ec5\u5305\u88c5\u4e86\u4e00\u4e9bmatplotlib\u7ed8\u56fe\u5e93\u548c\u6587\u4ef6\u8f93\u5165\u7b80\u5316\u91cd\u590d\u52b3\u52a8\u3002\n\n### A Simple Guide\n\n#### The easy way \n\nCreate a virtualenv(here named test-env)\n\n```\npython -m venv test-env\n```\n\nActivate it\n\n```\n./test-env/Scripts/activate.bat\n```\n\nInstall the package from pypi, (optional) use mirror to accelerate\n\n```\npip install -i https://mirrors.ustc.edu.cn/pypi/web/simple physicsexp\n```\n\nRun the scripts you downloaded from github in the virtualenv\n\n```\npython path/to/plot.py\n```\n\nYou'll see graphs poped out and saved to .png, a generated gen.docx ready to print, and calculations(if any) printed to output. Then you can modify the code or write your own code to process data!\n\n#### For advanced users \n\nAssuming you are using Windows.\n\n**Change the command to make then work on your device! Don't just copy & paste!**\n\n **Prepare to build**\n\nSet up environment to build and release python packages, detailed guide can be found on pypi website. \n\n**Build**\n\n```\npython setup.py sdist bdist_wheel\n```\n\nThen the packaged wheel file can be found at `./dist/physicsexp-0.0.1-py3-none-any.whl`(Name may be different)\n\n**Install**\n\n**This package haven't been tested as it should and I don't know what will happen after installation.**\n\n**So use a virtualenv is recommended. **\n\nCreate a virtualenv(here named test-env)\n\n```\npython -m venv test-env\n```\n\nActivate it\n\n```\n./test-env/Scripts/activate.bat\n```\n\nInstall the wheel (Use USTC mirror to accelerate, and it will download and install other required packages)\n\n```\npip install -i https://mirrors.ustc.edu.cn/pypi/web/simple path\\to\\physicsexp-0.0.1-py3-none-any.whl\n```\n\nWait a moment for the installation to finish.\n\n**Use**\n\nLaunch python in your venv\n\n```\npython\n```\n\nImport the package (`from xxx import *` may be bad, don't imitate me)\n\n```\n>>> from physicsexp.mainfunc import *\n>>> from physicsexp.gendocx import *\n>>>\n```\n\nEnjoy. \n\n### Usage\n\nWanna know how to use? Read the source code yourself, see templates at `physicsexp/Template/` and examples at `Experiments/`(Most of them are already outdated and cannot be run, if you really need to run them, maybe a `git reset` is the last way) , or contact developer.\n\nBut most of the time neither of these works. \n\n**And can using these tools boost your efficiency? I don't know, but probably can't. **\n\n**Finally, think twice before wasting time on this project, instead, enjoy your life, learn some real physics, and find a (boy|girl)friend. **\n\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/ustcpetergu/PhysicsExp", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "physicsexp", "package_url": "https://pypi.org/project/physicsexp/", "platform": "", "project_url": "https://pypi.org/project/physicsexp/", "project_urls": { "Homepage": "https://github.com/ustcpetergu/PhysicsExp" }, "release_url": "https://pypi.org/project/physicsexp/0.0.2/", "requires_dist": [ "numpy", "matplotlib", "scipy", "python-docx" ], "requires_python": "", "summary": "A simple wrapper of numpy and matplotlib to make physics experiment data analyse easier", "version": "0.0.2" }, "last_serial": 5242085, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c47094b0307b8cb06af8c3626e21768c", "sha256": "2b4d92487541a0eafc892615353a886f412dbf99dedd990c15e62a41e3afc303" }, "downloads": -1, "filename": "physicsexp-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c47094b0307b8cb06af8c3626e21768c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9189, "upload_time": "2019-04-07T11:55:56", "url": "https://files.pythonhosted.org/packages/53/f0/e10b2b51e7c5685fb172706e97dc883e05cc4ff7fc7bc4eb703e389146d8/physicsexp-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2338c1761c6cf492472098d50ea2db3e", "sha256": "a0d3193992aca5c948efe76bf2c8a165646e17631c7f37cdd897e20da9aeaa60" }, "downloads": -1, "filename": "physicsexp-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2338c1761c6cf492472098d50ea2db3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7341, "upload_time": "2019-04-07T11:55:58", "url": "https://files.pythonhosted.org/packages/09/59/21813a2a4d3cca882bb87a1b883cdc431a2c5bc0ca29746beca7ae81e50d/physicsexp-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "500be3434c5382d147a8c24f91d98791", "sha256": "75a09d884693469de253612fadb6fbf015a29486c7a5b0c7350901ab87f102d9" }, "downloads": -1, "filename": "physicsexp-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "500be3434c5382d147a8c24f91d98791", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9906, "upload_time": "2019-05-08T09:24:42", "url": "https://files.pythonhosted.org/packages/f7/22/c19802f27a2a7cc26896ad4d50452cbdb819a5ce82ed9fcc92bef2d45588/physicsexp-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d05b308047bafb6caeee744d14837291", "sha256": "32daee948f7107f94fed6aa55d40a808f062aadd13fcb26a47394fd6c2023d18" }, "downloads": -1, "filename": "physicsexp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d05b308047bafb6caeee744d14837291", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8196, "upload_time": "2019-05-08T09:24:44", "url": "https://files.pythonhosted.org/packages/1b/42/9f9398c842d2bf92b93409e0f66750b0c1fc46d013d4d6fb4979ca7537ad/physicsexp-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "500be3434c5382d147a8c24f91d98791", "sha256": "75a09d884693469de253612fadb6fbf015a29486c7a5b0c7350901ab87f102d9" }, "downloads": -1, "filename": "physicsexp-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "500be3434c5382d147a8c24f91d98791", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9906, "upload_time": "2019-05-08T09:24:42", "url": "https://files.pythonhosted.org/packages/f7/22/c19802f27a2a7cc26896ad4d50452cbdb819a5ce82ed9fcc92bef2d45588/physicsexp-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d05b308047bafb6caeee744d14837291", "sha256": "32daee948f7107f94fed6aa55d40a808f062aadd13fcb26a47394fd6c2023d18" }, "downloads": -1, "filename": "physicsexp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d05b308047bafb6caeee744d14837291", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8196, "upload_time": "2019-05-08T09:24:44", "url": "https://files.pythonhosted.org/packages/1b/42/9f9398c842d2bf92b93409e0f66750b0c1fc46d013d4d6fb4979ca7537ad/physicsexp-0.0.2.tar.gz" } ] }