gweasysoap
A small, pythonic helper library on top of the auto-generated
gwsoap GroupWise SOAP client. It hides the
request/context boilerplate and gives you simple methods for logging in,
reading folders and items, sending mail, and creating appointments.
Installation
pip install gweasysoap
This pulls in gwsoap>=1.0.3.
Quick start
from gweasysoap import GWEasySoap
# Use it as a context manager so the session is always logged out.
with GWEasySoap.connect_trusted_app(
"https://gw.example.com:7191/soap", "jdoe", "MyApp", "trusted-key"
) as gw:
print("Logged in as", gw.user_name, gw.user_email)
mailbox = gw.get_mailbox()
for item in gw.get_folder_items(mailbox.id, count=20):
print(item.subject)
gw.send_mail(
subject="Hello",
body_text="Sent from gweasysoap",
recipients=[{"display_name": "Jane", "email": "jane@example.com"}],
)
Logging in
# Username / password
gw = GWEasySoap.connect(endpoint, "jdoe", "secret")
# Trusted application key (impersonate a specific user)
gw = GWEasySoap.connect_trusted_app(endpoint, "jdoe", "MyApp", "trusted-key")
# Trusted application key, first usable mailbox on the post office
gw = GWEasySoap.connect_any_user(endpoint, "MyApp", "trusted-key")
Each connect* factory raises GWEasySoapError on failure. The matching
instance methods (login, login_trusted_app, login_with_any_user) return a
boolean instead, if you prefer to manage the instance yourself.
Constructor options: application (the name reported to GroupWise),
debug, and verify_ssl.
What you can do
- Users / mailboxes –
get_user_list,get_user_mailboxes - Proxies –
get_proxy_list,get_proxy_access_list,create_proxy_access - Address book –
get_system_address_book,get_address_book_entries - Folders –
get_mailbox,get_trash_folder,get_calendar,get_system_folder,get_folder_list,get_shared_folder_by_name - Items –
get_items,get_folder_items,get_calendar_items,get_item,get_full_item,get_body,remove_item - Mail –
send_mail - Appointments –
create_appointment,create_appointment_in_folder,add_category - Session –
whoami,user_name,user_email,logout
License
MIT
Metadata
Release files for gweasysoap 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gweasysoap-0.1.5.tar.gz | 11.9 kB | Without provenance | Details for gweasysoap-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gweasysoap-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for gweasysoap-0.1.5-py3-none-any.whl |
Total release size: 20.7 kB
Release files / gweasysoap-0.1.5.tar.gz
| Download URL | gweasysoap-0.1.5.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d15aa5473ceeb9b1c584e253f66cb480f4b197e632bb326d4875d6abdd4dca4
|
|
BLAKE2b-256 checksum How to use checksums |
74b3753741bce801ff0526b4a22cc387781b8d10a9f93f246892beb7b3bbba8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / gweasysoap-0.1.5-py3-none-any.whl
| Download URL | gweasysoap-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41a36d1251205c8614cc09003ed45e26f5ef62fab69d35683bebcfc3f2b331c7
|
|
BLAKE2b-256 checksum How to use checksums |
3e905125d8cecdd8c0871d95805dbaaff9006a0e36b31e5888e3aacdf71c5a9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for gweasysoap 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.