# PySingletonMeta
A lightweight singleton metaclass for clean and comfy imports.
---
## Installation
```bash
pip install PySingletonMeta
```
---
## Example
```python
from pysingletonmeta import SingletonMeta
class StreamingService(metaclass=SingletonMeta):
pass
a = StreamingService()
b = StreamingService()
assert a is b # True
```
---
That’s all you need.
Raw data
{
"_id": null,
"home_page": "https://github.com/a-jean-andreasian/Lambda-REST-Client",
"name": "PySingletonMeta",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Armen-Jean Andreasian",
"author_email": "armen.andreasian.dev@proton.me",
"download_url": "https://files.pythonhosted.org/packages/7a/08/a03706ff2aaf82ad64f2caacb4cb4123cb714a727e77ee3dd24216b85e3b/pysingletonmeta-0.1.0.3.tar.gz",
"platform": null,
"description": "# PySingletonMeta\r\n\r\nA lightweight singleton metaclass for clean and comfy imports.\r\n\r\n---\r\n## Installation\r\n\r\n```bash\r\npip install PySingletonMeta\r\n```\r\n\r\n---\r\n## Example\r\n\r\n```python\r\nfrom pysingletonmeta import SingletonMeta\r\n\r\nclass StreamingService(metaclass=SingletonMeta):\r\n pass\r\n\r\na = StreamingService()\r\nb = StreamingService()\r\n\r\nassert a is b # True\r\n```\r\n\r\n---\r\n\r\nThat\u2019s all you need.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Singleton Metaclass for comfy imports",
"version": "0.1.0.3",
"project_urls": {
"Homepage": "https://github.com/a-jean-andreasian/Lambda-REST-Client"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "7a08a03706ff2aaf82ad64f2caacb4cb4123cb714a727e77ee3dd24216b85e3b",
"md5": "98aa84cd92538d2953130ad15563de00",
"sha256": "d991b8986feb8513f1ae31115e16760582e640e44e725d54a19f39ec97e01566"
},
"downloads": -1,
"filename": "pysingletonmeta-0.1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "98aa84cd92538d2953130ad15563de00",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2786,
"upload_time": "2025-11-09T07:55:00",
"upload_time_iso_8601": "2025-11-09T07:55:00.412614Z",
"url": "https://files.pythonhosted.org/packages/7a/08/a03706ff2aaf82ad64f2caacb4cb4123cb714a727e77ee3dd24216b85e3b/pysingletonmeta-0.1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-11-09 07:55:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "a-jean-andreasian",
"github_project": "Lambda-REST-Client",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pysingletonmeta"
}