Registry / communication / seeuletter

seeuletter

JSON →
library1.2.0pypypi✓ verified 23d ago

Seeuletter Python Bindings is a simple but flexible wrapper for the Seeuletter.com API, allowing users to send physical or electronic mail. The current version is 1.2.0. The library provides direct access to the Seeuletter API endpoints for letters, accounts, and invoices, aiming to simplify the process of integrating mail services into Python applications.

pip install seeuletter
INSTALL
IMPORT
SIG · SEEULETTER
S
seeuletter
communicationpythonv1.2.0
Install
2.2s avg
Import
382ms
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.394s · 21.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.370s · 22MB
19MB installed
● package 19MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

seeuletter
import seeuletter

This quickstart demonstrates how to initialize the Seeuletter client with an API key (preferably from an environment variable) and create a new letter using HTML content. Replace 'your_test_api_key_here' and address details with your actual data. Remember to create an account on Seeuletter.com to obtain your API keys.

import seeuletter import os # Set your API key from an environment variable for security seeuletter.api_key = os.environ.get('SEEULETTER_API_KEY', 'your_test_api_key_here') try: example_letter = seeuletter.Letter.create( description='Test Letter from Python Bindings', to_address={ 'name': 'Erlich', 'address_line1': '30 rue de rivoli', 'address_city': 'Paris', 'address_postalcode': '75004', 'address_country': 'France' }, source_file='<html><body><h1>Hello from Seeuletter!</h1></body></html>', source_file_type='html' ) print(f"Letter created successfully: {example_letter.id}") print(f"Letter status: {example_letter.status}") except seeuletter.error.APIError as e: print(f"Error creating letter: {e}") except Exception as e: print(f"An unexpected error occurred: {e}")
Debug
Known issues
gotchaThe library's last release was in January 2022. While it historically supported Python 2.6-3.5, its compatibility with newer Python versions (3.6+) and its active maintenance status for new features or critical bug fixes are uncertain.
fix
Test thoroughly with your target Python version. Consider wrapping calls in robust error handling. Monitor the official Seeuletter API documentation for potential breaking changes in their service that might not be reflected in this library.
affects: <=1.2.0
gotchaThe documentation emphasizes using the latest version of both the Python wrapper and the Seeuletter API. Users should be aware that the underlying API might evolve independently, potentially requiring updates to the Python wrapper that might not be readily available if the library is not actively maintained.
fix
Regularly check the Seeuletter API documentation for updates. Implement robust error handling in your code to gracefully manage unexpected API responses due to version mismatches.
affects: <=1.2.0
gotchaThe library's examples directly assign the API key (e.g., `seeuletter.api_key = 'your-api-key'`). For production environments, hardcoding API keys is insecure.
fix
Always use environment variables (e.g., `os.environ.get('SEEULETTER_API_KEY')`) or a secure configuration management system to manage sensitive API keys.
affects: All
Upgrade
Version history
1.2.0latest on PyPI · released Jan 25, 2022
Audit
Dependencies
requestsrequiredLikely used for HTTP requests to the Seeuletter API, as is common for API clients.
Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
1
Resources
seeuletter — pip install seeuletter · libregistry