From 2de7c18459b53c79efd7df044a875da443c97304 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 18:59:59 +0000 Subject: [PATCH] Initial upload: project structure and configuration --- pyproject.toml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6c73dbc --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,56 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "data-format-converter" +version = "1.0.0" +description = "A CLI tool that converts between JSON, YAML, TOML, and CSV formats" +readme = "README.md" +requires-python = ">=3.9" +license = {text = "MIT"} +authors = [ + {name = "Data Format Converter Contributors"} +] +keywords = ["cli", "converter", "json", "yaml", "toml", "csv", "data"] +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" +] +dependencies = [ + "click>=8.3.0", + "rich>=14.1.0", + "pyyaml>=6.0", + "tomlkit>=0.13.0", + "pandas>=2.0.0", + "watchdog>=0.8.0" +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0" +] + +[project.scripts] +dfc = "src.main:main" + +[tool.setuptools.packages.find] +where = ["."] +include = ["src*"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_classes = ["Test*"] +python_functions = ["test_*"] + +[tool.setuptools.package-data] +src = ["py.typed"]