Skip to main content

Official Python client for the Legalize API

Project description

legalize

python-ci PyPI Python versions

Official Python client for the Legalize API.

pip install legalize
from legalize import Legalize

client = Legalize(api_key="leg_...")

for law in client.laws.list(country="es", law_type="ley_organica"):
    print(law.id, law.title)

See the monorepo README for the full SDK design and language matrix.

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest

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

legalize-0.1.0.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

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

legalize-0.1.0-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file legalize-0.1.0.tar.gz.

File metadata

  • Download URL: legalize-0.1.0.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for legalize-0.1.0.tar.gz
Algorithm Hash digest
SHA256 23b0f060f79020d4a42e9adb46590974ee6ddd07f6f10f59660efad2e9cbd0eb
MD5 aa1c2918aa45966d69ebfae19aa08532
BLAKE2b-256 ce45c825f1abc55b45da590f9fb538673342393081f4318b785d95a223e6c1fe

See more details on using hashes here.

File details

Details for the file legalize-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: legalize-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for legalize-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f45dd7b0573ef0b0800146ba714738fdf629112c7140b5a2498f5bd4f8edc87
MD5 99fc844d446abfc51e3c64db049bd7bd
BLAKE2b-256 3122a160d9a5a5c59cff3b4fdc5f45176c246a3df8f26ef25f0837f92cc4312c

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