{ "info": { "author": "huangjiangbo", "author_email": "huangjiangbo.z@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# my_singleton Package\n\nThis is a simple singleton.\nBorg pattern can achieve this aim by share state,\nhowever it can't solve this problem in which 2 objects refer circularly.\n\n```\ne.g. \nobj = object\nClass A(obj):\n def __init__(self):\n self.b_obj = B()\n\nClass B(obj):\n def __init__(self):\n self.a_obj = A()\n\nwhen we define c = A(),\nthere must be a err.\n\nbut,\nif obj = my_singleton,\nfrom nocycle_singleton.singleton import Singleton as my_singleton,\n\nwe can solve this. \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/pypa/example-project", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nocycle-singleton", "package_url": "https://pypi.org/project/nocycle-singleton/", "platform": "", "project_url": "https://pypi.org/project/nocycle-singleton/", "project_urls": { "Homepage": "https://github.com/pypa/example-project" }, "release_url": "https://pypi.org/project/nocycle-singleton/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A singleton package that can prevent reference cycle", "version": "0.0.3" }, "last_serial": 3973149, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "5b9534340aaa83644788a90355710f69", "sha256": "97d86f142fb348c119721587b8e17b2c1cdb0e8716f3948100ad1a2d69bf6169" }, "downloads": -1, "filename": "nocycle_singleton-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "5b9534340aaa83644788a90355710f69", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2564, "upload_time": "2018-06-18T11:28:42", "url": "https://files.pythonhosted.org/packages/bd/c0/ee1c9a35130f3cb9c8dcebbe9e79ba327aa6c505054882ccbce725e14574/nocycle_singleton-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f889f71b3712e9785b37fd4855ea2682", "sha256": "bcd36c551104cf1a75801624fe0ce0c2a689625bcc93c1431fc11db5077c3e83" }, "downloads": -1, "filename": "nocycle_singleton-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f889f71b3712e9785b37fd4855ea2682", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2030, "upload_time": "2018-06-18T11:28:43", "url": "https://files.pythonhosted.org/packages/81/23/22e436587bc27e7cc644ab3e8c230eba6fe0f94d7d9c92a6026802729f7e/nocycle_singleton-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b9534340aaa83644788a90355710f69", "sha256": "97d86f142fb348c119721587b8e17b2c1cdb0e8716f3948100ad1a2d69bf6169" }, "downloads": -1, "filename": "nocycle_singleton-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "5b9534340aaa83644788a90355710f69", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2564, "upload_time": "2018-06-18T11:28:42", "url": "https://files.pythonhosted.org/packages/bd/c0/ee1c9a35130f3cb9c8dcebbe9e79ba327aa6c505054882ccbce725e14574/nocycle_singleton-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f889f71b3712e9785b37fd4855ea2682", "sha256": "bcd36c551104cf1a75801624fe0ce0c2a689625bcc93c1431fc11db5077c3e83" }, "downloads": -1, "filename": "nocycle_singleton-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f889f71b3712e9785b37fd4855ea2682", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2030, "upload_time": "2018-06-18T11:28:43", "url": "https://files.pythonhosted.org/packages/81/23/22e436587bc27e7cc644ab3e8c230eba6fe0f94d7d9c92a6026802729f7e/nocycle_singleton-0.0.3.tar.gz" } ] }