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.12.3.tar.gz (32.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.12.3-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swc_utils-0.12.3.tar.gz
Algorithm Hash digest
SHA256 242961fbc4177e8659db0b2f762cd0f40268782d0ff22bb7a1c59e95baf206e5
MD5 02eb17aff050684099b4b179bd9f4414
BLAKE2b-256 4febea60a97f604751f5f925ddf52e42d110caec87e9db3361d68975130da9ac

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for swc_utils-0.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bebdf2ae92ab240983429e68aadee480861408af55dc127c5ff0a33b818e621d
MD5 2e77f52b7ceff59859a14bd8a7f91b94
BLAKE2b-256 928014210ee08f8788704122a8203b434492cdfb2e0cdae2393e20d57416ae8f

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