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"
)
Metadata
Release files for swc-utils 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swc_utils-0.13.0.tar.gz | 42.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swc_utils-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.0 kB
Release files / swc_utils-0.13.0.tar.gz
| Download URL | swc_utils-0.13.0.tar.gz |
|---|---|
| Size | 42.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bee078b69b56595fa163c1b46cf6f4e7d1f1d08f8d23efc449d61fe8f162eba2
|
|
BLAKE2b-256 checksum How to use checksums |
9bcbb21dd7115c501eb3ed13d9c5c191e9d33fbe19c9f5b0cfa1aab75d457409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / swc_utils-0.13.0-py3-none-any.whl
| Download URL | swc_utils-0.13.0-py3-none-any.whl |
|---|---|
| Size | 59.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d904567e3e1308760d7c865ad2db891f95d2b9c728faaea9529cc724fb97dede
|
|
BLAKE2b-256 checksum How to use checksums |
00478f9909b64d7003ab9e8cdccd300dc6d433a3babe9f262cde58dc89368f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|