Skip to main content

Simple email API client for Fabric Notebook team

Project description

email-sender

A lightweight internal Python library that provides reusable email-sending utilities for the Fabric Notebook team.

This package is designed to be published as a wheel (.whl) and consumed across internal services.


Features

  • Send emails via a simple POST API
  • Supports multiple recipients
  • Handles 200, 201, 202 as successful response codes
  • Minimal dependencies (only requests)
  • Easy to integrate in notebooks, scripts, or internal pipelines

Installation

Install the wheel file:

pip install email_sender-0.1.0-py3-none-any.whl

# Creating the wheel file
pip install build       # Install the build tool
python -m build         # Build the .whl file

"""
Usage:
from email_sender import send_email_no_attachment

status, response = send_email_no_attachment(
    {
        "to": ["user1@domain.com", "user2@domain.com"],
        "subject": "Team Update",
        "body": "Hello team!"
    },
    endpoint_url="https://your-mail-endpoint",
    access_token="YOUR_ACCESS_TOKEN"
)

print(status, response)
"""

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

email_function_whl-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

email_function_whl-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file email_function_whl-0.1.0.tar.gz.

File metadata

  • Download URL: email_function_whl-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for email_function_whl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 186027e128c94d130997c136ae879c01f7a01cda7e3cec3076f45f50c747a99c
MD5 7256d8dc545f74f95895109a35ec5f5a
BLAKE2b-256 5e4185b6076b89a3ea7706079080583515af1c9ee2a5986dc083941949566751

See more details on using hashes here.

File details

Details for the file email_function_whl-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for email_function_whl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c84e01b227a5c838685bd77915d237875aa712ba437cbdc3bb13f54eb286553
MD5 8fbd3f57bb313595da4c58a31818f148
BLAKE2b-256 6e1a05664f61ff4b33b0c47fff4f8a794948a140cae3a5fe572c7b6d80e2fe93

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