[build-system] requires = ["setuptools>=84.1.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "communityone-hosting" version = "0.1.0" description = "Hosting/publishing tooling for Open Navigator — publish gold datasets to HuggingFace Datasets and deploy the app to HuggingFace Spaces (hosting.huggingface), and migrate/sync the deployed warehouse into Neon cloud Postgres (hosting.neon). Ported from scripts/huggingface/ and scripts/deployment/neon/ as a proper library." requires-python = ">=3.11" dependencies = [ "huggingface-hub>=0.23", "datasets>=2.18", "pandas>=2.1", "pyarrow>=26.0.1", "loguru>=0.7", "python-dotenv>=1.0", # hosting.neon — load/sync gold + bronze into Neon cloud Postgres "psycopg2-binary>=2.9", "asyncpg>=0.29", "python-dateutil>=2.8", "core-lib", "communityone-ingestion", ] # Optional extras only needed by the PDF -> parquet helper / Azure Blob transcripts (#630). [project.optional-dependencies] pdf = ["httpx>=0.27", "pypdf>=6.21.4"] azure = ["azure-storage-blob>=12.19", "azure-identity>=1.15"] [tool.uv.sources] core-lib = { workspace = true } communityone-ingestion = { workspace = true } [project.scripts] on-hf = "hosting.huggingface.cli:main" on-azure-transcripts = "hosting.azure.transcript_blobs:main" [tool.setuptools.packages.find] where = ["src"]