Legislice

Latest version: v0.8.1

Safety actively analyzes 702201 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.1

------------------
- separate schemas for YAML and JSON input
- flag determines if read_from_json uses text expansion
- change InboundReference to dataclass

0.5.0

------------------

- add EnactmentGroup class
- drop Python 3.7 support
- import Citation and Client at top level of library
- Client.fetch_cross_reference no longer will ignore "date" param
- EnactmentGroup init method can accept None as "enactments" param
- remove "text expansion" module and functions
- remove ExpandableSchema class

0.4.1

------------------

- fix bug: Client made API request requiring 301 redirect

0.4.0

------------------

- add Citation class
- add Citation Style Language JSON serializer methods
- remove mock Clients by migrating tests to pytest-vcr

0.3.1

------------------

- order fields in serialized Enactment JSON output format for readability
- remove include_start and include_end from serialized Enactment JSON output
- fix bug: Enactment.select_all created zero length selectors

0.3.0

------------------

- add CrossReference class as memo of cited Enactment to download
- add CitingProvisionLocation as memo of citing Enactment to download
- add cross_references attr to Enactment model
- add citations_to method to Client class
- EnactmentSchema's content field is moved to a new nested model called TextVersionSchema
- add ability to pass CitingProvisionLocation to Client.read
- add ability to pass InboundReference to Client.read

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.