spython
Command line python tool for working with singularity.
Decision gist · record as of 2026-08-14
Yes, if you need to programmatically manage Singularity containers from Python and have Singularity > 3.5.2 installed. The package has no Python dependencies, is actively maintained, and carries no known vulnerabilities. The main caveat is the unclear license classification—verify the LICENSE file before use in proprietary projects. The infrequent release cycle is typical for stable, mature tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Singularity > 3.5.2 to be installed on the system; Singularity 2.x is not supported.
- Installation is straightforward with no runtime dependencies.
- The package is actively maintained with a recent commit history, though the last release was nearly two years ago; the repository remains active and is not archived.
License · maintenance · safety
LICENSE (unclear) — The license treatment is unclear in the fact sheet; the raw LICENSE file is present but SPDX classification is not available. You should review the LICENSE file directly before adopting the package in a commercial or proprietary context.
last release 2024-09-15 (698 days) · last repo commit 2026-03-12 · 67 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,029,271 downloads/mo, #2,780 on PyPI
Alternatives
Verify before relying
pip install spython
from spython.main import Client
# Build a container from a recipe
Client.build('Singularity.def')
# Run a container
Client.run('mycontainer.sif', ['echo', 'hello'])- Whether the package works with modern Python versions (requires_python is unspecified in the fact sheet).
- Current status of the project beyond the archived flag—whether active development is ongoing or maintenance-only.
What it is and what it does
spython is a Python wrapper around the Singularity container runtime, allowing you to build, run, and manage Singularity containers from Python scripts and applications. It provides a programmatic interface to Singularity operations that would otherwise require shell commands, making it useful for automation, CI/CD pipelines, and scientific workflows that need to orchestrate containerized workloads.
The package has no external Python dependencies, making installation lightweight. It requires Singularity > 3.5.2 to be installed on the host system and will not work with Singularity 2.x. The library is actively maintained, though releases are infrequent; the last release was in September 2024.
Use it for
- Automate Singularity container builds and execution within Python-based scientific workflows or batch processing systems.
- Build CI/CD pipelines that programmatically manage container images without shell scripting.
- Integrate container management into Python applications that need to spawn and monitor Singularity containers.
- Orchestrate multi-container experiments in high-performance computing environments from Python code.
- Wrap Singularity operations in Python libraries to provide a unified interface to containerized tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to programmatically manage Singularity containers from Python and have Singularity > 3.5.2 installed.
The package has no Python dependencies, is actively maintained, and carries no known vulnerabilities. The main caveat is the unclear license classification—verify the LICENSE file before use in proprietary projects. The infrequent release cycle is typical for stable, mature tools.
Install
spython on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The package is actively maintained with a recent commit history, though the last release was nearly two years ago; the repository remains active and is not archived.
Requires Singularity > 3.5.2 to be installed on the system; Singularity 2.x is not supported.
License in practice
The license treatment is unclear in the fact sheet; the raw LICENSE file is present but SPDX classification is not available. You should review the LICENSE file directly before adopting the package in a commercial or proprietary context.
Quickstart
pip install spython
from spython.main import Client
# Build a container from a recipe
Client.build('Singularity.def')
# Run a container
Client.run('mycontainer.sif', ['echo', 'hello'])
Verify before relying
- Whether the package works with modern Python versions (requires_python is unspecified in the fact sheet).
- Current status of the project beyond the archived flag—whether active development is ongoing or maintenance-only.
Package facts
| License | LICENSE unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 698 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,029,271 / month, #2,780 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/EngineeringTopic :: Software Development |
Evidence: spython-0.3.14-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “singularity container python api”
- spythonspython is a Python API for programmatically managing Singularity…
- apache-airflow-providers-singularityIntegrates Singularity container runtime with Apache Airflow,…
- cwl-utilsLoads, parses, and manipulates Common Workflow Language (CWL)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also apache-airflow-providers-singularity · docker-py · docker · tox-docker · pytest-container · python-magnumclient · slack · punq · prefect-docker · container-inspector