Skip to main content

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

Bundesanzeiger

Get financial reports for all german companies that are reporting to Bundesanzeiger.

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.

Handelsregister

Fetch general company information about any company in the Handelsregister.

from deutschland import Handelsregister
hr = Handelsregister()
# search by keywords, see documentation for all available params
hr.search(keywords="Deutsche Bahn Aktiengesellschaft")
print(hr)

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

deutschland-0.1.7.tar.gz (48.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deutschland-0.1.7-py3-none-any.whl (48.9 MB view details)

Uploaded Python 3

File details

Details for the file deutschland-0.1.7.tar.gz.

File metadata

  • Download URL: deutschland-0.1.7.tar.gz
  • Upload date:
  • Size: 48.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for deutschland-0.1.7.tar.gz
Algorithm Hash digest
SHA256 7447fe8873c9d66da2c1d9c1fccf8624d5f2a2d86352cb81a5ca10f9a9ad9700
MD5 2b2788fdf044d0eefd0e8b8ace132d5b
BLAKE2b-256 529e5bab30dedba6536811fbb98191e981470851cb0c11543eb48e11146b2666

See more details on using hashes here.

File details

Details for the file deutschland-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: deutschland-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for deutschland-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 de51c533a80247fe98ff670b64506bac47809ce503e1051dbc9fe45c84e6f334
MD5 ddbee7dceaaa4f3de414d5a5ed5302e7
BLAKE2b-256 b66999910818d9b51056a9bbf383e0ab063ae0dab0192d58b3fc8f30e1b9fa03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page