-
-
Save nielsberglund/5c155c5c2ccc8517fa41cf8aac94ae6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [project] | |
| name = "import-mcp" | |
| version = "0.1.0" | |
| description = "MCP server for importing event data from Quicket, Sessionize, and Microsoft Forms" | |
| readme = "README.md" | |
| requires-python = ">=3.10" | |
| authors = [ | |
| { name = "Event Contact Management System" } | |
| ] | |
| keywords = ["mcp", "import", "quicket", "sessionize", "event-management"] | |
| classifiers = [ | |
| "Development Status :: 3 - Alpha", | |
| "Intended Audience :: Developers", | |
| "Programming Language :: Python :: 3", | |
| "Programming Language :: Python :: 3.10", | |
| "Programming Language :: Python :: 3.11", | |
| "Programming Language :: Python :: 3.12", | |
| ] | |
| dependencies = [ | |
| "fastmcp>=0.3.0,<3", # MCP server framework (pin to v2) | |
| "asyncpg>=0.29.0", # Async PostgreSQL driver | |
| "pandas>=2.0.0", # CSV parsing | |
| "openpyxl>=3.1.0", # Excel file support | |
| "fuzzywuzzy[speedup]>=0.18.0", # Fuzzy string matching | |
| "python-Levenshtein>=0.21.0", # Fast string similarity | |
| "html>=1.16", # HTML entity decoding | |
| ] | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=7.0.0", | |
| "pytest-asyncio>=0.21.0", | |
| "pytest-cov>=4.0.0", | |
| "ruff>=0.1.0", | |
| "mypy>=1.0.0", | |
| ] | |
| [project.scripts] | |
| import-mcp = "import_mcp.server:main" | |
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["src/import_mcp"] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| asyncio_mode = "auto" | |
| addopts = [ | |
| "--strict-markers", | |
| "--tb=short", | |
| "--cov=src/import_mcp", | |
| "--cov-report=term-missing", | |
| "--cov-report=html", | |
| ] | |
| [tool.ruff] | |
| line-length = 100 | |
| target-version = "py310" | |
| [tool.ruff.lint] | |
| select = [ | |
| "E", # pycodestyle errors | |
| "W", # pycodestyle warnings | |
| "F", # pyflakes | |
| "I", # isort | |
| "B", # flake8-bugbear | |
| "C4", # flake8-comprehensions | |
| "UP", # pyupgrade | |
| ] | |
| ignore = [ | |
| "E501", # line too long (handled by formatter) | |
| "B008", # do not perform function calls in argument defaults | |
| ] | |
| [tool.ruff.lint.isort] | |
| known-first-party = ["import_mcp"] | |
| [tool.mypy] | |
| python_version = "3.10" | |
| warn_return_any = true | |
| warn_unused_configs = true | |
| disallow_untyped_defs = true | |
| exclude = ["tests/"] | |
| [[tool.mypy.overrides]] | |
| module = ["fuzzywuzzy.*", "asyncpg.*"] | |
| ignore_missing_imports = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment