{"id":38655885,"url":"https://github.com/manuelep/planetstore","last_synced_at":"2026-01-17T09:27:41.263Z","repository":{"id":145831333,"uuid":"290237007","full_name":"manuelep/planetstore","owner":"manuelep","description":"Py4web app component that implements a database model inspired to the OpenstreetMap database, optimized for storing informations, with more a very flexible json structure that able to host and model any kind of data.","archived":false,"fork":false,"pushed_at":"2020-12-22T15:43:42.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-29T09:45:48.483Z","etag":null,"topics":["database","geospatial","gis","osm","postgis","programming"],"latest_commit_sha":null,"homepage":"http://manuelep.github.io/planet-suite/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manuelep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-08-25T14:26:34.000Z","updated_at":"2021-01-01T03:39:49.000Z","dependencies_parsed_at":"2023-09-25T01:47:46.546Z","dependency_job_id":null,"html_url":"https://github.com/manuelep/planetstore","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"6163c5066b6ecb763c089baaed2eda5561394965"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manuelep/planetstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelep%2Fplanetstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelep%2Fplanetstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelep%2Fplanetstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelep%2Fplanetstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelep","download_url":"https://codeload.github.com/manuelep/planetstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelep%2Fplanetstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"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":["database","geospatial","gis","osm","postgis","programming"],"created_at":"2026-01-17T09:27:40.580Z","updated_at":"2026-01-17T09:27:41.253Z","avatar_url":"https://github.com/manuelep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Planetstore\n\nPlanetstore is a sub-module developed as a component of a generic\n[scaffolding](https://github.com/web2py/py4web/tree/master/apps/_scaffold)\n[py4web](http://py4web.com/) application and it's part of the\n[Planet Suite](https://manuelep.github.io/planet-suite/).\n\n\u003e **Note**\n\u003e Please refer to the\n\u003e [py4web official documentation](http://py4web.com/_documentation/static/index.html#chapter-01)\n\u003e for framework installation, setup and basics concepts about implementing applications\n\u003e and about what the *apps* folder is.\n\n# Description\n\nThis module implements a database model inspired to the OpenstreetMap database,\noptimized for storing informations, with more a very flexible json structure that\nable to host and model any kind of data.\n\nIt supports OpenstreetMap and geojson as main data structure for import.\n\n# How to's\n\n## Include Planetstore in your custom application\n\nPy4web applications are nothing more than native [python modules](https://docs.python.org/3/tutorial/modules.html)\nand the Planetstore code repository is structured in the same way so can be used actually as\na *submodule* that can be nested in custom applications.\n\nYou can link the module to your code using [Git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)\nbut the minimal requirement is to copy/clone the [Planetstore repository](https://github.com/manuelep/planetstore)\nnested in your `root` project folder.\n\n### Requirements\n\nPlease refer to the `requirements.txt` file for an updated list of required python\nmodules and install them using:\n\n```sh\npip install -r [path/to/apps/\u003cyour app\u003e/planetstore/]requirements.txt\n```\n\n### Setup\n\n1. Create a *settings_private.py* in your app `root` folder with the subsequent\ncontent adapted to your needs:\n\n        ::python\n        SETUP_MODE = True\n\n        # logger settings\n        LOGGERS = [\n            \"debug:stdout\" # or \"info:stdout\"\n        ]  # syntax \"severity:filename\" filename can be stderr or stdout\n\n        # db settings\n        DB_URI = \"postgres://\u003cPG user\u003e:\u003cpassword\u003e@\u003chost name\u003e/\u003cdb name\u003e\"\n        # DB_POOL_SIZE = 10\n        # DB_MIGRATE = \u003cTrue/False\u003e # True if not specified\n\n1. Run the script for creating and setting up the database extensions and model:\n\n        ::sh\n        cd path/to/apps\n        python -m \u003cyour app\u003e.planetstore.setup.createdb\n\n    \u003e **WARNING**\n    \u003e the script will ask for necessary PostgreSQL power user credentials\n\n    \u003e **Note**\n    \u003e If, maybe trying to reset your db you'll get following exception\n    \u003e you can try *running again the script*\n    \u003e `psycopg2.errors.UndefinedObject: ERRORE:  il tipo geometry non esiste`\n\n1. Run the script for setting up views (*named queries*)\n\n        ::sh\n        python -m \u003cyour app\u003e.planetstore.setup.createviews\n\n1. **Comment out the SETUP_MODE variable definition in private settings file or set its value to False.**\n\n# Doc\n\nPlease refer to the [repository wiki](https://github.com/manuelep/planetstore/wiki)\nfor the module detailed documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelep%2Fplanetstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelep%2Fplanetstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelep%2Fplanetstore/lists"}