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.
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',
Big thanks to Nico Duldhardt and Friedrich Schöne, who supported this implementation with their machine learning model.
Release files for deutschland 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| deutschland-0.1.6.tar.gz | 48.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deutschland-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.8 MB
Release files / deutschland-0.1.6.tar.gz
| Download URL | deutschland-0.1.6.tar.gz |
|---|---|
| Size | 48.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82861d366dddcc0663e644e64591cb0e5ff9bc861170c4d9c658854ef99225fb
|
|
BLAKE2b-256 checksum How to use checksums |
764ce81733762eb64f21e7f2ae6b82e418d3a484c3467154376e4d1f5ffc7e84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure
|
Release files / deutschland-0.1.6-py3-none-any.whl
| Download URL | deutschland-0.1.6-py3-none-any.whl |
|---|---|
| Size | 48.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d69ef565ed46bd871fa0a88b2ce3703ee0b85ed1291afdf21d6c876212be8fae
|
|
BLAKE2b-256 checksum How to use checksums |
ecfcc90266a3314bff532749a9f4447870c01f59d7181eb0ac5b67f5dc5e52bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure
|