Skip to main content

AWS Hotel Helpers

A Python library that simplifies AWS operations for hotel management systems. This package provides easy-to-use helpers for S3 file storage, SNS notifications, and other AWS services commonly used in hotel management applications.

Installation

Install the package using pip:

pip install aws-hotel-helpers

Quick Start

Here's a simple example of how to use the package:

from aws_hotel_helpers import AWSHelper

# Initialize the helper
aws_helper = AWSHelper(region_name='us-east-1')

# Upload an image to S3
try:
    image_url = aws_helper.upload_image(
        image_file,
        bucket_name='my-hotel-images'
    )
    print(f"Image uploaded successfully: {image_url}")
except Exception as e:
    print(f"Error uploading image: {str(e)}")

# Send a booking notification
booking_data = {
    'booking_id': '12345',
    'user_email': 'guest@example.com',
    'hotel_name': 'Luxury Hotel',
    'check_in': '2024-04-01',
    'check_out': '2024-04-05',
    'total_price': '500.00'
}

aws_helper.send_booking_notification(
    'arn:aws:sns:us-east-1:123456789012:BookingNotifications',
    booking_data
)

Features

  • Simple S3 file upload with automatic content type detection
  • SNS notification sending for booking confirmations
  • Automatic credential management
  • Comprehensive error handling

Documentation

For more detailed documentation and examples, visit our GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for aws-hotel-helpers 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-hotel-helpers 0.3.1
File Size Uploaded Provenance
aws-hotel-helpers-0.3.1.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-hotel-helpers 0.3.1
File Interpreter ABI Platform
aws_hotel_helpers-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / aws-hotel-helpers-0.3.1.tar.gz

Download URL aws-hotel-helpers-0.3.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2e124fddb3c473504968553769883f86ed931c43b6d0dad2f056aab24702487e
BLAKE2b-256 checksum
How to use checksums
1bd6046c46a4cb0c15b0064bcca3ae152032e5720dfa9f360ed47ade315d1d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.16

Release files / aws_hotel_helpers-0.3.1-py3-none-any.whl

Download URL aws_hotel_helpers-0.3.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e5c869d8a9c05e5b2184ac8be61352dfca91229b1b6a32c482c31d6c712239d
BLAKE2b-256 checksum
How to use checksums
7f385203c105afedaad720431ea3aa2729d6ce15de87a161f3c4fa2c0b997a76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.16

Security for aws-hotel-helpers 0.3.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page