-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
155 lines (131 loc) · 3.29 KB
/
pyproject.toml
File metadata and controls
155 lines (131 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[build-system]
requires = ["setuptools>=61.0", # Web and utilities
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
"pydantic>=2.0.0",
"aiofiles>=23.0.0",
"markdownify>=1.1.0"]
build-backend = "setuptools.build_meta"
[project]
name = "weavemuse"
version = "0.2.1"
description = "A comprehensive music agent framework using smolagents for generation and understanding"
authors = [{name = "Emmanouil Karystinaios", email = "manoskaristineos@gmail.com"}]
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = {text = "MIT"}
keywords = ["music", "ai", "agent", "generation", "understanding", "smolagents"]
dependencies = [
# Core framework and agents
# AI agents and tools
"smolagents>=1.20.0",
# Web interface and client
"gradio>=4.0.0",
"gradio_pdf>=0.0.22",
"gradio_client>=0.19.3",
# Deep learning frameworks
"torch>=2.0.0",
"torchaudio>=2.0.0",
"transformers>=4.35.0",
"diffusers>=0.25.0",
"accelerate>=0.21.0",
"bitsandbytes>=0.46.1",
# Music notation and symbolic music
"symusic>=0.4.0",
"music21>=9.1.0",
"abctoolkit>=0.0.6",
"mcpadapt>=0.1.13",
"samplings>=0.1.7",
"pyparsing>=3.2.1",
# Audio processing and generation
"librosa>=0.10.0",
"soundfile>=0.12.0",
"torchsde",
# Scientific computing
"numpy>=1.24.0,<2.0.0",
"pandas>=2.0.0",
"scipy>=1.11.0",
"matplotlib>=3.7.0",
"einops>=0.6.0",
# Web and utilities
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
"pydantic>=2.0.0",
"aiofiles>=23.0.0",
"markdownify>=1.1.0,<=1.2.0",
"ddgs",
# HuggingFace and model utilities
"huggingface-hub>=0.17.0",
"jsonref>=1.1.0",
# Image and PDF processing
"pillow>=10.0.0",
"PyMuPDF>=1.23.0",
]
[project.optional-dependencies]
# Development dependencies
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.5.0",
"uv>=0.8.0",
]
# GPU optimized packages for CUDA acceleration
gpu = [
"xformers>=0.0.22", # Memory efficient attention
]
# Remote API dependencies for cloud inference
remote = [
"openai>=1.0.0",
"anthropic>=0.7.0",
"google-generativeai>=0.3.0",
]
# Complete audio dependencies with additional codecs
audio = [
"ffmpeg-python>=0.2.0",
"pydub>=0.25.0",
"aubio>=0.4.9",
"soundfile>=0.12.0",
]
# Extended music analysis tools
music = [
"pretty_midi>=0.2.10",
"mido>=1.3.0",
"fluidsynth>=0.2.0",
"pyfluidsynth>=1.3.0",
]
# All dependencies combined
all = [
"weavemuse[gpu]",
"weavemuse[remote]",
"weavemuse[audio]",
"weavemuse[music]",
]
[project.urls]
Homepage = "https://github.com/manoskary/weavemuse"
Repository = "https://github.com/manoskary/weavemuse"
[project.scripts]
weavemuse = "weavemuse.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["weavemuse*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
weavemuse = [
"models/notagen/*.txt",
"models/notagen/*.json",
]
[tool.black]
line-length = 88
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true