Skip to main content

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.

Project description

License Zenodo PythonV PyPi Ruff Pixi Static Badge

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:

pip install infra-compass

If you would like to install and run INFRA-COMPASS from source, we recommend using pixi:

git clone git@github.com:NatLabRockies/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:

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:

pixi run openai-solar-demo <your API key>

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infra_compass-0.14.2.tar.gz (621.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infra_compass-0.14.2-py3-none-any.whl (636.6 kB view details)

Uploaded Python 3

File details

Details for the file infra_compass-0.14.2.tar.gz.

File metadata

  • Download URL: infra_compass-0.14.2.tar.gz
  • Upload date:
  • Size: 621.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for infra_compass-0.14.2.tar.gz
Algorithm Hash digest
SHA256 a920c189e0bee6a8cab0828b135acbbb9d1110b718c7558c5e2580d6c942bbd1
MD5 e899f799a431bb4bc03c6ea7d9e2745d
BLAKE2b-256 ca6f2fb6f45ed1c1b80b905efea3fc998a58cd75f0489a603962b65c7ffa3b83

See more details on using hashes here.

Provenance

The following attestation bundles were made for infra_compass-0.14.2.tar.gz:

Publisher: publish_to_pypi.yml on NatLabRockies/COMPASS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file infra_compass-0.14.2-py3-none-any.whl.

File metadata

  • Download URL: infra_compass-0.14.2-py3-none-any.whl
  • Upload date:
  • Size: 636.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for infra_compass-0.14.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d741e104a09d904028bf6d6c8116d887971b387e4bd0cfa4eacf9ddf2f11d5d6
MD5 877abbde8f8376fe15629b231cdc5eb3
BLAKE2b-256 7547bcb88e4b35a2e7964609acbd0c1fe3801450d61baf8c3553b89d8651e8cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for infra_compass-0.14.2-py3-none-any.whl:

Publisher: publish_to_pypi.yml on NatLabRockies/COMPASS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page