Skip to main content

Halo Serverless

Halo

The Halo Lib is a python based library utilizing Serverless technology and microservices architecture

Halo provides the following features:

If you are building a Python web app running on AWS Lambda (Django or Flask), use this library to manage api transactions:

            sagax = load_saga("test", jsonx, schema)
            payloads = {"BookHotel": {"abc": "def"}, "BookFlight": {"abc": "def"}, "BookRental": {"abc": "def"},
                        "CancelHotel": {"abc": "def"}, "CancelFlight": {"abc": "def"}, "CancelRental": {"abc": "def"}}
            apis = {"BookHotel": self.create_api1, "BookFlight": self.create_api2, "BookRental": self.create_api3,
                    "CancelHotel": self.create_api4, "CancelFlight": self.create_api5, "CancelRental": self.create_api6}
            try:
                self.context = Util.get_lambda_context(request)
                ret = sagax.execute(self.req_context, payloads, apis)
                return {"saga": "good"}, 200
            except SagaRollBack as e:
                return {"saga": "bad"}, 500

License

This project is licensed under the MIT License

Acknowledgments

Release files for halo-aws 0.12.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 halo-aws 0.12.1
File Size Uploaded
halo-aws-0.12.1.tar.gz 12.0 kB Details

Release files / halo-aws-0.12.1.tar.gz

Download URL halo-aws-0.12.1.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
102d1065bab3e1f49d4860e6e75f8ecc4de2548804bf2791db02b96b52025e33
BLAKE2b-256 checksum
How to use checksums
11916a600b86f6afe6dba0cfb8f530da08721fe1b3db2f0342905bbb20628d42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.12.1 This release

1 release file

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