Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
kiara_plugin.streamlit / pyproject.toml
Size: Mime:
[build-system]
requires = [
    "setuptools>=63",
    "setuptools_scm[toml]>7.0.0",
    "wheel"
]
build-backend = "setuptools.build_meta"

[project]
name = "kiara_plugin.streamlit"
description = "Streamlit UI and widgets for kiara"
authors = [
    {name = "Markus Binsteiner", email = "markus@frkl.io"}
]
readme = "README.md"
requires-python = ">=3.8"
keywords = ["kiara", "streamlit"]
license = {text = "MPL-2.0"}
classifiers = [
    "Programming Language :: Python :: 3",
    "Development Status :: 3 - Alpha",
    "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3 :: Only",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11"
]
dependencies = [
    "kiara>=0.4.48",
    "kiara_plugin.tabular>=0.4.29",
    "kiara_plugin.onboarding>=0.4.7",
    "kiara_plugin.html>=0.4.4",
    "streamlit>=1.24.0",
    "streamlit-aggrid>=0.3.4",
    "streamlit-option-menu>=0.3.6",
    "importlib-resources",
    "pydot>=1.4.0",
    "pygwalker>=0.1.11",
    "streamlit-scrollable-textbox>=0.0.3",
    "streamlit-tags>=1.2.8"
]
dynamic = ["version"]

[project.optional-dependencies]
workflow_app = [
    "PyGithub>=1.58.0",
    "githublfs>=0.1.3"
]
all_plugins = [
    "kiara_plugin.network_analysis>=0.4.14",
    "kiara_plugin.language_processing>=0.4.10",
]
dev_documentation = [
    "kiara[dev_documentation]"
]
dev_testing = [
    "kiara[dev_testing]",
    "kiara_plugin.network_analysis>=0.4.7",
]
dev_utils = [
    "kiara[dev_utils]",
]
dev_all = [
    "kiara[dev_all]"
]
streamlit = [
    "kiara_plugin.streamlit"
]

[project.entry-points."kiara.plugin"]
streamlit = "kiara_plugin.streamlit"

[project.entry-points."kiara.data_types"]
streamlit = "kiara_plugin.streamlit:find_data_types"

[project.entry-points."kiara.model_classes"]
streamlit = "kiara_plugin.streamlit:find_model_classes"

[project.entry-points."kiara.modules"]
streamlit = "kiara_plugin.streamlit:find_modules"

[project.entry-points."kiara.pipelines"]
streamlit = "kiara_plugin.streamlit:find_pipelines"

[project.entry-points."kiara.cli_subcommands"]
streamlit = "kiara_plugin.streamlit.interfaces.cli.streamlit:streamlit"

[project.entry-points."kiara.streamlit_components"]
streamlit = "kiara_plugin.streamlit:find_kiara_streamlit_components"

[project.entry-points."kiara.renderers"]
jupyter = "kiara_plugin.streamlit:find_renderer_classes"

[project.urls]
homepage = "https://github.com/DHARPA-Project/kiara_plugin.streamlit"
documentation = "https://DHARPA-Project.github.io/kiara_plugin.streamlit"
repository = "https://github.com/DHARPA-Project/kiara_plugin.streamlit"

[tool.black]
include = '\.pyi?$'
exclude = '''
/(
    \.git
  | \.hg
  | \.mypy_cache
  | \.tox
  | \.venv
  | _build
  | buck-out
  | build
  | dist
  | external
)/
'''

[tool.setuptools_scm]
write_to = "src/kiara_plugin/streamlit/version.txt"

[tool.pytest.ini_options]
pythonpath = [
    "src"
]

[tool.ruff]
line-length = 88

src = ["src", "tests"]

select = [
    "E",
    "F",
    "RUF",
    "I001",
    "YTT",
    "S",
    "C4",
    "T10",
    "ISC",
    "ICN",
    "T20",
    "Q",
    "TID",
    "PD",
    "PLC",
    "PLE",
    "PLR",
    "PLW",
    "PIE",
]
ignore = ["E501", "S101", "SIM118", "SIM108", "PLR2004", "PLR0913", "S110", "PLR0912", "PLR0915", "PIE810", "T201", "PD011", "F405", "RUF012", "RUF013", "F403", "PLR0911", "RUF003"]

fix = true
fixable = ["E", "F", "RUF100", "I001", "Q"]


#fixable = ["E", "F", "RUF100", "I001"]
# Enable Pyflakes `E` and `F` codes by default.

# Exclude a variety of commonly ignored directories.
exclude = [
    ".bzr",
    ".direnv",
    ".eggs",
    ".git",
    ".hg",
    ".mypy_cache",
    ".nox",
    ".pants.d",
    ".ruff_cache",
    ".svn",
    ".tox",
    ".venv",
    "__pypackages__",
    "_build",
    "buck-out",
    "build",
    "dist",
    "node_modules",
    "venv",
]
per-file-ignores = { }

# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

# Assume Python 3.10.
target-version = "py310"

[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10

[tool.ruff.isort]
known-first-party = ["kiara", "kiara_plugin"]

[tool.ruff.pydocstyle]
convention = "google"

[tool.pyright]
include = ["src"]
exclude = ["**/__pycache__"]
ignore = []

reportMissingImports = true
reportMissingTypeStubs = false

executionEnvironments = [
]