Skip to main content

Official Python SDK for the NovaMail API

Project description

NovaMail Python SDK

The official Python library for the NovaMail API. Easily integrate transactional emails into your Python applications.

Installation

You can install the package directly via pip:

pip install novamail

Usage

Create an API key in your NovaMail dashboard and use it to initialize the client.

from novamail import NovaMailClient

# Initialize the client with your API key
client = NovaMailClient(api_key="nm_live_your_api_key_here")

# Send an email
response = client.send_email(
    to="recipient@example.com",
    from_email="sender@your-verified-domain.com",
    subject="Welcome to NovaMail",
    html="<h1>Hello!</h1><p>This is a test email sent from the Python SDK.</p>"
)

print("Email sent successfully!")
print(response)

Advanced Usage

If you need to point the SDK to a different base URL (for example, for local testing), you can pass it to the client:

client = NovaMailClient(
    api_key="nm_test_...",
    base_url="http://localhost:54321/functions/v1"
)

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

novamail-0.1.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

novamail-0.1.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file novamail-0.1.4.tar.gz.

File metadata

  • Download URL: novamail-0.1.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for novamail-0.1.4.tar.gz
Algorithm Hash digest
SHA256 002dd7dfdc92e091d2a5955c168d101479f25e80f6e8a37c8b15701f68147e2a
MD5 b30d335a37c57eb14f33784d9fc9435a
BLAKE2b-256 604a5a475fd457254fd8ae06d89299c294d5cb2f1ba1d41290e2a6aa6a20a946

See more details on using hashes here.

File details

Details for the file novamail-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: novamail-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for novamail-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0eda3c0b2d6d4692133c507ea5eb8c53733beea02e3b3e6f5495a5b1792ebc
MD5 e3b87487a98c77649cbe20b2a1625363
BLAKE2b-256 0f77b95ada40727e3ff8439ce0a1be31621013ca84b1bfd8a562838c0e886c01

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