Kausal Paths
A tool for predicting the future emissions of cities based on historical emission data and various climate actions.
https://github.com/kausaltech/kausal-paths
Category: Emissions
Sub Category: Emission Observation and Modeling
Last synced: about 12 hours ago
JSON representation
Repository metadata
Kausal Paths to predict how the emissions of cities develop
- Host: GitHub
- URL: https://github.com/kausaltech/kausal-paths
- Owner: kausaltech
- License: agpl-3.0
- Created: 2021-04-13T13:35:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T06:44:28.000Z (3 days ago)
- Last Synced: 2025-04-25T07:28:35.711Z (3 days ago)
- Language: Python
- Size: 5.33 MB
- Stars: 7
- Watchers: 5
- Forks: 7
- Open Issues: 10
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
README.md
Kausal Paths
Kausal Paths is a tool for predicting the future emissions of cities based on historical emission data and various climate actions. Users can compare how emissions develop in different scenarios. Data is provided using a GraphQL API.
Installation
Development
In the project root directory, create and activate a Python virtual environment:
python3 -m venv venv
source venv/bin/activate
Install the required Python packages:
pip install -r requirements.txt
Note for macOS users: If you run into issues installing python-snappy, install it separately first
brew install snappy CPPFLAGS="-I/opt/homebrew/include -L/opt/homebrew/lib" pip install python-snappy
Create a file called local_settings.py
in your repository root with the following contents:
from paths.settings import BASE_DIR
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'paths',
'ATOMIC_REQUESTS': True,
}
}
Run migrations:
python manage.py migrate
Create a superuser:
You might need the following translations during the createsuperuser operation: käyttäjätunnus = username, sähköpostiosoite = e-mail
python manage.py createsuperuser
Compile the translation files:
python manage.py compilemessages
You can now run the backend:
python manage.py runserver
The GraphQL API is now available at http://127.0.0.1:8000/v1/graphql/
.
Owner metadata
- Name: Kausal Tech
- Login: kausaltech
- Email: [email protected]
- Kind: organization
- Description: We help cities bridge the gap between climate goals and actions.
- Website: https://kausal.tech
- Location: Helsinki
- Twitter: kausaltech
- Company:
- Icon url: https://avatars.githubusercontent.com/u/61085507?v=4
- Repositories: 23
- Last ynced at: 2024-04-24T05:56:58.098Z
- Profile URL: https://github.com/kausaltech
GitHub Events
Total
- Watch event: 1
- Delete event: 55
- Issue comment event: 49
- Push event: 794
- Pull request review comment event: 22
- Pull request review event: 58
- Pull request event: 118
- Fork event: 2
- Create event: 75
- Commit comment event: 1
Last Year
- Watch event: 1
- Delete event: 55
- Issue comment event: 49
- Push event: 794
- Pull request review comment event: 22
- Pull request review event: 58
- Pull request event: 118
- Fork event: 2
- Create event: 75
- Commit comment event: 1
Committers metadata
Last synced: 8 days ago
Total Commits: 2,458
Total Committers: 13
Avg Commits per committer: 189.077
Development Distribution Score (DDS): 0.6
Commits in past year: 1,041
Committers in past year: 10
Avg Commits per committer in past year: 104.1
Development Distribution Score (DDS) in past year: 0.636
Name | Commits | |
---|---|---|
Jouni Tuomisto | j****o@k****h | 984 |
Juha Yrjölä | j****a@i****i | 787 |
Michael Mechenich | m****h@g****m | 277 |
Bernhard Bliem | b****d@b****z | 170 |
Timo Tuominen | t****n@g****m | 105 |
Matias Wargelin | m****n@k****h | 86 |
Jan-Erik S. | 6****u | 23 |
Joe Smallwood | j****d@k****h | 10 |
Tero Tikkanen | t****n@g****m | 6 |
philippestolz | 1****z | 4 |
adinhodovic | h****n@g****m | 3 |
DeepL | n****l@w****g | 2 |
Lilia Sviridova | s****a@g****m | 1 |
Committer domains:
- kausal.tech: 3
- weblate.org: 1
- bliem.xyz: 1
- iki.fi: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 16
Total pull requests: 208
Average time to close issues: about 1 month
Average time to close pull requests: about 1 month
Total issue authors: 2
Total pull request authors: 11
Average comments per issue: 0.0
Average comments per pull request: 0.55
Merged pull request: 164
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 135
Past year average time to close issues: N/A
Past year average time to close pull requests: 22 days
Past year issue authors: 0
Past year pull request authors: 9
Past year average comments per issue: 0
Past year average comments per pull request: 0.63
Past year merged pull request: 107
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- juyrjola (10)
- terotik (6)
Top Pull Request Authors
- jtuomist (70)
- MWargelin (29)
- Bhavatu (21)
- woodwoerk (19)
- tituomin (19)
- mechenich (18)
- bbliem (13)
- rominf (12)
- terotik (3)
- lilia1891 (3)
- ibrahim-string (1)
Top Issue Labels
- release (3)
Top Pull Request Labels
- enhancement (3)
Dependencies
- autopep8 * development
- django-stubs * development
- flake8 * development
- graphene-stubs * development
- ipython * development
- mypy * development
- pandas-stubs * development
- pip-tools * development
- pylint * development
- pylint-django * development
- types-orjson * development
- asgiref ==3.5.1 development
- astroid ==2.11.4 development
- asttokens ==2.0.5 development
- autopep8 ==1.6.0 development
- backcall ==0.2.0 development
- click ==8.1.3 development
- decorator ==5.1.1 development
- dill ==0.3.4 development
- django ==3.2.13 development
- django-stubs ==1.10.1 development
- django-stubs-ext ==0.4.0 development
- executing ==0.8.3 development
- flake8 ==4.0.1 development
- graphene-stubs ==0.15 development
- ipython ==8.3.0 development
- isort ==5.10.1 development
- jedi ==0.18.1 development
- lazy-object-proxy ==1.7.1 development
- matplotlib-inline ==0.1.3 development
- mccabe ==0.6.1 development
- mypy ==0.942 development
- mypy-extensions ==0.4.3 development
- pandas-stubs ==1.2.0.58 development
- parso ==0.8.3 development
- pep517 ==0.12.0 development
- pexpect ==4.8.0 development
- pickleshare ==0.7.5 development
- pip-tools ==6.6.0 development
- platformdirs ==2.5.2 development
- prompt-toolkit ==3.0.29 development
- ptyprocess ==0.7.0 development
- pure-eval ==0.2.2 development
- pycodestyle ==2.8.0 development
- pyflakes ==2.4.0 development
- pygments ==2.12.0 development
- pylint ==2.13.8 development
- pylint-django ==2.5.3 development
- pylint-plugin-utils ==0.7 development
- pytz ==2022.1 development
- six ==1.16.0 development
- sqlparse ==0.4.2 development
- stack-data ==0.2.0 development
- toml ==0.10.2 development
- tomli ==2.0.1 development
- traitlets ==5.1.1 development
- types-orjson ==3.6.2 development
- types-pytz ==2021.3.7 development
- types-pyyaml ==6.0.7 development
- typing-extensions ==4.2.0 development
- wcwidth ==0.2.5 development
- wheel ==0.37.1 development
- wrapt ==1.14.1 development
- kausal_paths_extensions ==0.4.1
- uwsgi *
- uwsgi ==2.0.19.1
- Babel *
- colored *
- django *
- django-cors-headers *
- django-environ *
- django-extensions *
- django-modeltrans *
- djangorestframework *
- dvc-pandas *
- factory-boy *
- graphene-django *
- graphene-django-optimizer *
- ipython *
- numba *
- orjson *
- pandas *
- pint *
- pint-pandas *
- psycopg2-binary *
- pygments-graphql *
- pytest-django *
- pytest-factoryboy *
- python-dotenv *
- redis *
- rich *
- ruamel.yaml *
- scipy *
- sentry_sdk *
- wagtail <2.16
- wagtail-grapple *
- wagtail-localize *
- wagtailfontawesome *
- 173 dependencies
- actions/checkout v2 composite
- docker/login-action v1 composite
- ubuntu 22.04 build
- postgres 13 build
- ${APP_IMAGE-kausal-paths} latest
- ${DB_IMAGE-kausal-paths-postgres} latest
- ${REDIS_IMAGE-redis 6.0-alpine}
- jupyterlab *
- jupyterlab-lsp *
- python-lsp-server *
- seaborn *
- 101 dependencies
Score: 5.398162701517753