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.1.tar.gz (2.8 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.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: novamail-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 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.1.tar.gz
Algorithm Hash digest
SHA256 74bfc25e6e680cf94a8aa1b0682033e274655ac95f07c729248f1851a5eac29d
MD5 a31245744aeb5d2fe1c2c2aaab629ef5
BLAKE2b-256 3a4d0d732492ee6c9c59824ca6f7b85162c1e1d54d4336082c3cff5113fc0c23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: novamail-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2ccb470ac413f0d6146dc370700684aedde772cefed1a4439565b34247239e
MD5 fbd7b10bcb2b4fd3abf2b121c620889d
BLAKE2b-256 8e5c111a5b3bff8ff007cd9491ced31010b30d688e0c9e883a3aff25a9f7066c

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