{"id":42143065,"url":"https://github.com/monora/offeneregister","last_synced_at":"2026-01-26T17:44:10.974Z","repository":{"id":66239595,"uuid":"176172407","full_name":"monora/offeneregister","owner":"monora","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-13T12:26:32.000Z","size":400,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T15:35:21.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monora.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-17T23:19:33.000Z","updated_at":"2026-01-13T12:26:29.000Z","dependencies_parsed_at":"2025-06-10T07:28:16.200Z","dependency_job_id":"1600f517-5fcd-4154-bb46-86667c5f9a93","html_url":"https://github.com/monora/offeneregister","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/monora/offeneregister","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monora%2Foffeneregister","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monora%2Foffeneregister/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monora%2Foffeneregister/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monora%2Foffeneregister/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monora","download_url":"https://codeload.github.com/monora/offeneregister/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monora%2Foffeneregister/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28783267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-26T17:44:09.078Z","updated_at":"2026-01-26T17:44:10.968Z","avatar_url":"https://github.com/monora.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============\nOffeneRegister\n==============\n\n\n.. image:: https://img.shields.io/pypi/v/offeneregister.svg\n        :target: https://pypi.python.org/pypi/offeneregister\n\n.. image:: https://img.shields.io/travis/monora/offeneregister.svg\n        :target: https://travis-ci.org/monora/offeneregister\n\n.. image:: https://readthedocs.org/projects/offeneregister/badge/?version=latest\n        :target: https://offeneregister.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\nOffene Register with Neo4j\n\n* Free software: MIT license\n* Documentation: https://monora.github.io/offeneregister\n\nWith this library you can analyse data from offeneregister_ with Neo4j_. The Json-Schema ist defined in\n`openc-schema`_. It parses the data using the python jsonschema_ library and imports it\ninto a Neo4j database using py2neo_ driver by Nigel Small. See also `Cypher: LOAD JSON from URL AS Data`_\n\n.. _offeneregister: https://offeneregister.de/daten\n.. _Neo4j: https://neo4j.com\n.. _openc-schema: https://github.com/openc/openc-schema/blob/master/schemas/company-schema.json\n.. _jsonschema: https://github.com/Julian/jsonschema\n.. _py2neo: http://neo4j.com/developer/python/#_py2neo\n.. _`Cypher: LOAD JSON from URL AS Data`: https://neo4j.com/blog/cypher-load-json-from-url/\n\nInstallation:\n-------------\n\n.. code-block:: console\n\n   $ pip install offeneregister\n\nExamples\n--------\n\nExtract data of city ``Gau Algesheim``\n\n.. code-block:: console\n\n  bunzip2 -c -d  data/raw/de_companies_ocdata.jsonl.bz2 | grep \"Gau-Algesheim\" | jq '.' | less\n\n.. code-block:: python\n\n import os\n import requests\n from py2neo import neo4j\n\n # Connect to graph and add constraints.\n neo4jUrl = os.environ.get('NEO4J_URL',\"http://localhost:7474/db/data/\")\n graph = neo4j.GraphDatabaseService(neo4jUrl)\n\n # Add uniqueness constraints.\n neo4j.CypherQuery(graph, \"CREATE CONSTRAINT ON (q:Question) ASSERT q.id IS UNIQUE;\").run()\n\n # Build URL\n apiUrl = \"https://api.stackexchange.com/2.2/questions....\" % (tag,page,page_size)\n # Send GET request.\n json = requests.get(apiUrl, headers = {\"accept\":\"application/json\"}).json()\n\n # Build query\n query = \"\"\"\n UNWIND {json} AS data ....\n \"\"\"\n\n # Send Cypher query.\n neo4j.CypherQuery(graph, query).run(json=json)\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `monora/cookiecutter-pypackage-poetry`_ project\ntemplate.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`monora/cookiecutter-pypackage-poetry`: https://github.com/monora/cookiecutter-pypackage-poetry\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonora%2Foffeneregister","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonora%2Foffeneregister","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonora%2Foffeneregister/lists"}