Skip to main content

A community package manager for OpenFOAM

Project description

styro

A community package manager for OpenFOAM

CI Codecov Ruff uv Publish PyPI Conda Version Binaries OpenFOAM

▶️ Demo

Demo

⏬ Installation

Choose any of the following methods:

  • With pip (requires Python 3.7 or later):

    pip install styro
    
  • With conda:

    conda install -c conda-forge styro
    
  • With Homebrew:

    brew install gerlero/openfoam/styro
    
  • Standalone binary (installs to $FOAM_USER_APPBIN):

    /bin/sh -c "$(curl https://raw.githubusercontent.com/gerlero/styro/main/install.sh)"
    

To actually install packages, styro needs OpenFOAM (from either openfoam.com or openfoam.org) and Git.

🧑‍💻 Available commands

  • styro install <packages>: Install a package or packages (pass --upgrade to upgrade already installed packages)
  • styro uninstall <packages>: Uninstall a package or packages
  • styro freeze: List installed packages

📦 Available packages

✨ Indexed packages (OPI)

styro is able to install community packages listed in the OpenFOAM Package Index (OPI).

See here for the complete list of available packages.

🖥️ Local packages

You can also install local packages by passing the path to the package directory:

styro install /path/to/package

For customization, you can add a metadata.json file directly into the package directory.

🌎 Git repositories

Installing directly from a Git repository is also supported. E.g.:

styro install https://github.com/gerlero/reagency.git

Same as with local packages, you can add a metadata.json file to the root of the repository to customize the installation.

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

styro-0.1.25.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

styro-0.1.25-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file styro-0.1.25.tar.gz.

File metadata

  • Download URL: styro-0.1.25.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.13

File hashes

Hashes for styro-0.1.25.tar.gz
Algorithm Hash digest
SHA256 ba1e1440975fdc5bbcd40bb80f7e55fe1c16f935e7c54bffc792c4c6449927a5
MD5 d7ae17286a32303bf466ac095b2cfd3a
BLAKE2b-256 8e579730716cb994d4d37143ab9891da91899db3cc22a0cb6e188acbf9e7b81c

See more details on using hashes here.

File details

Details for the file styro-0.1.25-py3-none-any.whl.

File metadata

  • Download URL: styro-0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.13

File hashes

Hashes for styro-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 c22826b067041711909e236335edf3207cd99ae144469a0ddea0cc1ccd2bede5
MD5 8d1c175a3ccd0219e2ae3abdd99f058d
BLAKE2b-256 d93ea7bc739527d1fcc2a06dc851f0ca6cad5650502a9e13f4d01ac63efe662d

See more details on using hashes here.

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