No project description provided
Project description
Deutschland
A python package that gives you easy access to the most valuable datasets of Germany.
Installation
pip install deutschland
Geographic data
Fetch information about streets, house numbers, building outlines, …
from deutschland import Geo
geo = Geo()
# top_right and bottom_left coordinates
data = geo.fetch([52.50876180448243, 13.359631043007212],
[52.530116236589244, 13.426532801586827])
print(data.keys())
# dict_keys(['Adresse', 'Barrierenlinie', 'Bauwerksflaeche', 'Bauwerkslinie', 'Bauwerkspunkt', 'Besondere_Flaeche', 'Besondere_Linie', 'Besonderer_Punkt', 'Gebaeudeflaeche', 'Gebaeudepunkt', 'Gewaesserflaeche', 'Gewaesserlinie', 'Grenze_Linie', 'Historischer_Punkt', 'Siedlungsflaeche', 'Vegetationslinie', 'Verkehrsflaeche', 'Verkehrslinie', 'Verkehrspunkt', 'Hintergrund'])
print(data["Adresse"][0])
# {'geometry': {'type': 'Point', 'coordinates': (13.422642946243286, 52.51500157651358)}, 'properties': {'postleitzahl': '10179', 'ort': 'Berlin', 'ortsteil': 'Mitte', 'strasse': 'Holzmarktstraße', 'hausnummer': '55'}, 'id': 0, 'type': 'Feature'}
Company Data
Handelsregister
Get financial reports for all german companies that are reporting to Handelsregister.
Big thanks to Nico Duldhardt and Friedrich Schöne, who supported this implementation with their machine learning model.
from deutschland import Bundesanzeiger
ba = Bundesanzeiger()
# search term
data = ba.get_reports("Deutsche Bahn AG")
# returns a dictionary with all reports found as fulltext reports
print(data.keys())
# dict_keys(['Jahresabschluss zum Geschäftsjahr vom 01.01.2020 bis zum 31.12.2020', 'Konzernabschluss zum Geschäftsjahr vom 01.01.2020 bis zum 31.12.2020\nErgänzung der Veröffentlichung vom 04.06.2021',
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
deutschland-0.1.5.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for deutschland-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6596caec0f82923b2c3dab127480966f8d58af1c010b3fdd19ae3da77d5c5e8f |
|
MD5 | 5731f877be8565c353a944450ac5d555 |
|
BLAKE2b-256 | fab5c3d546e46244e5d38b766120c9ff071aaf226fb9fa2d6eec9db8d52cf993 |