Registry / crm-productivity / wllegal

wllegal

JSON →
library2026.3pypypi✓ verified 83d ago

Hosted Weblate legal stuff. Version 2026.3, requires Python >=3.11. Released as part of Weblate's legal compliance tools. Development tracked on GitHub.

pip install wllegal
INSTALL
IMPORT
SIG · WLLEGAL
W
wllegal
crm-productivitypythonv2026.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

legal
import wllegal
from wllegal import legal
Wrong because legal is not a submodule; the package exposes top-level functions.
Legal
from wllegal import Legal
from wllegal.legal import Legal
Legal is a class directly in wllegal, not in a submodule.

Basic usage of wllegal package: import the module, use top-level functions and the Legal class.

import wllegal from wllegal import Legal # Quick usage: list legal obligations obligations = wllegal.obligations() print(obligations) # Use Legal class legal_instance = Legal() print(legal_instance.info())
Debug
Known issues
breakingVersion 2026.3 requires Python >=3.11. Older Python versions are not supported.
fix
Upgrade Python to 3.11 or newer.
affects: 2026.x
deprecatedThe function `legal_info()` has been deprecated in favor of `obligations()`.
fix
Use `wllegal.obligations()` instead of `wllegal.legal_info()`.
affects: >=2026.0
gotchaImporting `from wllegal import *` may bring unexpected names; module does not define `__all__`.
fix
Explicitly import required symbols like `from wllegal import Legal`.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'wllegal'
Package not installed or Python environment not correct.
fix
Run `pip install wllegal` in the correct Python environment (Python >=3.11).
AttributeError: module 'wllegal' has no attribute 'legal_info'
Function removed or renamed in recent version (use `obligations`).
fix
Replace `wllegal.legal_info()` with `wllegal.obligations()`.
AttributeError: 'Legal' object has no attribute 'foo'
Using an attribute that does not exist on the Legal class.
fix
Check the available methods: `print(dir(Legal))` after importing.
Upgrade
Version history
2026.3latest on PyPI · released Apr 10, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
38
OpenAI (training)
1
Resources
wllegal — pip install wllegal · libregistry