singstat
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:
Import the Client class.
Instantiate an object from the Client class.
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| singstat-2.1.0.tar.gz | 26.7 kB | Without provenance | Details for singstat-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| singstat-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for singstat-2.1.0-py3-none-any.whl |
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
|
Security for singstat 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.