Skip to content
@DazzleLib

DazzleLib

DazzleLib

Foundation Libraries for the Dazzle Ecosystem

GitHub PyPI License: MIT Sponsor

High-quality, reusable Python libraries that power DazzleTools, DazzleML, and DazzleNodes.


What is DazzleLib?

DazzleLib is a collection of foundational Python libraries designed to solve common development challenges with cross-platform compatibility, robust error handling, and minimal dependencies. Built on principles of composability and clarity, these libraries are the building blocks powering the entire Dazzle ecosystem.

Read our design philosophy →


Libraries

Cross-platform file operations with verification and metadata preservation

PyPI

pip install dazzle-filekit

File operations (copy, move, verify) with hash calculation, metadata preservation, and cross-platform path handling including Windows UNC paths.

Full documentation → | Repository →


Tree structure utilities for hierarchical data

PyPI

pip install dazzletreelib

Generic tree data structures with traversal algorithms (DFS, BFS), visualization tools, and path-based operations.

Full documentation → | Repository →


Windows UNC path handling and network drive utilities

PyPI

pip install unctools

Parse UNC paths, detect network drives, convert between drive letters and UNC paths, and handle long path names (>260 characters). Cross-platform safe with graceful no-ops on Unix systems.

Full documentation → | Repository →


Quick Start

# File operations with verification
from dazzle_filekit import copy_file, calculate_file_hash

copy_file("source.txt", "dest.txt", preserve_metadata=True)
hash_value = calculate_file_hash("file.txt", algorithm="sha256")

# Tree structures
from dazzletreelib import TreeNode

root = TreeNode("root")
child = root.add_child("child1")

# Windows UNC paths
from unctools import is_unc_path, parse_unc_path

if is_unc_path(r"\\server\share\file.txt"):
    server, share, path = parse_unc_path(r"\\server\share\file.txt")

Documentation


Used By

DazzleLib powers these projects in the Dazzle ecosystem:

DazzleTools: preserve, dazzlelink, relinker (future) DazzleML: File organization and training data management DazzleNodes: ComfyUI custom nodes file operations


Platform Support

Library Windows Linux macOS Python
dazzle-filekit ✅ Full ✅ Full ✅ Full 3.8+
dazzle-tree-lib ✅ Full ✅ Full ✅ Full 3.8+
UNCtools ✅ Full ⚠️ No-op ⚠️ No-op 3.8+

Contributing

Contributions are welcome! Each library has its own repository with contribution guidelines.

General Process:

  1. Fork the library repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Ensure all tests pass (pytest)
  5. Submit a pull request

Read full contributing guidelines →


💰 Sustainability

Learn about supporting DazzleLib →

If DazzleLib saves you time, consider sponsoring on GitHub or buying us a coffee


Part of DazzleProj

DazzleLib is one of five organizations in the Dazzle ecosystem:


License

All DazzleLib libraries are released under the MIT License for maximum compatibility with both open source and commercial projects.

See individual library repositories for specific license files.


Contact


Build better tools with DazzleLib 🛠️

Popular repositories Loading

  1. UNCtools UNCtools Public

    Universal Naming Convention (UNC) path tools for Python

    Python

  2. dazzle-tree-lib dazzle-tree-lib Public

    Universal tree traversal library for Python. One API for any tree structure - filesystem, database, API, or custom. Features async/sync parity, composable adapters, and 4-5x caching speedup.

    Python

  3. dazzle-filekit dazzle-filekit Public

    Cross-platform file operations toolkit with path handling, verification, and metadata preservation

    Python

  4. .github .github Public

    DazzleLib organization profile and community health files

Repositories

Showing 4 of 4 repositories
  • .github Public

    DazzleLib organization profile and community health files

    DazzleLib/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Nov 8, 2025
  • dazzle-filekit Public

    Cross-platform file operations toolkit with path handling, verification, and metadata preservation

    DazzleLib/dazzle-filekit’s past year of commit activity
    Python 0 MIT 0 2 (1 issue needs help) 0 Updated Oct 28, 2025
  • UNCtools Public

    Universal Naming Convention (UNC) path tools for Python

    DazzleLib/UNCtools’s past year of commit activity
    Python 0 MIT 0 2 0 Updated Oct 28, 2025
  • dazzle-tree-lib Public

    Universal tree traversal library for Python. One API for any tree structure - filesystem, database, API, or custom. Features async/sync parity, composable adapters, and 4-5x caching speedup.

    DazzleLib/dazzle-tree-lib’s past year of commit activity
    Python 0 MIT 0 26 0 Updated Oct 27, 2025

Top languages

Python

Most used topics

Loading…