Spaces:
Running
Running
| [project] | |
| name = "dartlab" | |
| version = "0.9.6" | |
| description = "DART μ μ곡μ + EDGAR 곡μλ₯Ό νλμ νμ¬ λ§΅μΌλ‘ β Python μ¬λ¬΄ λΆμ λΌμ΄λΈλ¬λ¦¬" | |
| readme = "README.md" | |
| license = {file = "LICENSE"} | |
| requires-python = ">=3.12" | |
| authors = [ | |
| {name = "eddmpython"} | |
| ] | |
| keywords = [ | |
| "dart", | |
| "edgar", | |
| "sec", | |
| "financial-statements", | |
| "korea", | |
| "disclosure", | |
| "accounting", | |
| "polars", | |
| "sections", | |
| "mcp", | |
| "ai-analysis", | |
| "annual-report", | |
| "10-k", | |
| "xbrl", | |
| "μ μ곡μ", | |
| "μ¬λ¬΄μ ν", | |
| "μ¬μ λ³΄κ³ μ", | |
| "곡μλΆμ", | |
| "λ€νΈ", | |
| ] | |
| classifiers = [ | |
| "Development Status :: 4 - Beta", | |
| "Intended Audience :: Developers", | |
| "Intended Audience :: Science/Research", | |
| "Intended Audience :: Financial and Insurance Industry", | |
| "Intended Audience :: End Users/Desktop", | |
| "License :: OSI Approved :: MIT License", | |
| "Operating System :: OS Independent", | |
| "Programming Language :: Python :: 3", | |
| "Programming Language :: Python :: 3.12", | |
| "Programming Language :: Python :: 3.13", | |
| "Topic :: Office/Business :: Financial", | |
| "Topic :: Office/Business :: Financial :: Accounting", | |
| "Topic :: Office/Business :: Financial :: Investment", | |
| "Topic :: Scientific/Engineering :: Information Analysis", | |
| "Natural Language :: Korean", | |
| "Natural Language :: English", | |
| "Typing :: Typed", | |
| ] | |
| dependencies = [ | |
| # core | |
| "beautifulsoup4>=4.14.3,<5", | |
| "lxml>=6.0.2,<7", | |
| "httpx>=0.28.1,<1", | |
| "polars>=1.0.0,<2", | |
| "rich>=14.3.3,<15", | |
| "huggingface-hub>=0.20.0,<1", | |
| "openpyxl>=3.1.5,<4", | |
| "diff-match-patch>=20230430", | |
| "numpy>=1.26.0,<3", | |
| "marimo>=0.22.0", | |
| # ai providers | |
| "openai>=1.0.0,<3", | |
| "google-genai>=1.0.0,<2", | |
| "anthropic>=0.30.0,<2", | |
| # server (dartlab ai) | |
| "fastapi>=0.135.1,<1", | |
| "uvicorn[standard]>=0.30.0,<1", | |
| "sse-starlette>=2.0.0,<3", | |
| "mcp[cli]>=1.0", | |
| "qrcode>=7.0,<9", | |
| # viz | |
| "plotly>=5.0.0,<6", | |
| ] | |
| [project.scripts] | |
| dartlab = "dartlab.cli.main:main" | |
| [project.entry-points."dartlab.plugins"] | |
| [project.urls] | |
| Homepage = "https://eddmpython.github.io/dartlab/" | |
| Repository = "https://github.com/eddmpython/dartlab" | |
| Documentation = "https://eddmpython.github.io/dartlab/docs/" | |
| Issues = "https://github.com/eddmpython/dartlab/issues" | |
| Changelog = "https://eddmpython.github.io/dartlab/docs/changelog" | |
| Demo = "https://huggingface.co/spaces/eddmpython/dartlab" | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/dartlab"] | |
| artifacts = [ | |
| "src/dartlab/ui/build/**", | |
| ] | |
| exclude = [ | |
| "**/_reference/**", | |
| "src/dartlab/engines/edinet/**", | |
| "src/dartlab/engines/esg/**", | |
| "src/dartlab/engines/event/**", | |
| "src/dartlab/engines/supply/**", | |
| "src/dartlab/engines/watch/**", | |
| ] | |
| [tool.hatch.build.targets.sdist] | |
| include = [ | |
| "src/dartlab/**/*.py", | |
| "src/dartlab/**/*.json", | |
| "src/dartlab/**/*.parquet", | |
| "src/dartlab/ui/build/**", | |
| "README.md", | |
| "LICENSE", | |
| ] | |
| exclude = [ | |
| "**/_reference/**", | |
| "src/dartlab/engines/edinet/**", | |
| "src/dartlab/engines/esg/**", | |
| "src/dartlab/engines/event/**", | |
| "src/dartlab/engines/supply/**", | |
| "src/dartlab/engines/watch/**", | |
| ] | |
| [tool.ruff] | |
| target-version = "py312" | |
| line-length = 120 | |
| exclude = ["experiments", "*/_reference"] | |
| [tool.ruff.lint] | |
| select = ["E", "F", "I"] | |
| ignore = ["E402", "E501", "E741", "F841"] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| python_files = ["test_*.py", "bench_*.py"] | |
| addopts = "-v --tb=short" | |
| asyncio_mode = "auto" | |
| markers = [ | |
| "requires_data: λ‘컬 parquet λ°μ΄ν° νμ (CIμμ skip)", | |
| "unit: μμ λ‘μ§/mockλ§ β λ°μ΄ν° λ‘λ μμ, λ³λ ¬ μμ ", | |
| "integration: Company 1κ° λ‘λ© νμ β μ€κ° 무κ²", | |
| "heavy: λλ λ°μ΄ν° λ‘λ β λ¨λ μ€ν νμ", | |
| ] | |
| [tool.coverage.run] | |
| source = ["dartlab"] | |
| omit = [ | |
| "src/dartlab/engines/ai/providers/*", | |
| "src/dartlab/review/*", | |
| ] | |
| [tool.coverage.report] | |
| show_missing = true | |
| skip_empty = true | |
| exclude_lines = [ | |
| "pragma: no cover", | |
| "if __name__", | |
| "raise NotImplementedError", | |
| ] | |
| fail_under = 30 | |
| [tool.pyright] | |
| pythonVersion = "3.12" | |
| typeCheckingMode = "basic" | |
| include = ["src/dartlab"] | |
| exclude = [ | |
| "src/dartlab/engines/ai/providers/**", | |
| "ui/**", | |
| "experiments/**", | |
| ] | |
| reportMissingTypeStubs = false | |
| reportUnknownParameterType = false | |
| reportUnknownMemberType = false | |
| reportUnknownVariableType = false | |
| [tool.bandit] | |
| exclude_dirs = ["experiments", "tests"] | |
| skips = ["B101"] | |
| [tool.deptry] | |
| # μ΅μ λ ν΅ν© μμ‘΄μ± β μ¬μ©μκ° λ³λ μ€μΉν λλ§ λμ (λ°νμ ImportError κ°λ μμ) | |
| extend_exclude = [ | |
| "src/dartlab/.*/_reference/.*", # νμ΅/μ€ν μ½λ, λ°νμ λ―Έμ¬μ© | |
| ] | |
| [tool.deptry.per_rule_ignores] | |
| DEP001 = [ | |
| # ββ channel μ΄λν° (μΈλΆ λ©μ μ μ΅μ λ) ββ | |
| "discord", "slack_bolt", "telegram", | |
| # ββ CLI μΈν°λν°λΈ μ΅μ λ ββ | |
| "prompt_toolkit", | |
| # ββ display μ΅μ λ ββ | |
| "great_tables", "itables", "IPython", | |
| # ββ gather μ΅μ λ ββ | |
| "FinanceDataReader", "tavily", | |
| # ββ _reference νμ΅/μ€ν ββ | |
| "agents", "owlready2", "rapidfuzz", "edgar", | |
| # ββ transitive deps (λ€λ₯Έ ν¨ν€μ§κ° λμ΄μ΄) ββ | |
| "dotenv", # python-dotenv | |
| "google", # google-genai | |
| "yaml", # pyyaml | |
| "bs4", # beautifulsoup4 | |
| "starlette", # fastapiκ° λμ΄μ΄ | |
| "pydantic", # fastapiκ° λμ΄μ΄ | |
| ] | |
| DEP002 = [ | |
| "beautifulsoup4", # bs4 μ§μ import | |
| "google-genai", # google.genai μ¬μ© (gemini provider) | |
| "marimo", # λ ΈνΈλΆ μ»΄νμΌ/λ°°ν¬ λꡬ | |
| ] | |
| [dependency-groups] | |
| dev = [ | |
| "build>=1.4.0", | |
| "dartlab[all]", | |
| "hatchling>=1.29.0", | |
| "hypothesis>=6.100.0", | |
| "pillow>=12.1.1", | |
| "pre-commit>=4.0.0", | |
| "pyright>=1.1.0", | |
| "pytest>=9.0.2", | |
| "pytest-asyncio>=0.24.0", | |
| "pytest-benchmark>=5.0.0", | |
| "pytest-cov>=6.0.0", | |
| "radon>=6.0.0", | |
| "vulture>=2.0", | |
| ] | |