{"id":30895554,"url":"https://github.com/ladybug-tools/honeybee-anvil","last_synced_at":"2025-09-08T22:07:31.880Z","repository":{"id":150368164,"uuid":"114935599","full_name":"ladybug-tools/honeybee-anvil","owner":"ladybug-tools","description":"Honeybee Anvil Docker image","archived":false,"fork":false,"pushed_at":"2021-09-21T16:06:52.000Z","size":6134,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-01-25T11:38:02.814Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ladybug-tools.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":"2017-12-20T22:07:18.000Z","updated_at":"2017-12-20T23:31:50.000Z","dependencies_parsed_at":"2023-07-27T16:15:26.782Z","dependency_job_id":null,"html_url":"https://github.com/ladybug-tools/honeybee-anvil","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"5be53caaf412d247ca88c90ebe4e193b2ff7a780"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ladybug-tools/honeybee-anvil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-anvil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-anvil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-anvil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-anvil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladybug-tools","download_url":"https://codeload.github.com/ladybug-tools/honeybee-anvil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladybug-tools%2Fhoneybee-anvil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231547,"owners_count":25245659,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-09-08T22:07:28.182Z","updated_at":"2025-09-08T22:07:31.846Z","avatar_url":"https://github.com/ladybug-tools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Honeybee Anvil Prototype\n\n## Prerequisites\n\n* Python 2.7 (`apt-get install python2.7` or [https://www.python.org/downloads/](https://www.python.org/downloads/))\n* pip 9.01 (installed with python, check with `pip --version`, upgrade with `pip install --upgrade pip`)\n* pipenv (`pip install pipenv`)\n\n## Building and running\n\n1. Install Python dependencies and activate the environment\n\n   ```\n   $ pipenv install\n   $ pipenv shell\n   ```\n\n2. Compile proto files into message and service Python classes\n\n   ```\n   $ python -m grpc.tools.protoc -Iproto --python_out=. --grpc_python_out=. proto/honeybee.proto\n   $ python -m grpc.tools.protoc -Iproto --python_out=. --grpc_python_out=. proto/anvilCore/*.proto\n   ```\n\n3. Run the server\n\n   ```\n   $ python server.py\n   Starting Honeybee on [::]:50001\n   ```\n\n4. Test with grpcc (in another shell window)\n\n   ```\n   $ npm install -g grpcc\n   $ grpcc --proto ./proto/honeybee.proto --address 127.0.0.1:50001 -i\n   RunRecipe@127.0.0.1:50001\u003e client.run({\"id\": 0, \"hoys\": [10, 11, 12], \"location\": { \"city\": \"-\", \"latitude\": 40.7128, \"longitude\": 74.0060, \"time_zone\": 5, \"elevation\": 33}, \"analysis_grids\": [{\"analysis_points\": [{\"direction\": {\"x\": 0, \"y\": 0, \"z\": 1}, \"location\": {\"x\": 0, \"y\": 0, \"z\": 0}}]}]}, pr)\n   EventEmitter{}\n   RunRecipe@127.0.0.1:50001\u003e\n   {\n     \"job_id\": \"random_id\",\n     \"success\": true,\n     \"values\": [\n        {\n          \"hoy\": 12,\n          \"total\": 1,\n          \"direct\": 0\n        },\n        {\n          \"hoy\": 13,\n          \"total\": 1,\n          \"direct\": 0\n        },\n        {\n          \"hoy\": 14,\n          \"total\": 1,\n          \"direct\": 0\n        }                \n     ],\n     \"log_info\": \"TODO: Add logging!\"\n   }\n   RunRecipe@127.0.0.1:50001\u003e\n   ```\n\n## Notes\n\n* On Windows, you may need to prefix any python commands with `winpty` in order to see console output, for example:\n   ```\n   $ winpty python server.py\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fhoneybee-anvil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladybug-tools%2Fhoneybee-anvil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladybug-tools%2Fhoneybee-anvil/lists"}