Committing first version of the XMCTSGuard python package

This commit is contained in:
2026-04-16 15:52:12 +02:00
commit d5599f0c85
29 changed files with 5074 additions and 0 deletions

50
pyproject.toml Normal file
View File

@@ -0,0 +1,50 @@
[build-system]
requires = ["hatchling >= 1.26"]
build-backend = "hatchling.build"
[project]
name = "XMCTSGuard"
version = "0.1.0"
description = "Anomaly detection and cleaning for XMCTS SXR data"
authors = [
{name = "Luca Orlandi", email = "luca.orlandi@igi.cnr.it"}
]
readme = "README.md"
requires-python = ">=3.11"
license = {text = "GPL v3"}
license-files = ["LICEN[CS]E*"]
# List your library dependencies here (what pip install will grab)
dependencies = [
"numpy",
"scipy",
"matplotlib",
"seaborn",
"torch",
"lightning",
"PyQt6",
"h5py",
"umap-learn"
]
[project.optional-dependencies]
# Dependencies for development and research notebooks
dev = [
"pytest",
"jupyterlab",
"ipywidgets",
]
[project.scripts]
# This creates a terminal command to launch your GUI!
# Format: command_name = "package.module:function"
XMCTSGuard-gui = "XMCTSGuard.main:start_app"
# Project urls
[project.urls]
Homepage = "https://github.com/pypa/sampleproject"
Issues = "https://github.com/pypa/sampleproject/issues"
[tool.setuptools.packages.find]
# Tells setuptools where to look for your code
where = ["src"]