Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/vignettes/more_advanced_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,21 @@ my_analysis.bootstrap()

Now that the underlying bootstrap structure has been in place, we can simply continue as we would in simpler models- fit, survival, plot, collect, and dump.

You can recover all results through the collection, and interact with them as you would normally in Python; however, to dump to md or pdf you may require the optional depedencies which interact with these file formats.

These can be easily installed through the `output` optional dependencies with pySEQTarget.

```shell
pip install pySEQTarget[output]
```

```python
my_analysis.fit()
my_analysis.survival()
my_analysis.plot()

my_output = my_analysis.collect()
# Requires tabulate installation
my_output.to_md()
```

Expand Down
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pySEQTarget"
version = "0.10.1"
version = "0.10.2"
description = "Sequentially Nested Target Trial Emulation"
readme = "README.md"
license = {text = "MIT"}
Expand Down Expand Up @@ -42,6 +42,13 @@ dependencies = [
"lifelines"
]

[project.optional-dependencies]
output = [
"markdown",
"weasyprint",
"tabulate"
]

[project.urls]
Homepage = "https://github.com/CausalInference/pySEQTarget"
Repository = "https://github.com/CausalInference/pySEQTarget"
Expand All @@ -65,12 +72,6 @@ dev = [
"sphinx-autodoc-typehints",
]

output = [
"markdown",
"weasyprint",
"tabulate"
]

[tool.setuptools.packages.find]
where = ["."]
include = ["pySEQTarget*"]
Expand Down