Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Version = 0.0.5_2025-22-12
| Creepy Vibes... | Unacceptable. Words and flirts CAN hurt. End coercion. |
| Users vs Developers | Everyone involved, anywhere. Skill DIVERSITY, not division. |

\*More behavior guidelines
https://www.recurse.com/social-rules

## Constructive Criticism Guide:

- Ask consent first. Don't forget to wait for the answer!
Expand Down
47 changes: 14 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]

authors = [
{ name = "darkshapes", email = "[email protected]" },
]
authors = [{ name = "darkshapes", email = "[email protected]" }]
description = "Multimodal generative media sequencer"
license = { file = "LICENSE" }
name = "zodiac"
Expand Down Expand Up @@ -44,8 +42,8 @@ classifiers = [
]
dependencies = [
"dspy>=2.6.27",
"litellm>=1.72.0",
"tokenizers==0.21.2", #force for non linux
"litellm==1.80.7",
"tokenizers==0.21.2", #force for non linux
"networkx>=3.5",
"sounddevice>=0.5.2",
"soundfile>=0.13.1",
Expand All @@ -69,9 +67,8 @@ dev = [
"pdoc>=16.0.0",
]


[project.optional-dependencies]
mps = ["nnll[mps]@ git+https://github.com/darkshapes/[email protected]"]
mps = ["nnll[mps]@ git+https://github.com/darkshapes/[email protected]"]
cuda = ["nnll[cuda ]@ git+https://github.com/darkshapes/[email protected]"]

console = [
Expand All @@ -83,51 +80,35 @@ console = [
toga = ["toga>=0.5.1"]
full = ["zodiac[toga]"]


dev = [
"matplotlib>=3.10.3",
"pytest>=8.4.0",
"pytest-asyncio>=1.0.0",
"ruff>=0.11.12",
"nnll[dev] @ git+https://github.com/darkshapes/[email protected]",
"zodiac[full,console]",
]
dev = ["matplotlib>=3.10.3", "pytest>=8.4.0", "pytest-asyncio>=1.0.0", "ruff>=0.11.12", "nnll[dev] @ git+https://github.com/darkshapes/[email protected]", "zodiac[full,console]"]

[project.urls]
Homepage = "https://github.com/darkshapes/zodiac"
Homepage = "https://github.com/darkshapes/zodiac"
Documentation = "https://github.com/darkshapes/sdbx/wiki"

[project.scripts]
zdac = "zodiac.toga.__main__:main"
zdac = "zodiac.toga.__main__:main"
zdac-pool = "zodiac.providers.pools:generate_pool"
zodiac = "zodiac.toga.__main__:main"
zodiac = "zodiac.toga.__main__:main"

[tool.setuptools]
packages = ["zodiac"]

[tool.uv]
preview = true
prerelease = "allow"
conflicts = [
[
{ extra = "torch" },
{ extra = "mps" },
{ extra = "cuda" },
{ extra = "xpu" },
{ extra = "rocm" },
],
]
conflicts = [[{ extra = "torch" }, { extra = "mps" }, { extra = "cuda" }, { extra = "xpu" }, { extra = "rocm" }]]
[tool.ruff]
line-length = 140
include = ["*.py"]
line-length = 140
include = ["*.py"]
extend-exclude = ["^tests/.*$", "test.*$"]

# [tool.ruff.format]
# exclude = ["*.py"]

[tool.pylint]
max-line-length = 140
ignore-paths = ["^tests/.*$", "test_.*$"]
ignore-paths = ["^tests/.*$", "test_.*$"]

[tool.pylint.messages_control]
disable = ["C0415"]
Expand All @@ -139,7 +120,7 @@ ignore = ["E731"]
convention = "numpy"

[tool.ruff.lint.pycodestyle]
max-line-length = 140
max-line-length = 140
ignore-overlong-task-comments = true

[tool.typos]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cuetype.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# # # <!-- // /* SPDX-License-Identifier: MPL-2.0 */ -->
# # # <!-- // /* d a r k s h a p e s */ -->
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->


import pytest
Expand Down
3 changes: 3 additions & 0 deletions tests/test_find_package.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->

import pytest
import pytest_asyncio
from unittest.mock import patch
Expand Down
5 changes: 3 additions & 2 deletions tests/test_flow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# # # <!-- // /* SPDX-License-Identifier: MPL-2.0*/ -->
# # # <!-- // /* d a r k s h a p e s */ -->
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->

import pytest
from unittest import TestCase
from nnll.monitor.console import nfo
Expand Down
5 changes: 3 additions & 2 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# # # # <!-- // /* SPDX-License-Identifier: MPL-2.0*/ -->
# # # # <!-- // /* d a r k s h a p e s */ -->
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->


# pylint:disable=redefined-outer-name
# pylint:disable=redefined-builtin
Expand Down
3 changes: 3 additions & 0 deletions tests/test_has_api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->

import pytest
from unittest.mock import patch, MagicMock
import requests
Expand Down
2 changes: 2 additions & 0 deletions tests/test_register_types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MPL-2.0 AND LicenseRef-Commons-Clause-License-Condition-1.0
# <!-- // /* d a r k s h a p e s */ -->
import pytest
from pydantic import BaseModel
from typing import List, Tuple
Expand Down
142 changes: 70 additions & 72 deletions uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion zodiac/providers/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async def generate_cache_data() -> Any:
try:
cache_dir = scan_cache_dir()
except CacheNotFound:
nfo("Cache error")
nfo("Cache error: No HuggingFace cache found")
yield None, None
else:
for repo in cache_dir.repos:
Expand Down
Loading