[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "geosight-mcp"
version = "1.0.0"
description = "Production-ready Satellite Imagery Analysis MCP Server"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "Your Name", email = "your.email@example.com" }]
keywords = [
"mcp",
"satellite",
"imagery",
"geospatial",
"remote-sensing",
"machine-learning",
"earth-observation",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Image Processing",
]
dependencies = [
# MCP SDK
"mcp>=1.0.0",
# Web Framework
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"httpx>=0.26.0",
# Geospatial
"rasterio>=1.3.9",
"geopandas>=0.14.2",
"shapely>=2.0.2",
"pyproj>=3.6.1",
"folium>=0.15.1",
"geojson>=3.1.0",
# Satellite Data APIs
"sentinelhub>=3.10.0",
"pystac-client>=0.7.5",
"planetary-computer>=1.0.0",
# ML/DL
"torch>=2.1.0",
"torchvision>=0.16.0",
"timm>=0.9.12",
"segmentation-models-pytorch>=0.3.3",
"ultralytics>=8.1.0",
# Image Processing
"numpy>=1.26.0",
"scipy>=1.12.0",
"scikit-image>=0.22.0",
"opencv-python-headless>=4.9.0.80",
"Pillow>=10.2.0",
# Data Processing
"pandas>=2.1.4",
"xarray>=2024.1.0",
"dask>=2024.1.0",
# Visualization
"matplotlib>=3.8.2",
"seaborn>=0.13.1",
"plotly>=5.18.0",
# Report Generation
"reportlab>=4.0.8",
"jinja2>=3.1.3",
"weasyprint>=60.2",
# Database & Cache
"sqlalchemy>=2.0.25",
"asyncpg>=0.29.0",
"redis>=5.0.1",
"geoalchemy2>=0.14.3",
# Task Queue
"celery[redis]>=5.3.6",
# Storage
"boto3>=1.34.0",
"minio>=7.2.3",
# Configuration
"pydantic>=2.5.3",
"pydantic-settings>=2.1.0",
"python-dotenv>=1.0.0",
# Monitoring
"prometheus-client>=0.19.0",
"structlog>=24.1.0",
# Utilities
"click>=8.1.7",
"rich>=13.7.0",
"tqdm>=4.66.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.4",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"black>=24.1.0",
"ruff>=0.1.13",
"mypy>=1.8.0",
"pre-commit>=3.6.0",
"ipython>=8.20.0",
"jupyter>=1.0.0",
]
earth-engine = ["earthengine-api>=0.1.384", "geemap>=0.31.0"]
gpu = ["torch>=2.1.0", "torchvision>=0.16.0"]
[project.scripts]
geosight = "geosight.cli:main"
geosight-server = "geosight.server:main"
[project.urls]
Homepage = "https://github.com/yourusername/geosight-mcp"
Documentation = "https://github.com/yourusername/geosight-mcp#readme"
Repository = "https://github.com/yourusername/geosight-mcp"
Issues = "https://github.com/yourusername/geosight-mcp/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/geosight"]
[tool.hatch.build.targets.sdist]
include = ["/src", "/tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --tb=short"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.black]
line-length = 100
target-version = ["py311"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hatch
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.ruff]
line-length = 100
target-version = "py311"
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 black)
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.isort]
known-first-party = ["geosight"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"rasterio.*",
"geopandas.*",
"folium.*",
"sentinelhub.*",
"cv2.*",
"torch.*",
"torchvision.*",
]
ignore_missing_imports = true