Skip to main content

Provides utility functions for SWC projects

Project description

SWC Utils

This repository contains a collection of utilities for SWC projects.

pip install swc_utils

pip install swc_utils[extras] (for all extras)

Test with pytest

(you need to have a redis server running for the tests to work - it must be reachable from the hostname 'redis' and the default port 6379)

pytest -v

Email Login with united-domains

from swc_utils.mail.smtp_client import SMTPClient

client = SMTPClient(
    "smtp.udag.de",
    465,
    "<default>@example.com",
    "<system name>",
    "<user>",
    "<password>"
)

client.send(
    ["<mail1>", "<mail2>"],
    "<content>",
    "<subject>",
    sender_email="sender@example.com"
)

Project details


Download files

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

Source Distribution

swc_utils-0.11.4.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

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

swc_utils-0.11.4-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file swc_utils-0.11.4.tar.gz.

File metadata

  • Download URL: swc_utils-0.11.4.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for swc_utils-0.11.4.tar.gz
Algorithm Hash digest
SHA256 f14e37088c81b6c86009534a5bbedf3e8914ac21ee78842c820376731ead8c22
MD5 94705c757eb73fcc226c1f5971b9c78e
BLAKE2b-256 56173d3474fb77a510276c91a370aadd5567c3e31ad2721345bc01fc78f363df

See more details on using hashes here.

File details

Details for the file swc_utils-0.11.4-py3-none-any.whl.

File metadata

  • Download URL: swc_utils-0.11.4-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for swc_utils-0.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2929e0aa6fcc9d315e00842e9886b4c50ca4dae19e47318ffa318f1f951a80f5
MD5 2a4073b70653c54d9e793aee51a2f7e9
BLAKE2b-256 3e2a79d2d885f5a6c6fad9883ad94fa43691e27e709c389f878c42725c7c35b0

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