csrlite 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {csrlite-0.3.0 → csrlite-0.3.2}/MANIFEST.in +30 -30
- {csrlite-0.3.0/src/csrlite.egg-info → csrlite-0.3.2}/PKG-INFO +68 -68
- {csrlite-0.3.0 → csrlite-0.3.2}/README.md +22 -22
- {csrlite-0.3.0 → csrlite-0.3.2}/pyproject.toml +163 -163
- {csrlite-0.3.0 → csrlite-0.3.2}/setup.cfg +4 -4
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/__init__.py +91 -110
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/ae/__init__.py +1 -1
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/ae/ae_listing.py +494 -494
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/ae/ae_specific.py +483 -483
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/ae/ae_summary.py +401 -401
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/ae/ae_utils.py +62 -62
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/cm/cm_listing.py +497 -497
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/cm/cm_summary.py +327 -327
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/config.py +34 -34
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/count.py +293 -293
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/parse.py +308 -308
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/plan.py +365 -365
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/rtf.py +166 -137
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/utils.py +33 -33
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/common/yaml_loader.py +71 -71
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/disposition/__init__.py +2 -2
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/disposition/disposition.py +332 -332
- csrlite-0.3.0/src/csrlite/ie/ie_summary.py → csrlite-0.3.2/src/csrlite/ie/ie.py +405 -292
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite/pd/pd_listing.py +461 -461
- {csrlite-0.3.0 → csrlite-0.3.2/src/csrlite.egg-info}/PKG-INFO +68 -68
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite.egg-info/SOURCES.txt +1 -4
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite.egg-info/top_level.txt +1 -0
- csrlite-0.3.0/src/csrlite/ie/ie_listing.py +0 -109
- csrlite-0.3.0/src/csrlite/mh/mh_listing.py +0 -209
- csrlite-0.3.0/src/csrlite/mh/mh_summary.py +0 -333
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite.egg-info/dependency_links.txt +0 -0
- {csrlite-0.3.0 → csrlite-0.3.2}/src/csrlite.egg-info/requires.txt +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# Include important files
|
|
2
|
-
include README.md
|
|
3
|
-
include pyproject.toml
|
|
4
|
-
|
|
5
|
-
# Include source code
|
|
6
|
-
recursive-include src *.py *.yaml *.yml
|
|
7
|
-
|
|
8
|
-
# Exclude everything else
|
|
9
|
-
global-exclude *.pyc
|
|
10
|
-
global-exclude *.pyo
|
|
11
|
-
global-exclude *.pyd
|
|
12
|
-
global-exclude __pycache__
|
|
13
|
-
global-exclude .DS_Store
|
|
14
|
-
|
|
15
|
-
# Exclude development, testing, and documentation files
|
|
16
|
-
prune tests
|
|
17
|
-
prune docs
|
|
18
|
-
prune data
|
|
19
|
-
prune studies
|
|
20
|
-
prune .github
|
|
21
|
-
prune scripts
|
|
22
|
-
exclude .gitignore
|
|
23
|
-
exclude .pyre_configuration
|
|
24
|
-
exclude _quarto.yml
|
|
25
|
-
exclude custom.scss
|
|
26
|
-
exclude index.qmd
|
|
27
|
-
exclude agents.md
|
|
28
|
-
exclude CLAUDE.md
|
|
29
|
-
exclude requirements.txt
|
|
30
|
-
exclude uv.lock
|
|
1
|
+
# Include important files
|
|
2
|
+
include README.md
|
|
3
|
+
include pyproject.toml
|
|
4
|
+
|
|
5
|
+
# Include source code
|
|
6
|
+
recursive-include src *.py *.yaml *.yml
|
|
7
|
+
|
|
8
|
+
# Exclude everything else
|
|
9
|
+
global-exclude *.pyc
|
|
10
|
+
global-exclude *.pyo
|
|
11
|
+
global-exclude *.pyd
|
|
12
|
+
global-exclude __pycache__
|
|
13
|
+
global-exclude .DS_Store
|
|
14
|
+
|
|
15
|
+
# Exclude development, testing, and documentation files
|
|
16
|
+
prune tests
|
|
17
|
+
prune docs
|
|
18
|
+
prune data
|
|
19
|
+
prune studies
|
|
20
|
+
prune .github
|
|
21
|
+
prune scripts
|
|
22
|
+
exclude .gitignore
|
|
23
|
+
exclude .pyre_configuration
|
|
24
|
+
exclude _quarto.yml
|
|
25
|
+
exclude custom.scss
|
|
26
|
+
exclude index.qmd
|
|
27
|
+
exclude agents.md
|
|
28
|
+
exclude CLAUDE.md
|
|
29
|
+
exclude requirements.txt
|
|
30
|
+
exclude uv.lock
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: csrlite
|
|
3
|
-
Version: 0.3.
|
|
4
|
-
Summary: A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials
|
|
5
|
-
Author-email: Yilong Zhang <elong0527@gmail.com>, Ming-Chun Chen <hellomingchun@gmail.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/elong0527/csrlite
|
|
8
|
-
Project-URL: Documentation, https://elong0527.github.io/csrlite
|
|
9
|
-
Project-URL: Repository, https://github.com/elong0527/csrlite.git
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/elong0527/csrlite/issues
|
|
11
|
-
Keywords: clinical-trials,biostatistics,yaml,tlf,tables,listings,figures
|
|
12
|
-
Classifier: Development Status :: 3 - Alpha
|
|
13
|
-
Classifier: Intended Audience :: Science/Research
|
|
14
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
19
|
-
Requires-Python: >=3.10
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
Requires-Dist: pydantic>=2.0.0
|
|
22
|
-
Requires-Dist: pyyaml>=6.0
|
|
23
|
-
Requires-Dist: polars>=0.20.0
|
|
24
|
-
Requires-Dist: rtflite>=2.1.1
|
|
25
|
-
Provides-Extra: rtf
|
|
26
|
-
Requires-Dist: rtflite; extra == "rtf"
|
|
27
|
-
Provides-Extra: plotting
|
|
28
|
-
Requires-Dist: matplotlib>=3.5.0; extra == "plotting"
|
|
29
|
-
Requires-Dist: plotly>=5.0.0; extra == "plotting"
|
|
30
|
-
Provides-Extra: dev
|
|
31
|
-
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
32
|
-
Requires-Dist: pytest>=9.0.1; extra == "dev"
|
|
33
|
-
Requires-Dist: black>=22.0.0; extra == "dev"
|
|
34
|
-
Requires-Dist: isort>=7.0.0; extra == "dev"
|
|
35
|
-
Requires-Dist: ruff>=0.14.8; extra == "dev"
|
|
36
|
-
Requires-Dist: mypy>=1.19.0; extra == "dev"
|
|
37
|
-
Requires-Dist: quarto>=0.1.0; extra == "dev"
|
|
38
|
-
Requires-Dist: pyre-check>=0.9.18; extra == "dev"
|
|
39
|
-
Requires-Dist: jupyter>=1.1.1; extra == "dev"
|
|
40
|
-
Requires-Dist: jupyter-cache>=1.0.1; extra == "dev"
|
|
41
|
-
Requires-Dist: nbformat>=5.10.4; extra == "dev"
|
|
42
|
-
Provides-Extra: all
|
|
43
|
-
Requires-Dist: rtflite; extra == "all"
|
|
44
|
-
Requires-Dist: matplotlib>=3.5.0; extra == "all"
|
|
45
|
-
Requires-Dist: plotly>=5.0.0; extra == "all"
|
|
46
|
-
|
|
47
|
-
# csrlite
|
|
48
|
-
|
|
49
|
-
[](https://github.com/elong0527/csrlite/actions/workflows/ci.yml)
|
|
50
|
-
[](https://codecov.io/gh/elong0527/csrlite)
|
|
51
|
-
[](https://badge.fury.io/py/csrlite)
|
|
52
|
-
[](https://www.python.org/downloads/)
|
|
53
|
-
|
|
54
|
-
A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials.
|
|
55
|
-
|
|
56
|
-
## Installation
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
pip install csrlite
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Documentation
|
|
63
|
-
|
|
64
|
-
Visit [https://elong0527.github.io/csrlite](https://elong0527.github.io/csrlite) for full documentation.
|
|
65
|
-
|
|
66
|
-
## License
|
|
67
|
-
|
|
68
|
-
MIT License - see [LICENSE](LICENSE) file for details.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: csrlite
|
|
3
|
+
Version: 0.3.2
|
|
4
|
+
Summary: A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials
|
|
5
|
+
Author-email: Yilong Zhang <elong0527@gmail.com>, Ming-Chun Chen <hellomingchun@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/elong0527/csrlite
|
|
8
|
+
Project-URL: Documentation, https://elong0527.github.io/csrlite
|
|
9
|
+
Project-URL: Repository, https://github.com/elong0527/csrlite.git
|
|
10
|
+
Project-URL: Bug Tracker, https://github.com/elong0527/csrlite/issues
|
|
11
|
+
Keywords: clinical-trials,biostatistics,yaml,tlf,tables,listings,figures
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
19
|
+
Requires-Python: >=3.10
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
Requires-Dist: pydantic>=2.0.0
|
|
22
|
+
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: polars>=0.20.0
|
|
24
|
+
Requires-Dist: rtflite>=2.1.1
|
|
25
|
+
Provides-Extra: rtf
|
|
26
|
+
Requires-Dist: rtflite; extra == "rtf"
|
|
27
|
+
Provides-Extra: plotting
|
|
28
|
+
Requires-Dist: matplotlib>=3.5.0; extra == "plotting"
|
|
29
|
+
Requires-Dist: plotly>=5.0.0; extra == "plotting"
|
|
30
|
+
Provides-Extra: dev
|
|
31
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
|
|
32
|
+
Requires-Dist: pytest>=9.0.1; extra == "dev"
|
|
33
|
+
Requires-Dist: black>=22.0.0; extra == "dev"
|
|
34
|
+
Requires-Dist: isort>=7.0.0; extra == "dev"
|
|
35
|
+
Requires-Dist: ruff>=0.14.8; extra == "dev"
|
|
36
|
+
Requires-Dist: mypy>=1.19.0; extra == "dev"
|
|
37
|
+
Requires-Dist: quarto>=0.1.0; extra == "dev"
|
|
38
|
+
Requires-Dist: pyre-check>=0.9.18; extra == "dev"
|
|
39
|
+
Requires-Dist: jupyter>=1.1.1; extra == "dev"
|
|
40
|
+
Requires-Dist: jupyter-cache>=1.0.1; extra == "dev"
|
|
41
|
+
Requires-Dist: nbformat>=5.10.4; extra == "dev"
|
|
42
|
+
Provides-Extra: all
|
|
43
|
+
Requires-Dist: rtflite; extra == "all"
|
|
44
|
+
Requires-Dist: matplotlib>=3.5.0; extra == "all"
|
|
45
|
+
Requires-Dist: plotly>=5.0.0; extra == "all"
|
|
46
|
+
|
|
47
|
+
# csrlite
|
|
48
|
+
|
|
49
|
+
[](https://github.com/elong0527/csrlite/actions/workflows/ci.yml)
|
|
50
|
+
[](https://codecov.io/gh/elong0527/csrlite)
|
|
51
|
+
[](https://badge.fury.io/py/csrlite)
|
|
52
|
+
[](https://www.python.org/downloads/)
|
|
53
|
+
|
|
54
|
+
A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials.
|
|
55
|
+
|
|
56
|
+
## Installation
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pip install csrlite
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Documentation
|
|
63
|
+
|
|
64
|
+
Visit [https://elong0527.github.io/csrlite](https://elong0527.github.io/csrlite) for full documentation.
|
|
65
|
+
|
|
66
|
+
## License
|
|
67
|
+
|
|
68
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# csrlite
|
|
2
|
-
|
|
3
|
-
[](https://github.com/elong0527/csrlite/actions/workflows/ci.yml)
|
|
4
|
-
[](https://codecov.io/gh/elong0527/csrlite)
|
|
5
|
-
[](https://badge.fury.io/py/csrlite)
|
|
6
|
-
[](https://www.python.org/downloads/)
|
|
7
|
-
|
|
8
|
-
A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials.
|
|
9
|
-
|
|
10
|
-
## Installation
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
pip install csrlite
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Documentation
|
|
17
|
-
|
|
18
|
-
Visit [https://elong0527.github.io/csrlite](https://elong0527.github.io/csrlite) for full documentation.
|
|
19
|
-
|
|
20
|
-
## License
|
|
21
|
-
|
|
22
|
-
MIT License - see [LICENSE](LICENSE) file for details.
|
|
1
|
+
# csrlite
|
|
2
|
+
|
|
3
|
+
[](https://github.com/elong0527/csrlite/actions/workflows/ci.yml)
|
|
4
|
+
[](https://codecov.io/gh/elong0527/csrlite)
|
|
5
|
+
[](https://badge.fury.io/py/csrlite)
|
|
6
|
+
[](https://www.python.org/downloads/)
|
|
7
|
+
|
|
8
|
+
A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials.
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
pip install csrlite
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Documentation
|
|
17
|
+
|
|
18
|
+
Visit [https://elong0527.github.io/csrlite](https://elong0527.github.io/csrlite) for full documentation.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=45", "wheel"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "csrlite"
|
|
7
|
-
version = "0.3.
|
|
8
|
-
description = "A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials"
|
|
9
|
-
authors = [
|
|
10
|
-
{name = "Yilong Zhang", email = "elong0527@gmail.com"},
|
|
11
|
-
{name = "Ming-Chun Chen", email = "hellomingchun@gmail.com"}
|
|
12
|
-
]
|
|
13
|
-
license = {text = "MIT"}
|
|
14
|
-
readme = "README.md"
|
|
15
|
-
requires-python = ">=3.10"
|
|
16
|
-
classifiers = [
|
|
17
|
-
"Development Status :: 3 - Alpha",
|
|
18
|
-
"Intended Audience :: Science/Research",
|
|
19
|
-
"License :: OSI Approved :: MIT License",
|
|
20
|
-
"Programming Language :: Python :: 3",
|
|
21
|
-
"Programming Language :: Python :: 3.10",
|
|
22
|
-
"Programming Language :: Python :: 3.11",
|
|
23
|
-
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
24
|
-
]
|
|
25
|
-
keywords = ["clinical-trials", "biostatistics", "yaml", "tlf", "tables", "listings", "figures"]
|
|
26
|
-
|
|
27
|
-
dependencies = [
|
|
28
|
-
"pydantic>=2.0.0",
|
|
29
|
-
"pyyaml>=6.0",
|
|
30
|
-
"polars>=0.20.0",
|
|
31
|
-
"rtflite>=2.1.1",
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
[project.optional-dependencies]
|
|
35
|
-
rtf = ["rtflite"]
|
|
36
|
-
plotting = ["matplotlib>=3.5.0", "plotly>=5.0.0"]
|
|
37
|
-
dev = [
|
|
38
|
-
"pytest-cov>=4.0.0",
|
|
39
|
-
"pytest>=9.0.1",
|
|
40
|
-
"black>=22.0.0",
|
|
41
|
-
"isort>=7.0.0",
|
|
42
|
-
"ruff>=0.14.8",
|
|
43
|
-
"mypy>=1.19.0",
|
|
44
|
-
"quarto>=0.1.0",
|
|
45
|
-
"pyre-check>=0.9.18",
|
|
46
|
-
"jupyter>=1.1.1",
|
|
47
|
-
"jupyter-cache>=1.0.1",
|
|
48
|
-
"nbformat>=5.10.4",
|
|
49
|
-
]
|
|
50
|
-
all = ["rtflite", "matplotlib>=3.5.0", "plotly>=5.0.0"]
|
|
51
|
-
|
|
52
|
-
[project.urls]
|
|
53
|
-
Homepage = "https://github.com/elong0527/csrlite"
|
|
54
|
-
Documentation = "https://elong0527.github.io/csrlite"
|
|
55
|
-
Repository = "https://github.com/elong0527/csrlite.git"
|
|
56
|
-
"Bug Tracker" = "https://github.com/elong0527/csrlite/issues"
|
|
57
|
-
|
|
58
|
-
[tool.setuptools.packages.find]
|
|
59
|
-
where = ["src"]
|
|
60
|
-
|
|
61
|
-
[tool.setuptools.package-data]
|
|
62
|
-
csrlite = ["*.yaml", "*.yml"]
|
|
63
|
-
|
|
64
|
-
[tool.pytest.ini_options]
|
|
65
|
-
testpaths = ["tests"]
|
|
66
|
-
python_files = ["test_*.py"]
|
|
67
|
-
python_classes = ["Test*"]
|
|
68
|
-
python_functions = ["test_*"]
|
|
69
|
-
addopts = [
|
|
70
|
-
"--strict-markers",
|
|
71
|
-
"--strict-config",
|
|
72
|
-
"--verbose",
|
|
73
|
-
]
|
|
74
|
-
markers = [
|
|
75
|
-
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
76
|
-
"integration: marks tests as integration tests",
|
|
77
|
-
]
|
|
78
|
-
|
|
79
|
-
[tool.coverage.run]
|
|
80
|
-
source = ["src/csrlite"]
|
|
81
|
-
branch = true
|
|
82
|
-
|
|
83
|
-
[tool.coverage.report]
|
|
84
|
-
exclude_lines = [
|
|
85
|
-
"pragma: no cover",
|
|
86
|
-
"def __repr__",
|
|
87
|
-
"raise AssertionError",
|
|
88
|
-
"raise NotImplementedError",
|
|
89
|
-
]
|
|
90
|
-
|
|
91
|
-
[tool.black]
|
|
92
|
-
line-length = 100
|
|
93
|
-
target-version = ['py38']
|
|
94
|
-
include = '\.pyi?$'
|
|
95
|
-
extend-exclude = '''
|
|
96
|
-
/(
|
|
97
|
-
# directories
|
|
98
|
-
\.eggs
|
|
99
|
-
| \.git
|
|
100
|
-
| \.hg
|
|
101
|
-
| \.mypy_cache
|
|
102
|
-
| \.tox
|
|
103
|
-
| \.venv
|
|
104
|
-
| build
|
|
105
|
-
| dist
|
|
106
|
-
)/
|
|
107
|
-
'''
|
|
108
|
-
|
|
109
|
-
[tool.isort]
|
|
110
|
-
profile = "black"
|
|
111
|
-
line_length = 100
|
|
112
|
-
known_first_party = ["csrlite"]
|
|
113
|
-
|
|
114
|
-
[tool.mypy]
|
|
115
|
-
python_version = "3.10"
|
|
116
|
-
warn_return_any = true
|
|
117
|
-
warn_unused_configs = true
|
|
118
|
-
disallow_untyped_defs = true
|
|
119
|
-
disallow_incomplete_defs = true
|
|
120
|
-
check_untyped_defs = true
|
|
121
|
-
disallow_untyped_decorators = true
|
|
122
|
-
no_implicit_optional = true
|
|
123
|
-
warn_redundant_casts = true
|
|
124
|
-
warn_unused_ignores = true
|
|
125
|
-
warn_no_return = true
|
|
126
|
-
warn_unreachable = true
|
|
127
|
-
strict_equality = true
|
|
128
|
-
exclude = ["build/", "tests/"]
|
|
129
|
-
|
|
130
|
-
[[tool.mypy.overrides]]
|
|
131
|
-
module = [
|
|
132
|
-
"polars.*",
|
|
133
|
-
"yaml.*",
|
|
134
|
-
"rtflite.*",
|
|
135
|
-
"matplotlib.*",
|
|
136
|
-
"plotly.*",
|
|
137
|
-
]
|
|
138
|
-
ignore_missing_imports = true
|
|
139
|
-
|
|
140
|
-
[[tool.mypy.overrides]]
|
|
141
|
-
module = ["tests.*"]
|
|
142
|
-
ignore_errors = true
|
|
143
|
-
|
|
144
|
-
[tool.ruff]
|
|
145
|
-
line-length = 100
|
|
146
|
-
target-version = "py310"
|
|
147
|
-
|
|
148
|
-
[tool.ruff.lint]
|
|
149
|
-
select = ["E", "F", "I"]
|
|
150
|
-
ignore = []
|
|
151
|
-
|
|
152
|
-
[dependency-groups]
|
|
153
|
-
dev = [
|
|
154
|
-
"jupyter>=1.1.1",
|
|
155
|
-
"jupyter-cache>=1.0.1",
|
|
156
|
-
"mypy>=1.19.0",
|
|
157
|
-
"nbclient>=0.10.2",
|
|
158
|
-
"notebook>=7.5.0",
|
|
159
|
-
"pyre-check>=0.9.25",
|
|
160
|
-
"pytest>=9.0.2",
|
|
161
|
-
"pytest-cov>=7.0.0",
|
|
162
|
-
"ruff>=0.14.8",
|
|
163
|
-
]
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=45", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "csrlite"
|
|
7
|
+
version = "0.3.2"
|
|
8
|
+
description = "A hierarchical YAML-based framework for generating Tables, Listings, and Figures in clinical trials"
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Yilong Zhang", email = "elong0527@gmail.com"},
|
|
11
|
+
{name = "Ming-Chun Chen", email = "hellomingchun@gmail.com"}
|
|
12
|
+
]
|
|
13
|
+
license = {text = "MIT"}
|
|
14
|
+
readme = "README.md"
|
|
15
|
+
requires-python = ">=3.10"
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Intended Audience :: Science/Research",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.10",
|
|
22
|
+
"Programming Language :: Python :: 3.11",
|
|
23
|
+
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
24
|
+
]
|
|
25
|
+
keywords = ["clinical-trials", "biostatistics", "yaml", "tlf", "tables", "listings", "figures"]
|
|
26
|
+
|
|
27
|
+
dependencies = [
|
|
28
|
+
"pydantic>=2.0.0",
|
|
29
|
+
"pyyaml>=6.0",
|
|
30
|
+
"polars>=0.20.0",
|
|
31
|
+
"rtflite>=2.1.1",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
[project.optional-dependencies]
|
|
35
|
+
rtf = ["rtflite"]
|
|
36
|
+
plotting = ["matplotlib>=3.5.0", "plotly>=5.0.0"]
|
|
37
|
+
dev = [
|
|
38
|
+
"pytest-cov>=4.0.0",
|
|
39
|
+
"pytest>=9.0.1",
|
|
40
|
+
"black>=22.0.0",
|
|
41
|
+
"isort>=7.0.0",
|
|
42
|
+
"ruff>=0.14.8",
|
|
43
|
+
"mypy>=1.19.0",
|
|
44
|
+
"quarto>=0.1.0",
|
|
45
|
+
"pyre-check>=0.9.18",
|
|
46
|
+
"jupyter>=1.1.1",
|
|
47
|
+
"jupyter-cache>=1.0.1",
|
|
48
|
+
"nbformat>=5.10.4",
|
|
49
|
+
]
|
|
50
|
+
all = ["rtflite", "matplotlib>=3.5.0", "plotly>=5.0.0"]
|
|
51
|
+
|
|
52
|
+
[project.urls]
|
|
53
|
+
Homepage = "https://github.com/elong0527/csrlite"
|
|
54
|
+
Documentation = "https://elong0527.github.io/csrlite"
|
|
55
|
+
Repository = "https://github.com/elong0527/csrlite.git"
|
|
56
|
+
"Bug Tracker" = "https://github.com/elong0527/csrlite/issues"
|
|
57
|
+
|
|
58
|
+
[tool.setuptools.packages.find]
|
|
59
|
+
where = ["src"]
|
|
60
|
+
|
|
61
|
+
[tool.setuptools.package-data]
|
|
62
|
+
csrlite = ["*.yaml", "*.yml"]
|
|
63
|
+
|
|
64
|
+
[tool.pytest.ini_options]
|
|
65
|
+
testpaths = ["tests"]
|
|
66
|
+
python_files = ["test_*.py"]
|
|
67
|
+
python_classes = ["Test*"]
|
|
68
|
+
python_functions = ["test_*"]
|
|
69
|
+
addopts = [
|
|
70
|
+
"--strict-markers",
|
|
71
|
+
"--strict-config",
|
|
72
|
+
"--verbose",
|
|
73
|
+
]
|
|
74
|
+
markers = [
|
|
75
|
+
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
76
|
+
"integration: marks tests as integration tests",
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[tool.coverage.run]
|
|
80
|
+
source = ["src/csrlite"]
|
|
81
|
+
branch = true
|
|
82
|
+
|
|
83
|
+
[tool.coverage.report]
|
|
84
|
+
exclude_lines = [
|
|
85
|
+
"pragma: no cover",
|
|
86
|
+
"def __repr__",
|
|
87
|
+
"raise AssertionError",
|
|
88
|
+
"raise NotImplementedError",
|
|
89
|
+
]
|
|
90
|
+
|
|
91
|
+
[tool.black]
|
|
92
|
+
line-length = 100
|
|
93
|
+
target-version = ['py38']
|
|
94
|
+
include = '\.pyi?$'
|
|
95
|
+
extend-exclude = '''
|
|
96
|
+
/(
|
|
97
|
+
# directories
|
|
98
|
+
\.eggs
|
|
99
|
+
| \.git
|
|
100
|
+
| \.hg
|
|
101
|
+
| \.mypy_cache
|
|
102
|
+
| \.tox
|
|
103
|
+
| \.venv
|
|
104
|
+
| build
|
|
105
|
+
| dist
|
|
106
|
+
)/
|
|
107
|
+
'''
|
|
108
|
+
|
|
109
|
+
[tool.isort]
|
|
110
|
+
profile = "black"
|
|
111
|
+
line_length = 100
|
|
112
|
+
known_first_party = ["csrlite"]
|
|
113
|
+
|
|
114
|
+
[tool.mypy]
|
|
115
|
+
python_version = "3.10"
|
|
116
|
+
warn_return_any = true
|
|
117
|
+
warn_unused_configs = true
|
|
118
|
+
disallow_untyped_defs = true
|
|
119
|
+
disallow_incomplete_defs = true
|
|
120
|
+
check_untyped_defs = true
|
|
121
|
+
disallow_untyped_decorators = true
|
|
122
|
+
no_implicit_optional = true
|
|
123
|
+
warn_redundant_casts = true
|
|
124
|
+
warn_unused_ignores = true
|
|
125
|
+
warn_no_return = true
|
|
126
|
+
warn_unreachable = true
|
|
127
|
+
strict_equality = true
|
|
128
|
+
exclude = ["build/", "tests/"]
|
|
129
|
+
|
|
130
|
+
[[tool.mypy.overrides]]
|
|
131
|
+
module = [
|
|
132
|
+
"polars.*",
|
|
133
|
+
"yaml.*",
|
|
134
|
+
"rtflite.*",
|
|
135
|
+
"matplotlib.*",
|
|
136
|
+
"plotly.*",
|
|
137
|
+
]
|
|
138
|
+
ignore_missing_imports = true
|
|
139
|
+
|
|
140
|
+
[[tool.mypy.overrides]]
|
|
141
|
+
module = ["tests.*"]
|
|
142
|
+
ignore_errors = true
|
|
143
|
+
|
|
144
|
+
[tool.ruff]
|
|
145
|
+
line-length = 100
|
|
146
|
+
target-version = "py310"
|
|
147
|
+
|
|
148
|
+
[tool.ruff.lint]
|
|
149
|
+
select = ["E", "F", "I"]
|
|
150
|
+
ignore = []
|
|
151
|
+
|
|
152
|
+
[dependency-groups]
|
|
153
|
+
dev = [
|
|
154
|
+
"jupyter>=1.1.1",
|
|
155
|
+
"jupyter-cache>=1.0.1",
|
|
156
|
+
"mypy>=1.19.0",
|
|
157
|
+
"nbclient>=0.10.2",
|
|
158
|
+
"notebook>=7.5.0",
|
|
159
|
+
"pyre-check>=0.9.25",
|
|
160
|
+
"pytest>=9.0.2",
|
|
161
|
+
"pytest-cov>=7.0.0",
|
|
162
|
+
"ruff>=0.14.8",
|
|
163
|
+
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|