Metadata-Version: 2.2
Name: tripswitch
Version: 0.0.1.dev0
Summary: A Python Circuit Breaker implementation
Author-email: Scott Houseman <scott@houseman.co.za>
License: MIT License
        
        Copyright (c) 2025 Scott Houseman
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: repository, https://github.com/houseman/tripswitch
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: circuitbreaker>=2.0.0
Requires-Dist: typing-extensions>=4.12.2
Provides-Extra: redis
Requires-Dist: redis>=5.2.1; extra == "redis"
Provides-Extra: valkey
Requires-Dist: valkey>=6.1.0; extra == "valkey"
Provides-Extra: memcache
Requires-Dist: pymemcache>=4.0.0; extra == "memcache"
Provides-Extra: all
Requires-Dist: redis>=5.2.1; extra == "all"
Requires-Dist: valkey>=6.1.0; extra == "all"
Requires-Dist: pymemcache>=4.0.0; extra == "all"

# tripswitch

Python circuit breaker that can share state between instances.

This is a wrapper for the Python [`circuitbreaker`](https://github.com/fabfuel/circuitbreaker) package.

This wrapper enables sharing of circuit breaker state between instances (e.g. a number of Kubernetes pods within a replica set).

This state is shared through a broker such as Redis (or Valkey) or Memcache.
