Skip to main content

yors_comfyui_node_as_x_type

🤖 some comfyui custom nodes to set it as known type.

PyPI - Version PyPI - License

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

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

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
# 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

Metadata

Release files for yors_comfyui_node_as_x_type 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yors_comfyui_node_as_x_type 0.2.1
File Size Uploaded Provenance Actions
yors_comfyui_node_as_x_type-0.2.1.tar.gz 2.7 kB Without provenance Details for yors_comfyui_node_as_x_type-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yors_comfyui_node_as_x_type 0.2.1
File Interpreter ABI Platform Actions
yors_comfyui_node_as_x_type-0.2.1-py3-none-any.whl Python 3 none any Details for yors_comfyui_node_as_x_type-0.2.1-py3-none-any.whl

Total release size: 6.1 kB

Release files / yors_comfyui_node_as_x_type-0.2.1.tar.gz

Download URL yors_comfyui_node_as_x_type-0.2.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7668ca1cd7aa421ec4f72db88475b2b78a71a780879e9fa119bc024135428ef0
BLAKE2b-256 checksum
How to use checksums
ae59c51a51977238510a6d558cbeed10ffde5930478b68c5f6f20e1bf9b0fe6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.6 Windows/10

Release files / yors_comfyui_node_as_x_type-0.2.1-py3-none-any.whl

Download URL yors_comfyui_node_as_x_type-0.2.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
076c9fdd31e0125b1a89bc27161ab6397892ef46eb9cf6e11eb11e165aa77e23
BLAKE2b-256 checksum
How to use checksums
6c7a2c96a4dd8a17bcf106b881524b104b183f622c75315bec836ba9944f7996
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.6 Windows/10

Security for yors_comfyui_node_as_x_type 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page