csspin-python is maintained and published by CONTACT Software GmbH and serves Python-based plugins for the csspin task runner.
The following plugins are available:
csspin_python.behave: A plugin for running tests using Behave.
csspin_python.debugpy: A plugin for debugging Python code using debugpy.
csspin_python.devpi: A plugin for simplified usage of devpi.
csspin_python.pytest: A plugin for running tests using pytest.
csspin_python.python: A plugin for provisioning Python environments, installing dependencies, and managing the virtual environment.
csspin_python.python_sbom: A plugin for generating a CycloneDX Software Bill of Materials (SBOM) for Python third-party dependencies.
csspin_python.radon: A plugin for running radon to analyze code complexity.
csspin_python.sphinx: A plugin for building Sphinx documentation.
csspin_python.playwright: A plugin for running tests using playwright. This plugin is deprecated, use the pytest plugin with the ‘pytest.playwright.enabled=true’ setting instead.
csspin_python.uv_provisioner: A plugin that uses uv to provision the Python environment.
The package provides an aws_auth extra, that, if enabled, can authenticate to CONTACT Software GmbH’s AWS CodeArtifact. It also provides an uv extra, that is necessary for using the csspin_python.uv_provisioner plugin.
Prerequisites
csspin is available on PyPI and can be installed using pip, pipx or any other Python package manager, e.g.:
python -m pip install csspin
Using csspin-python
The csspin-python package and its plugins can be installed by defining those within the spinfile.yaml configuration file of your project.
spin:
project_name: my_project
# To develop plugins comfortably, install the packages editable as
# follows and add the relevant plugins to the list 'plugins' below
plugin_packages:
- csspin-python
# The list of plugins to be used for this project.
plugins:
- csspin_python.pytest
python:
version: 3.10.19
requirements:
- sphinx-click
- sphinx-rtd-theme
- pytest-mock
pytest:
opts: [-m, "not slow"]
tests: [tests]
If the spinfile.yaml is configured correctly, you can provision the project using spin provision, that will automatically create a Python virtual environment and install the required dependencies. After that, you can run tests using spin pytest and do other great things.
Metadata
Release files for csspin-python 6.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csspin_python-6.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / csspin_python-6.0.0-py3-none-any.whl
| Download URL | csspin_python-6.0.0-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68aadae9e6b390bd581fc76ff0a050648abbd8ef6025f57d7afacaa9a716aa64
|
|
BLAKE2b-256 checksum How to use checksums |
65d2e06e1943cd0c7d8aa67d9fe50800110252b4a5b408017dd460a12dc6e654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|