{ "info": { "author": "James M Allen", "author_email": "james.m.allen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "========\nOverview\n========\n\n\n\nDeclaring singleton classes and singleton factories with different scopes of instantiation, striving for thread-safety and simplicity.\n\n* Free software: MIT license\n\nInstallation\n============\n\n::\n\n pip install singletons\n\nQuick Example\n=============\n\n::\n\n\timport singletons\n\n @singletons.GlobalFactory\n def my_uuid():\n return uuid.uuid4()\n\n # elsewhere...\n my_uuid() # will return the global instance of a UUID object\n\nDocumentation\n=============\n\nhttps://python-singletons.readthedocs.io/\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\n\nChangelog\n=========\n\nmaster\n------\n\n0.2.2 (2018-02-01)\n------------------\n\n* Shows warning rather than giving exception when using greenthread singletons without a greenthread environment\n\n0.2.1 (2018-01-29)\n------------------\n\n* CI changes\n\n0.2.0 (2018-01-23)\n------------------\n\n* More tests\n* Usage examples added to documentation\n* Fixed issues revealed by tests\n\n0.1.0 (2018-01-22)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jamesmallen/python-singletons", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "singletons", "package_url": "https://pypi.org/project/singletons/", "platform": "", "project_url": "https://pypi.org/project/singletons/", "project_urls": { "Homepage": "https://github.com/jamesmallen/python-singletons" }, "release_url": "https://pypi.org/project/singletons/0.2.3/", "requires_dist": [ "eventlet; extra == 'eventlet'", "gevent; extra == 'gevent'" ], "requires_python": "", "summary": "Singleton metaclasses and singleton factories", "version": "0.2.3" }, "last_serial": 4289609, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "71c456174bebe728ce0f4fc98a7a4f1d", "sha256": "a0aeef3e2bc3416ec3c8c5cfb31e4346b96685d3a3ee5e899486d9ef6f199f2c" }, "downloads": -1, "filename": "singletons-0.1.0.tar.gz", "has_sig": false, "md5_digest": "71c456174bebe728ce0f4fc98a7a4f1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13836, "upload_time": "2018-01-22T22:00:02", "url": "https://files.pythonhosted.org/packages/52/ee/b1219fa389b3b79df14c67f805833933601c6678dde68b48163d42edb692/singletons-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2813d0b93ebd47e7d5a9f292a8c2deca", "sha256": "54ea32d23e767c93ae003262699125428935cbdd0e0fd87435fa61d50dda520b" }, "downloads": -1, "filename": "singletons-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2813d0b93ebd47e7d5a9f292a8c2deca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15438, "upload_time": "2018-01-23T19:08:06", "url": "https://files.pythonhosted.org/packages/79/15/3af3abbee649f8509c2850b3933426e9c4053c6e7f655e147ecb0dd1a564/singletons-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "af40f3615a32d9cb517b377af64358de", "sha256": "06f58fe991019b1f638158f11c0ca584de2aa01b28ffd00709b05e52b0051a48" }, "downloads": -1, "filename": "singletons-0.2.1.tar.gz", "has_sig": false, "md5_digest": "af40f3615a32d9cb517b377af64358de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15529, "upload_time": "2018-01-29T16:05:38", "url": "https://files.pythonhosted.org/packages/01/8c/eb9c638fc87d883354f1143a1703e61cc19e393e313fd06928b616489fec/singletons-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "82dadc814846bcca469969d414aca24a", "sha256": "156ab9e99bb132e1ecb2b7c6bc22aa8b21914fcb583cf2da6eac9e3b282501fc" }, "downloads": -1, "filename": "singletons-0.2.2.tar.gz", "has_sig": false, "md5_digest": "82dadc814846bcca469969d414aca24a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16041, "upload_time": "2018-02-01T17:31:51", "url": "https://files.pythonhosted.org/packages/aa/63/476f1ea7219f1bb64445b6fff5e44d5f890b0b3a6a34223bf69c92b399be/singletons-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "be18497b9ba61ded8093b59a06180806", "sha256": "d1fa48be24bb301ae6f4a4be10f4a4535f4618b154aac26bb3b1d1e0996eb6cf" }, "downloads": -1, "filename": "singletons-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "be18497b9ba61ded8093b59a06180806", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6742, "upload_time": "2018-09-19T18:12:04", "url": "https://files.pythonhosted.org/packages/b4/30/5d42c24bf08ffcc931479c638a0eac841b65a480a5c4736959a28fcb2e30/singletons-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bfd628227b2c57ccb6886fdfcf07aab9", "sha256": "94b7e8a3edbae48e05f0ac960c6bc0aa7820702584732149ac73e5f81f23abfb" }, "downloads": -1, "filename": "singletons-0.2.3.tar.gz", "has_sig": false, "md5_digest": "bfd628227b2c57ccb6886fdfcf07aab9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15629, "upload_time": "2018-09-19T18:12:05", "url": "https://files.pythonhosted.org/packages/fe/6b/cc87519118346dd5b3f7411cf8f0e669ab5bda16f7223cdc132105452027/singletons-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be18497b9ba61ded8093b59a06180806", "sha256": "d1fa48be24bb301ae6f4a4be10f4a4535f4618b154aac26bb3b1d1e0996eb6cf" }, "downloads": -1, "filename": "singletons-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "be18497b9ba61ded8093b59a06180806", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6742, "upload_time": "2018-09-19T18:12:04", "url": "https://files.pythonhosted.org/packages/b4/30/5d42c24bf08ffcc931479c638a0eac841b65a480a5c4736959a28fcb2e30/singletons-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bfd628227b2c57ccb6886fdfcf07aab9", "sha256": "94b7e8a3edbae48e05f0ac960c6bc0aa7820702584732149ac73e5f81f23abfb" }, "downloads": -1, "filename": "singletons-0.2.3.tar.gz", "has_sig": false, "md5_digest": "bfd628227b2c57ccb6886fdfcf07aab9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15629, "upload_time": "2018-09-19T18:12:05", "url": "https://files.pythonhosted.org/packages/fe/6b/cc87519118346dd5b3f7411cf8f0e669ab5bda16f7223cdc132105452027/singletons-0.2.3.tar.gz" } ] }