Skip to main content

Plugin-package for csspin providing Python related plugins

Project description

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.aws_auth: A plugin for authenticating to CONTACT Elements instances hosted on AWS.

  • 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.playwright: A plugin for running tests using playwright.

  • csspin_python.pytest: A plugin for running tests using pytest.

  • csspin_python.python: A plugin for provisioning Python environments and installing dependencies.

  • csspin_python.radon: A plugin for running radon to analyze code complexity.

  • csspin_python.sphinx: A plugin for building Sphinx documentation.

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.9.8
  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.

Project details


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-2.0.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for csspin_python-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07b31ae793fa31b3de562fb3f12381b5f48c9a63be37240051e80b0b5bc83428
MD5 7d65a15e88151ddcf4970e162a59f1c7
BLAKE2b-256 7eaed54843b649f16917af93ca2df4be3e5b2bfb394014d15969793a7cfcad0d

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