Skip to main content

Python 3 PyPi PyPi status CodeCov coverage downloads GNU General Public License v3.0 Documentation Status

This is an unofficial Python package for interacting with APIs available at SingStat.gov.sg.

Installing the package

Install the package using pip:

pip install singstat

Using the package

The main steps are:

  1. Import the Client class.

  2. Instantiate an object from the Client class.

  3. Call a function on that object.

For more information, refer to the documentation.

Usage overview

Interacting with SingStat.gov.sg’s API is done through a client.

This client contains several public functions, one function per endpoint. A function’s name is the same as its corresponding endpoint’s ending path.

Most functions accept named arguments, where an argument corresponds with a parameter that the endpoint accepts.

Reference

SingStat.gov.sg’s Developer Guide

Other Packages Built by Me

If you like this package, you may be interested in these packages that I have built to work with other Government of Singapore APIs:

  • datagovsg: for interacting with APIs available at Data.gov.sg.

  • landtransportsg: for interacting with APIs available at LTA DataMall.

Metadata

Release files for singstat 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for singstat 2.1.0
File Size Uploaded
singstat-2.1.0.tar.gz 26.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for singstat 2.1.0
File Interpreter ABI Platform
singstat-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.0 kB

Release files / singstat-2.1.0.tar.gz

Download URL singstat-2.1.0.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4ce3878f83f1b80d7e2827bbe416858362f243c9df22c4bfa8df3928aabd946c
BLAKE2b-256 checksum
How to use checksums
dbfb437812069f428cd80263b52c60673ea027174a713654f471ed09171e2147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / singstat-2.1.0-py3-none-any.whl

Download URL singstat-2.1.0-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d2cbcfdbba909844c44e748bf92618cc378027b003eb723d779fe75659e34b1
BLAKE2b-256 checksum
How to use checksums
2fa785ee2b3879fde7bd69d52464061e530cce11a969b35abdad1cdecc469422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.2

2 release files

2.0.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page