infra-compass-cli
INFRA-COMPASS is a tool that leverages Large Language Models (LLMs) to create and maintain an inventory of state and local codes and ordinances applicable to energy infrastructure.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Keywords
Repository
INFRA-COMPASS is a tool that leverages Large Language Models (LLMs) to create and maintain an inventory of state and local codes and ordinances applicable to energy infrastructure.
Basic Info
- Host: GitHub
- Owner: NREL
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://nrel.github.io/COMPASS/
- Size: 124 MB
Statistics
- Stars: 12
- Watchers: 4
- Forks: 0
- Open Issues: 31
- Releases: 17
Topics
Metadata Files
README.rst
*******************************************************************************************
Infrastructure Continuous Ordinance Mapping for Planning and Siting Systems (INFRA-COMPASS)
*******************************************************************************************
|License| |PythonV| |PyPi| |Ruff| |Pixi| |SWR|
.. |PythonV| image:: https://badge.fury.io/py/NREL-COMPASS.svg
:target: https://pypi.org/project/NREL-COMPASS/
.. |PyPi| image:: https://img.shields.io/pypi/pyversions/NREL-COMPASS.svg
:target: https://pypi.org/project/NREL-COMPASS/
.. |Ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
.. |License| image:: https://img.shields.io/badge/License-BSD_3--Clause-orange.svg
:target: https://opensource.org/licenses/BSD-3-Clause
.. |Pixi| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json
:target: https://pixi.sh
.. |SWR| image:: https://img.shields.io/badge/SWR--25--62_-blue?label=NREL
:alt: Static Badge
.. inclusion-intro
INFRA-COMPASS is an innovative software tool that harnesses the power of Large Language Models (LLMs)
to automate the compilation and continued maintenance of an inventory of state and local codes
and ordinances pertaining to energy infrastructure.
Installing INFRA-COMPASS
========================
The quickest way to install INFRA-COMPASS for users is from PyPi:
.. code-block:: bash
pip install nrel-compass
If you would like to install and run INFRA-COMPASS from source, we recommend using `pixi `_:
.. code-block:: bash
git clone git@github.com:NREL/COMPASS.git; cd COMPASS
pixi run compass
Before performing any web searches (i.e. running the COMPASS pipeline), you will need to run the following command:
.. code-block:: shell
playwright install
If you are using ``pixi``, don't forget to prefix this command with ``pixi run`` or initialize a shell using ``pixi shell``.
For detailed instructions, see the `installation documentation `_.
Quickstart
==========
To run a quick INFRA-COMPASS demo, set up a personal OpenAI API key and run:
.. code-block:: shell
pixi run openai-solar-demo
This will run a full extraction pipeline for two counties using ``gpt-4o-mini`` (costs ~$0.45).
For more information on configuring an INFRA-COMPASS run, see the
`execution basics example `_.
Development
===========
Please see the `Development Guidelines `_
if you wish to contribute code to this repository.
Owner
- Name: National Renewable Energy Laboratory
- Login: NREL
- Kind: organization
- Location: Golden, CO
- Website: http://www.nrel.gov
- Repositories: 599
- Profile: https://github.com/NREL
GitHub Events
Total
- Create event: 100
- Issues event: 26
- Release event: 8
- Watch event: 11
- Delete event: 91
- Member event: 2
- Issue comment event: 58
- Public event: 1
- Push event: 380
- Pull request review comment event: 14
- Pull request review event: 40
- Pull request event: 170
Last Year
- Create event: 100
- Issues event: 26
- Release event: 8
- Watch event: 11
- Delete event: 91
- Member event: 2
- Issue comment event: 58
- Public event: 1
- Push event: 380
- Pull request review comment event: 14
- Pull request review event: 40
- Pull request event: 170
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 27
- Total pull requests: 173
- Average time to close issues: about 1 month
- Average time to close pull requests: 2 days
- Total issue authors: 2
- Total pull request authors: 5
- Average comments per issue: 0.33
- Average comments per pull request: 0.4
- Merged pull requests: 151
- Bot issues: 0
- Bot pull requests: 18
Past Year
- Issues: 27
- Pull requests: 173
- Average time to close issues: about 1 month
- Average time to close pull requests: 2 days
- Issue authors: 2
- Pull request authors: 5
- Average comments per issue: 0.33
- Average comments per pull request: 0.4
- Merged pull requests: 151
- Bot issues: 0
- Bot pull requests: 18
Top Authors
Issue Authors
- ppinchuk (23)
- castelao (4)
Pull Request Authors
- ppinchuk (115)
- castelao (38)
- dependabot[bot] (18)
- xtruan (1)
- bpulluta (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- cargo 2,901 total
- pypi 33 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 15
- Total maintainers: 4
pypi.org: nrel-compass
INFRA-COMPASS is a tool that leverages Large Language Models (LLMs) to create and maintain an inventory of state and local codes and ordinances applicable to energy infrastructure.
- Documentation: https://nrel-compass.readthedocs.io/
- License: bsd-3-clause
-
Latest release: 0.8.0
published 7 months ago
Rankings
Maintainers (2)
crates.io: infra-compass-db
Parse and manage the NREL's INFRA-COMPASS data
- Homepage: https://github.com/NREL/COMPASS
- Documentation: https://docs.rs/infra-compass-db/
- License: BSD-3-Clause
-
Latest release: 0.0.8
published 8 months ago
Rankings
crates.io: infra-compass-cli
Command line application to manage and query NREL's INFRA-COMPASS data
- Homepage: https://github.com/NREL/COMPASS
- Documentation: https://docs.rs/infra-compass-cli/
- License: BSD-3-Clause
-
Latest release: 0.0.6
published 8 months ago
Rankings
Dependencies
- Swatinem/rust-cache v2 composite
- actions/checkout v4 composite
- prefix-dev/setup-pixi v0.8.1 composite
- actions/checkout v4 composite
- peaceiris/actions-gh-pages v3.6.1 composite
- prefix-dev/setup-pixi v0.8.4 composite
- actions/checkout v4 composite
- astral-sh/ruff-action v3 composite
- actions/checkout v4 composite
- prefix-dev/setup-pixi v0.8.4 composite
- actions-rs/cargo v1 composite
- actions-rs/toolchain v1 composite
- actions/checkout v4 composite
- svenstaro/upload-release-action v2 composite
- release-drafter/release-drafter v5.15.0 composite
- 208 dependencies
- click >=8.1.7,<9
- langchain >=0.3.7,<0.4
- networkx >=3.4.2,<4
- nltk >=3.9.1,<4
- nrel-elm >=0.0.12,<1
- openai >=1.1.0
- pandas >=2.2.3,<3
- pyjson5 >=1.6.8,<2
- rich >=13.9.4,<14