Skip to main content

A community package manager for OpenFOAM

Project description

🏗️ styro: A community package manager for OpenFOAM

CI Codecov Checked with mypy 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.19.tar.gz (1.4 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.19-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for styro-0.1.19.tar.gz
Algorithm Hash digest
SHA256 72d3087ad0a8b1e5e10bce020edfe5c1fc60cca0ee1d269c542300891754d562
MD5 8192e950118f6dc2a2a73751bfe981da
BLAKE2b-256 53c3f0e554101c2b71d02a80ceb64f41855ef15635acc89dfadba1ea345022a3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for styro-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 6a42e7c40998c8c1a738ca75ace67c937ce52db10265bb7635fd36c8f3ebb876
MD5 7e7f375d5148506d7a2e63f129b2b82d
BLAKE2b-256 e88338858f8795da4e76f25cc8dab31567707aba9ce5f3a8f1b5dcb604da4510

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