yors_comfyui_node_as_x_type


Nameyors_comfyui_node_as_x_type JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com//blob/main/packages/yors_comfyui_node_as_x_type/README.md
Summarysome comfyui custom nodes to set it as known type
upload_time2024-07-13 14:27:27
maintainerNone
docs_urlNone
authoryemiancheng
requires_python<4.0,>=3.10
licenseLICENSE
keywords artist panz mono yors_comfyui_node_as_x_type
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <h1>yors_comfyui_node_as_x_type</h1>
  <p>
    <strong>🤖 some comfyui custom nodes to set it as known type.</strong>
  </p>
  
  ![PyPI - Version](https://img.shields.io/pypi/v/yors_comfyui_node_as_x_type)
  ![PyPI - License](https://img.shields.io/pypi/l/yors_comfyui_node_as_x_type)

</div>

## features

- feat(core): node to set it as any type
- feat(core): node to set it as image type
- feat(core): node to set it as model type
- feat(core): node to set it as clip type
- feat(core): node to set it as vae type
- feat(core): node to set it as conditioning type
- feat(core): node to set it as latent type
- feat(core): node to set it as string type
- feat(core): node to set it as int type
- feat(core): node to set it as float type
- feat(core): node to set it as number type

## 1 - install python package

```bash
pip install yors_comfyui_node_setup
pip install yors_comfyui_node_as_x_type
```

## 2 - use it in your python code

- in some comfyui custom nodes project or module

- code in `__init__.py`

```py
from yors_comfyui_node_setup import entry,node_install_requirements # global

# install requirements
node_install_requirements(__file__)

# export comfyui node vars
__all__,NODE_CLASS_MAPPINGS,NODE_DISPLAY_NAME_MAPPINGS,NODE_MENU_NAMES = entry(__name__,__file__)
```

## 3 - code yours nodes

- dirs map of your node may be:

```
.
└─__init__.py
└─nodes.py
```

- in any py file (no test in `__init__.py`)
- code nodes.py

```py
# base usage
from yors_comfyui_node_as_x_type import *

# # custom category ? do: (to test)
# all_class_in_this_module = get_classes_in_module(get_module(__name__))
# # all_class_in_this_module = get_classes_in_module(nodes)
# node_class_in_this_module=get_node_class(all_class_in_this_module)
# # log_node_class(node_class_in_this_module)
# set_node_class_category(node_class_in_this_module,"YMC/as_x_type")
# # log_node_class(node_class_in_this_module)
```

## Author

ymc-github <ymc.github@gmail.com>

## License

MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com//blob/main/packages/yors_comfyui_node_as_x_type/README.md",
    "name": "yors_comfyui_node_as_x_type",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "artist, panz, mono, yors_comfyui_node_as_x_type",
    "author": "yemiancheng",
    "author_email": "ymc.github@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/eb/83/f4e1df130374621d4cb4b65892a160a064443a5f4d3bc0e92b59ddaa653e/yors_comfyui_node_as_x_type-0.2.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <h1>yors_comfyui_node_as_x_type</h1>\n  <p>\n    <strong>\ud83e\udd16 some comfyui custom nodes to set it as known type.</strong>\n  </p>\n  \n  ![PyPI - Version](https://img.shields.io/pypi/v/yors_comfyui_node_as_x_type)\n  ![PyPI - License](https://img.shields.io/pypi/l/yors_comfyui_node_as_x_type)\n\n</div>\n\n## features\n\n- feat(core): node to set it as any type\n- feat(core): node to set it as image type\n- feat(core): node to set it as model type\n- feat(core): node to set it as clip type\n- feat(core): node to set it as vae type\n- feat(core): node to set it as conditioning type\n- feat(core): node to set it as latent type\n- feat(core): node to set it as string type\n- feat(core): node to set it as int type\n- feat(core): node to set it as float type\n- feat(core): node to set it as number type\n\n## 1 - install python package\n\n```bash\npip install yors_comfyui_node_setup\npip install yors_comfyui_node_as_x_type\n```\n\n## 2 - use it in your python code\n\n- in some comfyui custom nodes project or module\n\n- code in `__init__.py`\n\n```py\nfrom yors_comfyui_node_setup import entry,node_install_requirements # global\n\n# install requirements\nnode_install_requirements(__file__)\n\n# export comfyui node vars\n__all__,NODE_CLASS_MAPPINGS,NODE_DISPLAY_NAME_MAPPINGS,NODE_MENU_NAMES = entry(__name__,__file__)\n```\n\n## 3 - code yours nodes\n\n- dirs map of your node may be:\n\n```\n.\n\u2514\u2500__init__.py\n\u2514\u2500nodes.py\n```\n\n- in any py file (no test in `__init__.py`)\n- code nodes.py\n\n```py\n# base usage\nfrom yors_comfyui_node_as_x_type import *\n\n# # custom category ? do: (to test)\n# all_class_in_this_module = get_classes_in_module(get_module(__name__))\n# # all_class_in_this_module = get_classes_in_module(nodes)\n# node_class_in_this_module=get_node_class(all_class_in_this_module)\n# # log_node_class(node_class_in_this_module)\n# set_node_class_category(node_class_in_this_module,\"YMC/as_x_type\")\n# # log_node_class(node_class_in_this_module)\n```\n\n## Author\n\nymc-github <ymc.github@gmail.com>\n\n## License\n\nMIT\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "some comfyui custom nodes to set it as known type",
    "version": "0.2.0",
    "project_urls": {
        "Documentation": "https://github.com//blob/main/packages/yors_comfyui_node_as_x_type/README.md",
        "Homepage": "https://github.com//blob/main/packages/yors_comfyui_node_as_x_type/README.md",
        "Repository": "https://github.com/.git",
        "changelog": "https://github.com//blob/main/packages/yors_comfyui_node_as_x_type/CHANGELOG.md"
    },
    "split_keywords": [
        "artist",
        " panz",
        " mono",
        " yors_comfyui_node_as_x_type"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fecb568a7a356fcd36241ba994a5c45d591a89635b4c23a949d42737f2b70c54",
                "md5": "ce15bec57d909a147dca4d4a6db73b11",
                "sha256": "7d1101d735322d492bd9c3c0bfc5f3515dfaed20674bf6c967f26cadc64b2adf"
            },
            "downloads": -1,
            "filename": "yors_comfyui_node_as_x_type-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ce15bec57d909a147dca4d4a6db73b11",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 3776,
            "upload_time": "2024-07-13T14:27:25",
            "upload_time_iso_8601": "2024-07-13T14:27:25.707186Z",
            "url": "https://files.pythonhosted.org/packages/fe/cb/568a7a356fcd36241ba994a5c45d591a89635b4c23a949d42737f2b70c54/yors_comfyui_node_as_x_type-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb83f4e1df130374621d4cb4b65892a160a064443a5f4d3bc0e92b59ddaa653e",
                "md5": "1caf81172b5a678e6ca294879b2d3724",
                "sha256": "02cda0b6bea81b2eee1ccb792562b667a48e9809ae83363ed78ed162e621bc7f"
            },
            "downloads": -1,
            "filename": "yors_comfyui_node_as_x_type-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1caf81172b5a678e6ca294879b2d3724",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 3097,
            "upload_time": "2024-07-13T14:27:27",
            "upload_time_iso_8601": "2024-07-13T14:27:27.199207Z",
            "url": "https://files.pythonhosted.org/packages/eb/83/f4e1df130374621d4cb4b65892a160a064443a5f4d3bc0e92b59ddaa653e/yors_comfyui_node_as_x_type-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-13 14:27:27",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "yors_comfyui_node_as_x_type"
}
        
Elapsed time: 0.80517s