Skip to main content

Aturio.ai is the unified regulation API for Southeast Asia, connecting pasal.id for Indonesia and laws.sg for Singapore.

Project description

Aturio

Aturio.ai - The Unified Regulation API for Southeast Asia

Aturio.ai is the unified regulation API for Southeast Asia. It connects products and datasets across the region, including pasal.id for Indonesia and laws.sg for Singapore.

Current Release

This Python SDK currently includes Indonesia legal data access via the public Pasal.id API, with laws.sg listed as the Singapore surface in the Aturio.ai network.

Installation

pip install aturio

Usage

from aturio import create_indonesia_client, get_law, list_laws, search

client = create_indonesia_client()

results = search("upah minimum", limit=3)
laws = list_laws(type="UU", limit=5)
law = get_law("/akn/id/act/uu/2003/13")

print(results["total"])
print(law["work"]["title"])
print(laws["laws"][0]["frbr_uri"])

Included Methods

  • search(query, ...) -> search Indonesian legal materials
  • list_laws(...) -> list laws with filters and pagination
  • get_law(frbr_uri) -> fetch a law and its article content
  • create_indonesia_client(...) -> create a reusable client instance

Platform Coverage

  • pasal.id - Indonesia (live, included in this package)
  • laws.sg - Singapore (coming soon)

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aturio-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aturio-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file aturio-0.1.1.tar.gz.

File metadata

  • Download URL: aturio-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for aturio-0.1.1.tar.gz
Algorithm Hash digest
SHA256 557186224a46cad9ee8488bf3454f7d5e9b0853a78abde6eadc40a3f63235da7
MD5 b306a7e3dcde34ddcce9545fa98208f5
BLAKE2b-256 3e43443facd062581b4cfc175910df85cfc17cb514cee16560127229fca81380

See more details on using hashes here.

File details

Details for the file aturio-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aturio-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for aturio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4fb403a312c4271235d2c3baa3efa9902c9d1119509010d84d7246c30f35f1e
MD5 4bbda853a41365569e10221b60a620cd
BLAKE2b-256 a336169c57781d27466c8892697dc661bf737b8aa80e4c5ae0ae2fbaaccc3fd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page