| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- [build-system]
- requires = ["setuptools>=61.0", "wheel"]
- build-backend = "setuptools.build_meta"
- [project]
- name = "tolan-backend"
- version = "1.0.0"
- description = "Tolan English Conversation Backend with AI Voice Chat"
- authors = [
- {name = "Tolan Team", email = "team@tolan.com"}
- ]
- license = {text = "MIT"}
- readme = "README.md"
- requires-python = ">=3.9"
- keywords = ["ai", "voice", "chat", "english", "websocket"]
- classifiers = [
- "Development Status :: 4 - Beta",
- "Intended Audience :: Education",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Topic :: Education :: Computer Aided Instruction (CAI)",
- "Topic :: Multimedia :: Sound/Audio :: Speech",
- ]
- dependencies = [
- "fastapi>=0.104.1",
- "uvicorn[standard]>=0.24.0",
- "websockets>=12.0",
- "pydub>=0.25.1",
- "numpy>=1.24.3",
- "librosa>=0.10.1",
- "openai>=1.3.7",
- "pydantic>=2.5.0",
- "python-dotenv>=1.0.0",
- "structlog>=23.2.0",
- "aiohttp>=3.9.1",
- ]
- [project.optional-dependencies]
- dev = [
- "pytest>=7.4.3",
- "pytest-asyncio>=0.21.1",
- "black>=23.11.0",
- "flake8>=6.1.0",
- "mypy>=1.7.1",
- ]
- [project.urls]
- Homepage = "https://github.com/tolan-team/tolan"
- Repository = "https://github.com/tolan-team/tolan.git"
- Issues = "https://github.com/tolan-team/tolan/issues"
- [tool.setuptools.packages.find]
- where = ["src"]
- [tool.black]
- line-length = 88
- target-version = ['py39']
- include = '\.pyi?$'
- extend-exclude = '''
- /(
- # directories
- \.eggs
- | \.git
- | \.hg
- | \.mypy_cache
- | \.tox
- | \.venv
- | build
- | dist
- )/
- '''
- [tool.mypy]
- python_version = "3.9"
- warn_return_any = true
- warn_unused_configs = true
- disallow_untyped_defs = true
- disallow_incomplete_defs = true
- check_untyped_defs = true
- no_implicit_optional = true
- warn_redundant_casts = true
- warn_unused_ignores = true
- show_error_codes = true
- [tool.pytest.ini_options]
- asyncio_mode = "auto"
- testpaths = ["tests"]
- python_files = ["test_*.py", "*_test.py"]
- python_classes = ["Test*"]
- python_functions = ["test_*"]
- addopts = "-v --tb=short"
|