Scrape data from allabolag.se.
Project description
This is a scraper for collecting data from allabolag.se. It has no formal relationship with the site.
It is written and maintained for Newsworthy, but could possibly come in handy for other people as well.
Installing
pip install allabolag
Example usage
from allabolag import Company
company = Company("559071-2807")
# show all available data about the company in a raw...
print(company.raw_data)
# ...or cleaned format
print(company.data)
And you can iterate the list of recent liquidations.
from allabolag import iter_liquidated_companies
for company in iter_liquidated_companies(until="2019-06-01"):
print(company)
Developing
To run tests:
python3 -m pytest
Deployment
To deploy a new version to PyPi:
Update Changelog below.
Update version.py
Build: python3 setup.py sdist bdist_wheel
Upload: python3 -m twine upload dist/allabolag-X.Y.X*
…assuming you have Twine installed (pip install twine) and configured.
Changelog
0.1.0 First version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allabolag-0.1.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for allabolag-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b00ee809070f0f0866aa31e1ec308e0ae759d10dd942e857bd33da02e8fdac49 |
|
MD5 | 442425b7f2ed2b36c567fead4e587a81 |
|
BLAKE2b-256 | b9c4e4f7a2b864844dea1b5eb5ca52cc06a4bec952b9d8617dff51980093cab4 |