Skip to main content

Aturio.ai is the Southeast Asia-wide unified regulation API. Pasal.id is the Indonesia-specific API, and laws.sg is its Singapore surface.

Project description

Aturio

Aturio.ai - The Southeast Asia-Wide Unified Regulation API

Aturio.ai is the Southeast Asia-wide unified regulation API. It connects country-specific regulation surfaces across the region, including pasal.id for Indonesia and laws.sg for Singapore.

Current Release

This Python SDK currently includes the Indonesia-specific Pasal.id API. Aturio.ai is the broader Southeast Asia-wide API layer, with laws.sg as the Singapore surface in the same 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-specific API (live, included in this package)
  • laws.sg - Singapore surface in the Aturio.ai network (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.2.tar.gz (23.7 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aturio-0.1.2.tar.gz
  • Upload date:
  • Size: 23.7 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.2.tar.gz
Algorithm Hash digest
SHA256 cb3c790a3d1a08b39721149df1bbe8f44929f885ba02e0cbc450854f98d2ff49
MD5 b377587b5b48c8b79374a61a577f1e5d
BLAKE2b-256 bdacedf75ed61fc7b88934179c77268ca9401d51efbff8b2f3706cfbe3390151

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aturio-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42ca7d5077811fb2dfc18340840a74d10c196441d8301c1fbe43eddbd86b7144
MD5 432aae4adcc101c51580d580d028f210
BLAKE2b-256 c4c0720361831d5cae002f315f88baadbdc548165338bc1ce8589b69abe2d9d7

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