Skip to main content

Latest Package Version Supported Python Versions License

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

csspin_python-5.0.0-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

Details for the file csspin_python-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: csspin_python-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 41.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.11

File hashes

Hashes for csspin_python-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a344491adc51274812cc90fe632b55c0db6944bbe88a81004f64c12d339739cf
MD5 aa9add465517e60a3605d862c1379da5
BLAKE2b-256 ab7bf8c418063c7aac49072c13677643f9da9d4cd55ed09a804b51509dc13f68

See more details on using hashes here.

Release history Release notifications | RSS feed

6.0.0

1 file

This release

5.0.0 This release

1 file

4.1.0

1 file

4.0.0

1 file

3.2.0

1 file

3.1.1

1 file

3.1.0

1 file

3.0.1

1 file

3.0.0

1 file

2.1.1

1 file

2.1.0

1 file

2.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page