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.3.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.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: novamail-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e7f00f48c7469e496d9ba842f78a2c18d471ccc00033374b5449e0843c1785bc
MD5 ac0ceb5857ae28e47faa3e746db77cf5
BLAKE2b-256 905a7633fbb7dc5e39a8de718f1200c7f4bebfa211e018781be25feffe9603bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: novamail-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecc4feda292e14a90975fbfcd45122b1ed079cc90c328b2416ddccb46a350664
MD5 26f9b63bb458f941beddb34c395d1277
BLAKE2b-256 f85d70d21dc35873a40c926cd26877fb2a08c7f9ef34c0088691e8595d3bbbd2

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