{"id":20612619,"url":"https://github.com/pypsa/pypsa-server","last_synced_at":"2025-06-27T07:34:33.369Z","repository":{"id":43568350,"uuid":"361409363","full_name":"PyPSA/pypsa-server","owner":"PyPSA","description":"A web interface for running PyPSA scenarios using the snakemake workflow","archived":false,"fork":false,"pushed_at":"2024-09-21T10:38:50.000Z","size":167,"stargazers_count":8,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T07:07:42.542Z","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/PyPSA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-04-25T11:27:47.000Z","updated_at":"2024-09-23T02:38:12.000Z","dependencies_parsed_at":"2023-02-01T03:45:44.959Z","dependency_job_id":"85b264ae-9abd-4991-bae5-ea327427db86","html_url":"https://github.com/PyPSA/pypsa-server","commit_stats":{"total_commits":94,"total_committers":2,"mean_commits":47.0,"dds":0.05319148936170215,"last_synced_commit":"b7fc6366aebfcd14f94537caa9176727c957ffd4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PyPSA/pypsa-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyPSA%2Fpypsa-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyPSA%2Fpypsa-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyPSA%2Fpypsa-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyPSA%2Fpypsa-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PyPSA","download_url":"https://codeload.github.com/PyPSA/pypsa-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyPSA%2Fpypsa-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262212977,"owners_count":23276023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-16T11:05:55.825Z","updated_at":"2025-06-27T07:34:33.346Z","avatar_url":"https://github.com/PyPSA.png","language":"Python","readme":"\n# PyPSA-server: web interface for running PyPSA-Eur-Sec scenarios\n\nPyPSA-server allows you to run live online custom optimisations for a sector-coupled model of the European energy system, [PyPSA-Eur-Sec](https://github.com/PyPSA/pypsa-eur-sec). You can, for example, explore different scenarios to reach net-zero carbon dioxide emissions across electricity, heating, transport and industry.\n\nYou can find a live version at:\n\n\u003chttps://model.energy/scenarios/\u003e\n\n\n## Software requirements for installation\n\nPyPSA-server has only been tested on the Ubuntu distribution of GNU/Linux.\n\nUbuntu packages:\n\n`sudo apt install redis-server zip`\n\nTo install, we recommend using [miniconda](https://docs.conda.io/en/latest/miniconda.html) in combination with [mamba](https://github.com/QuantStack/mamba).\n\n\tconda install -c conda-forge mamba\n\tmamba env create -f environment.yaml\n\nFor (optional) server deployment:\n\n\tsudo apt install nginx\n\tmamba install gunicorn\n\n## Data requirements for installation\n\nDownload and unpack the required data bundle (around 100 MB), derived from [PyPSA-Eur-Sec](https://github.com/PyPSA/pypsa-eur-sec).\n\n\twget https://model.energy/scenarios/static/pypsa-server-data-bundle-220226.zip\n\tunzip pypsa-server-data-bundle-220226.zip\n\n## Run server locally on your own computer\n\nTo run locally you need to start the Python Flask server in one terminal, and redis in another:\n\nStart the Flask server in one terminal with:\n\n`python server.py`\n\nThis will serve to local address:\n\n\u003chttp://127.0.0.1:5002/\u003e\n\nIn the second terminal start Redis:\n\n`rq worker pypsa`\n\nwhere `pypsa` is the name of the queue. No jobs will be solved until\nthis is run. You can run multiple workers to process jobs in parallel.\n\n\n## Deploy on a publicly-accessible server\n\nUse nginx, gunicorn for the Python server, rq, and manage with supervisor.\n\n\n## License\n\nCopyright 2021-2 [Tom Brown](https://nworbmot.org/), [Fabian Neumann](https://www.neumann.fyi/)\n\nPyPSA-Server is licensed under the open source [MIT License](https://github.com/PyPSA/pypsa-server/blob/master/LICENSE.txt).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypsa%2Fpypsa-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpypsa%2Fpypsa-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypsa%2Fpypsa-server/lists"}