A package for getting getting Australian legal data from various sources with cache support.
Project description
Legal Data (alpha version)
A package for getting getting Australian legal data from various sources with cache support.
Install from PyPi
pip install legaldata
legislation.com.au example
from legaldata.legislation.crawler import ActCrawler
crawler = ActCrawler()
save_path = "./legislation.com.au/"
for index_url in crawler.get_index_pages():
acts = crawler.get_acts_from_index(index_url, save_path)
austlii.edu.au example
from legaldata.austlii.crawler import ActCrawler
crawler = ActCrawler()
save_path = "./austlii.edu.au/"
for index_url in crawler.get_index_pages():
acts = crawler.get_acts_from_index(index_url, save_path)
Legal Data is distributed under the MIT license.
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
legaldata-0.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for legaldata-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df896fc94d28c4dfa747608beaec664bd6c2d7e8cf46cf971638387333933b3 |
|
MD5 | babcf0a2ebbb8c45300e7c55a00d7a1a |
|
BLAKE2b-256 | 088f2d415e21aa89c2783557c40b0757af076586563d9cb401138528d400dabb |