Debian Codegraph @

pyproject.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 "importlib-metadata",
31 "nbclient>=0.2",
32 "nbformat",
33 "pyyaml",
34 "sqlalchemy>=1.3.12,<3",
35 "tabulate",
36 ]
37
38 [project.urls]
39 Homepage = "https://github.com/executablebooks/jupyter-cache"
40 Documentation = "https://jupyter-cache.readthedocs.io"
41
42 [project.entry-points."jcache.executors"]
43 local-serial = "jupyter_cache.executors.basic:JupyterExecutorLocalSerial"
44 temp-serial = "jupyter_cache.executors.basic:JupyterExecutorTempSerial"
45 local-parallel = "jupyter_cache.executors.basic:JupyterExecutorLocalMproc"
46 temp-parallel = "jupyter_cache.executors.basic:JupyterExecutorTempMproc"
47
48 [project.entry-points."jcache.readers"]
49 nbformat = "jupyter_cache.readers:nbf_reader"
50 jupytext = "jupyter_cache.readers:jupytext_reader"
51
52 [project.optional-dependencies]
53 cli = ["click-log"]
54 code_style = ["pre-commit>=2.12"]
55 rtd = [
56 "nbdime",
57 "ipykernel",
58 "jupytext",
59 # TODO: MyST-NB pins jupyter-cache, so this may create unresolved environments
60 # But if we pin to `main` then we cannot build wheels. Need to fix.
61 "myst-nb",
62 "sphinx-book-theme",
63 "sphinx-copybutton",
64 ]
65 testing = [
66 "nbdime",
67 "coverage",
68 "ipykernel",
69 "jupytext",
70 "matplotlib",
71 "nbformat>=5.1",
72 "numpy",
73 "pandas",
74 "pytest>=6,<8",
75 "pytest-cov",
76 "pytest-regressions",
77 "sympy",
78 ]
79
80 [project.scripts]
81 jcache = "jupyter_cache.cli.commands.cmd_main:jcache"
82
83 [tool.flit.module]
84 name = "jupyter_cache"
85
86 [tool.flit.sdist]
87 exclude = [
88 "docs/",
89 "tests/",
90 ]
91
92 [tool.isort]
93 profile = "black"
94 src_paths = ["jupyter_cache", "tests"]
95 force_sort_within_sections = true
96
97 [tool.mypy]
98 show_error_codes = true
99 warn_unused_ignores = true
100 warn_redundant_casts = true
101 no_implicit_optional = true
102 strict_equality = true