Debian Codegraph @

pyproject.toml

raw ◀ ▶
1 Debian patch touch this file
1 [build-system]
2 requires = ["flit_core >=3.4,<4"]
3 build-backend = "flit_core.buildapi"
4
5 [project]
6 name = "jupyter-cache"
7 dynamic = ["version"]
8 description = "A defined interface for working with a cache of jupyter notebooks."
9 authors = [{name = "Chris Sewell", email = "[email protected]"}]
10 readme = "README.md"
11 license = {file = "LICENSE"}
12 classifiers = [
13 "Development Status :: 4 - Beta",
14 "Framework :: Sphinx :: Extension",
15 "Intended Audience :: Developers",
16 "License :: OSI Approved :: MIT License",
17 "Programming Language :: Python :: 3",
18 "Programming Language :: Python :: 3.9",
19 "Programming Language :: Python :: 3.10",
20 "Programming Language :: Python :: 3.11",
21 "Programming Language :: Python :: 3.12",
22 "Programming Language :: Python :: Implementation :: CPython",
23 "Topic :: Software Development :: Libraries :: Python Modules",
24 ]
25 keywords = ["sphinx extension material design web components"]
26 requires-python = ">=3.9"
27 dependencies = [
28 "attrs",
29 "click",
30 "nbclient>=0.2",
31 "nbformat",
32 "pyyaml",
33 "sqlalchemy>=1.3.12,<3",
34 "tabulate",
35 ]
36
37 [project.urls]
38 Homepage = "https://github.com/executablebooks/jupyter-cache"
39 Documentation = "https://jupyter-cache.readthedocs.io"
40
41 [project.entry-points."jcache.executors"]
42 local-serial = "jupyter_cache.executors.basic:JupyterExecutorLocalSerial"
43 temp-serial = "jupyter_cache.executors.basic:JupyterExecutorTempSerial"
44 local-parallel = "jupyter_cache.executors.basic:JupyterExecutorLocalMproc"
45 temp-parallel = "jupyter_cache.executors.basic:JupyterExecutorTempMproc"
46
47 [project.entry-points."jcache.readers"]
48 nbformat = "jupyter_cache.readers:nbf_reader"
49 jupytext = "jupyter_cache.readers:jupytext_reader"
50
51 [project.optional-dependencies]
52 cli = ["click-log"]
53 code_style = ["pre-commit>=2.12"]
54 rtd = [
55 "nbdime",
56 "ipykernel",
57 "jupytext",
58 # TODO: MyST-NB pins jupyter-cache, so this may create unresolved environments
59 # But if we pin to `main` then we cannot build wheels. Need to fix.
60 "myst-nb",
61 "sphinx-book-theme",
62 "sphinx-copybutton",
63 ]
64 testing = [
65 "nbdime",
66 "coverage",
67 "ipykernel",
68 "jupytext",
69 "matplotlib",
70 "nbformat>=5.1",
71 "numpy",
72 "pandas",
73 "pytest>=6,<8",
74 "pytest-cov",
75 "pytest-regressions",
76 "sympy",
77 ]
78
79 [project.scripts]
80 jcache = "jupyter_cache.cli.commands.cmd_main:jcache"
81
82 [tool.flit.module]
83 name = "jupyter_cache"
84
85 [tool.flit.sdist]
86 exclude = [
87 "docs/",
88 "tests/",
89 ]
90
91 [tool.isort]
92 profile = "black"
93 src_paths = ["jupyter_cache", "tests"]
94 force_sort_within_sections = true
95
96 [tool.mypy]
97 show_error_codes = true
98 warn_unused_ignores = true
99 warn_redundant_casts = true
100 no_implicit_optional = true
101 strict_equality = true