Skip to content

harrytran001/sgpublicdata

Disclaimer: This is not an official Singapore Government project. It is an independent open-source library and is not affiliated with, endorsed by, or operated by any government agency.

publicsgdata

License: MIT

Monorepo for Singapore government open data tools.

Packages

Package Description
publicsgdata Python SDK for data.gov.sg (and LTA / OneMap later)
publicsgdata-mcp Local MCP server for AI agents

Install

Published packages:

uv pip install publicsgdata
uv pip install publicsgdata-mcp

Development

Requires uv.

./scripts/dev_setup.sh         # creates .venv from uv.lock
./scripts/format.sh
./scripts/validate.sh
./scripts/test.sh              # unit tests, runs in CI
./scripts/test_integration.sh  # hits the real API, local only

See CONTRIBUTING.md for PR guidelines.

Repository layout

packages/
  publicsgdata/        # Python SDK
  publicsgdata-mcp/    # MCP server (stdio)
scripts/               # repo-wide dev scripts

License

MIT. See LICENSE.

About

Typed Python SDK for Singapore government public data

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors