{ "info": { "author": "Singein", "author_email": "Singein@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: OpenStack", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "OSProfile\n=========\n\n\u8fd9\u662f\u4e00\u4e2a\u7528\u6765\u5728\u8de8\u5e73\u53f0\u5f00\u53d1\u5e94\u7528\u65f6\uff0c\u89e3\u51b3\u5e94\u7528\u7684\u914d\u7f6e\u6587\u4ef6\u5728Windows\u53ca\u7c7bUnix\u7cfb\u7edf\u4e2d\u5b58\u653e\u8def\u5f84\u7684\u95ee\u9898\u3002\n\nQuick Start\n-----------\n\n\u76f4\u63a5\u4f7f\u7528\uff1a\n\n.. code:: python\n\n from osprofile import OSProfile\n\n # \u6784\u9020 \n # \u5c06\u5728 \u7c7bUnix\u7684\uff5e/.config/myappname/myappname.json \u6587\u4ef6\u4e2d\uff0c\n # \u6216\u8005 \u5728Windows\u4e0b\u7684 c:\\\\users\\\\\\\\appdata\\\\Local\\\\myappname\\\\myapp.json \u6587\u4ef6\u4e2d\uff0c\n # \u5199\u5165\u9ed8\u8ba4\u914d\u7f6e options1:'1234'\n osp = OSProfile(appname='myappname', profile='myappname.json', options=dict('options1':'1234'))\n\n # \u4ece\u6587\u4ef6\u83b7\u53d6\u914d\u7f6e, \u8fd4\u56de\u5b57\u5178\n osp.read_profile()\n\n # \u66f4\u65b0\u914d\u7f6e\u6587\u4ef6, \u4f20\u5165\u5b57\u5178\uff0c\u5bf9\u5df2\u5b58\u5728\u7684\u952e\u503c\u8fdb\u884c\u8986\u76d6\uff0c\u4e0d\u5b58\u5728\u7684\u8fdb\u884c\u6dfb\u52a0\n kwargs = dict(options1='12345', options2='11111')\n osp.update_profile(kwargs)\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.singein.com", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "osprofile", "package_url": "https://pypi.org/project/osprofile/", "platform": "", "project_url": "https://pypi.org/project/osprofile/", "project_urls": { "Homepage": "http://www.singein.com" }, "release_url": "https://pypi.org/project/osprofile/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "os profile solution", "version": "0.1.0" }, "last_serial": 4861333, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9ff8520321c91b33a269fc87fcea2196", "sha256": "54cf4fbc5330228203d5a99be10cab0ef3be8f898734da64e5babeb1019e6fa3" }, "downloads": -1, "filename": "osprofile-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9ff8520321c91b33a269fc87fcea2196", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 3374, "upload_time": "2019-02-24T15:53:29", "url": "https://files.pythonhosted.org/packages/f6/b5/3fe5e4b7dcc0a22eb1a13e8c9cbd0bddbabaeab3e95a70c39ec6038e501e/osprofile-0.1.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9ff8520321c91b33a269fc87fcea2196", "sha256": "54cf4fbc5330228203d5a99be10cab0ef3be8f898734da64e5babeb1019e6fa3" }, "downloads": -1, "filename": "osprofile-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9ff8520321c91b33a269fc87fcea2196", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 3374, "upload_time": "2019-02-24T15:53:29", "url": "https://files.pythonhosted.org/packages/f6/b5/3fe5e4b7dcc0a22eb1a13e8c9cbd0bddbabaeab3e95a70c39ec6038e501e/osprofile-0.1.0-py3-none-any.whl" } ] }