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.5.tar.gz (23.7 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.5-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swc_utils-0.11.5.tar.gz
  • Upload date:
  • Size: 23.7 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.5.tar.gz
Algorithm Hash digest
SHA256 e8925d05bb0b3d05b3efa3475d899c54e361b8154fca73879aa63ca3d564cb8d
MD5 78a5ab68f393b2dfeb5eeaf00906bcb4
BLAKE2b-256 1c6fad84cc79399ccfb2a86c231c34cd47d742a0eaa608f5bc8798da2cc1458f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swc_utils-0.11.5-py3-none-any.whl
  • Upload date:
  • Size: 33.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9a7d6dd1362df412e98cbdb886ebb5d566e2f61d3e3a431cdd4c575f04306a0
MD5 054443ef66d96b890a6199c2278a32cb
BLAKE2b-256 c4a14bb69648020682f954ab4c7cd13a07a5efd7d9fd5b72ec22e7e776c0c143

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