{ "info": { "author": "Patrick Hohenecker", "author_email": "mail@paho.at", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "static-init\n===========\n\nThe module [staticinit](staticinit.py) defines the decorator `@staticinit.init()` for classes, which executes a static\nconstructor after the annotated class has been created.\nBy default, the name of the according constructor method is assumed to be `__static_init__`, but an alternative name may\nbe specified via the keyword arg `init_meth`. \nNotice further that the constructor has to be a class method.\n\nThe following example illustrates how to use this module: \n```python\nimport staticinit\n\n@staticinit.init()\nclass SomeClass(object):\n\n @classmethod\n def __static_init__(cls):\n # do some initialization stuff here...\n```", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/phohenecker/static-init/archive/2017.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/phohenecker/static-init", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "staticinit", "package_url": "https://pypi.org/project/staticinit/", "platform": "", "project_url": "https://pypi.org/project/staticinit/", "project_urls": { "Download": "https://github.com/phohenecker/static-init/archive/2017.1.tar.gz", "Homepage": "https://github.com/phohenecker/static-init" }, "release_url": "https://pypi.org/project/staticinit/2017.1/", "requires_dist": null, "requires_python": "", "summary": "A class decorator for invoking static constructors.", "version": "2017.1" }, "last_serial": 3331664, "releases": { "2017.1": [ { "comment_text": "", "digests": { "md5": "fff943c14642e3c4758df0ad9d9f4246", "sha256": "d368f8b02ade4dff8751b48ebebba37ff1051634946356a752f0eb0048ae3a33" }, "downloads": -1, "filename": "staticinit-v2017.1.tar.gz", "has_sig": false, "md5_digest": "fff943c14642e3c4758df0ad9d9f4246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2583, "upload_time": "2017-11-14T13:42:08", "url": "https://files.pythonhosted.org/packages/82/4b/035e5984f3761f1efc1dbd181d1bf308600fc20b44b4e2ab0389b2914136/staticinit-v2017.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fff943c14642e3c4758df0ad9d9f4246", "sha256": "d368f8b02ade4dff8751b48ebebba37ff1051634946356a752f0eb0048ae3a33" }, "downloads": -1, "filename": "staticinit-v2017.1.tar.gz", "has_sig": false, "md5_digest": "fff943c14642e3c4758df0ad9d9f4246", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2583, "upload_time": "2017-11-14T13:42:08", "url": "https://files.pythonhosted.org/packages/82/4b/035e5984f3761f1efc1dbd181d1bf308600fc20b44b4e2ab0389b2914136/staticinit-v2017.1.tar.gz" } ] }