-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (89 loc) · 2.47 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (89 loc) · 2.47 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "notebooklm-chunker"
version = "0.5.0"
description = "Turn long PDFs into chunked NotebookLM workflows with Studio outputs"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [{ name = "cmlonder" }]
keywords = ["notebooklm", "pdf", "chunking", "study-tools", "llm"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Education",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing",
]
dependencies = ["notebooklm-py[browser]>=0.7.3,<0.8", "pymupdf>=1.24.0"]
[project.urls]
Homepage = "https://github.com/cmlonder/notebooklm-chunker"
Repository = "https://github.com/cmlonder/notebooklm-chunker"
Issues = "https://github.com/cmlonder/notebooklm-chunker/issues"
[project.optional-dependencies]
dev = [
"build>=1.2.2",
"twine>=5.1.1",
"ruff>=0.8.0",
"mypy>=1.13.0",
"coverage>=7.6.0",
]
[project.scripts]
nblm = "notebooklm_chunker.cli:main"
[tool.setuptools.packages.find]
include = ["notebooklm_chunker*"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["notebooklm_chunker"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true
[[tool.mypy.overrides]]
module = "notebooklm.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fitz.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pypdf.*"
ignore_missing_imports = true
[tool.coverage.run]
source = ["notebooklm_chunker"]
omit = ["*/tests/*", "*/__pycache__/*"]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
fail_under = 79.0