agentsclimarketplace

Command line software installation from github

Skill HolobiomicsLab/asb-skill-collections/packs/metabolomics/ms-imaging/skills/command-line-software-installation-from-github

Use when you need to install a Python package that is distributed via GitHub but not yet (or only occasionally) published to PyPI, such as pyBaf2Sql for Bruker .baf/.d mass spectrometry imaging data conversion.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill command-line-software-installation-from-github

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.1 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

command-line-software-installation-from-github

Summary

Install Python packages directly from GitHub repositories using pip and git, enabling access to development versions and dependencies not yet published to PyPI. This is essential for mass spectrometry data processing workflows that depend on specialized tools like pyBaf2Sql for Bruker .baf file conversion.

When to use

You need to install a Python package that is distributed via GitHub but not yet (or only occasionally) published to PyPI, such as pyBaf2Sql for Bruker .baf/.d mass spectrometry imaging data conversion. This skill is required when the primary installation pathway directs users to GitHub and git is available in the environment.

When NOT to use

  • The package is already available on PyPI with a stable release; use pip install <package_name> instead for reproducibility and version pinning.
  • You need a specific release version with long-term support guarantees; GitHub development branches may be unstable or subject to breaking changes.
  • Git is not installed or network access to GitHub is unavailable; fall back to manual download and local installation.

Inputs

  • GitHub repository URL (HTTPS or SSH)
  • Active Python virtual environment (Anaconda/Miniconda)
  • Git command-line tool installed and in system PATH

Outputs

  • Installed Python package in the virtual environment site-packages
  • Package importable via import <package_name> or from <package_name>.<module> import <function>
  • Dependency resolution and installation of transitive requirements

How to apply

Activate a Python virtual environment (Anaconda/Miniconda) with Python >=3.9 and <=3.11 to avoid compatibility issues. Run pip install git+https://github.com/<username>/<repo> in the command line or Anaconda Prompt, replacing username and repo with the target GitHub path. The git command automatically clones the repository and installs it in editable or standard mode. Verify installation by importing the package in Python (e.g., from pyBaf2Sql.init_baf2sql import init_baf2sql_api). If installation fails, ensure git is installed and accessible from the command line, and that the target repository is publicly available.

Related tools

  • Git (Version control and repository cloning system required by pip to download source code from GitHub) — https://git-scm.com/downloads
  • pip (Python package installer that parses git+ URLs and delegates to git for repository cloning)
  • Anaconda/Miniconda (Python distribution and virtual environment manager used to create isolated Python environments with compatible versions (>=3.9, <=3.11)) — https://www.anaconda.com/download
  • pyBaf2Sql (Example target package for GitHub installation; Python wrapper for Bruker Baf2Sql library for reading .baf mass spectrometry data) — https://github.com/gtluu/pyBaf2Sql

Examples

conda create --name MSIGen python=3.11 -y && conda activate MSIGen && pip install git+https://github.com/gtluu/pyBaf2Sql

Evaluation signals

  • Package can be successfully imported in Python without ImportError or ModuleNotFoundError
  • pip list output includes the package name and a commit hash or development version string (e.g., pyBaf2Sql@<hash>)
  • Example code from the package's README or documentation (e.g., from pyBaf2Sql.classes import BafData) runs without AttributeError or missing module errors
  • pip show <package_name> displays a location path pointing to the virtual environment's site-packages directory, not a system-wide or conda-managed path
  • All declared dependencies (transitive requirements) are installed; verify with pip check returns no broken dependencies

Limitations

  • GitHub development branches may contain undocumented APIs, breaking changes, or unfinished features; stability is not guaranteed until a formal release.
  • Python version compatibility constraints (e.g., >=3.9 and <=3.11 for pyBaf2Sql) must be enforced at the virtual environment creation step; installing into an incompatible base Python will fail at runtime with cryptic C extension or binary compatibility errors.
  • Network latency and GitHub availability affect installation time; if GitHub is unreachable, the command will fail and require manual retry or fallback to a previously cached wheel.
  • Platform-specific dependencies (e.g., .dll or .so files packaged with pyBaf2Sql for Windows vs. Linux) are included in the repository; ensure the GitHub branch matches your operating system.

Evidence

  • [methods] If you are planning on using Bruker .d data in the .baf format, you will also need to install pyBaf2Sql from GitHub: "If you are planning on using Bruker .d data in the .baf format, you will also need to install pyBaf2Sql from GitHub"
  • [methods] pip install git+https://github.com/gtluu/pyBaf2Sql: "pip install git+https://github.com/gtluu/pyBaf2Sql"
  • [readme] This package can be installed to a Python virtual environment using pip: "This package can be installed to a Python virtual environment using pip"
  • [methods] Using an environment with python version >=3.9 and <=3.11: "Using an environment with python version >=3.9 and <=3.11"
  • [methods] If you do not have Python installed, we recommend installing the Anaconda distribution of Python: "If you do not have Python installed, we recommend installing the Anaconda distribution of Python"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.