Growing India News, world news, nation news, our news, people's news, grow news, entertainment, fashion, movies, tech, automobile and many more..
Wednesday, January 22, 2025
Show HN: CloudCoil – Production-ready Python client for cloud-native ecosystem https://ift.tt/Izmsrbc
Show HN: CloudCoil – Production-ready Python client for cloud-native ecosystem Show HN: CloudCoil – Production-ready Python client for the cloud-native ecosystem I built CloudCoil ( https://ift.tt/4DBL3Rn ) to make cloud-native development in Python feel first-class, starting with a modern async Kubernetes client. Frustrated with existing tools that felt like awkward ports from Go/Java, I focused on creating an API that Python developers would actually enjoy using. Installation is as simple as: uv add cloudcoil[kubernetes] # Using uv (recommended) pip install cloudcoil[kubernetes] # Using pip Key features: - Elegant, truly Pythonic API that follows Python idioms - Async-first with native async/await (but sync works too!) - Full type safety with MyPy + Pydantic - Zero-config pytest fixtures for K8s integration testing Quick taste of the API: # It's this simple to work with resources service = k8s.core.v1.Service.get("kubernetes") # Async iteration feels natural async for pod in await k8s.core.v1.Pod.async_list(): print(f"Found pod: {pod.metadata.name}") # Create resources with pure Python syntax deployment = k8s.apps.v1.Deployment( metadata=dict(name="web"), spec=dict(replicas=3) ).create() The ecosystem is growing! We already have first-class integrations for: - cert-manager (cloudcoil.models.cert_manager) - FluxCD (cloudcoil.models.fluxcd) - Kyverno (cloudcoil.models.kyverno) Missing your favorite operator? I've made it super easy to add new integrations using our cookiecutter template and codegen tools. I'd especially love feedback on: 1. The API design - does it feel natural to Python devs? 2. Testing features - what else would make k8s testing easier? 3. Which operators/CRDs you'd most like to see integrated next Check out https://ift.tt/4DBL3Rn or try it out with PyPI: cloudcoil https://ift.tt/4DBL3Rn January 22, 2025 at 03:26AM
Subscribe to:
Post Comments (Atom)
Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding https://ift.tt/IwYJfju
Show HN: Pocket2Linkding – Migrate from Mozilla Pocket to Linkding With the Mozilla Pocket shutdown coming up in about two weeks, I thought ...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Show HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data https://ift.tt/yrqHZtDShow HN: Snap Scope – Visualize Lens Focal Length Distribution from EXIF Data Hey HN, I built this tool because I wanted to understand which...
-
Show HN: Federated IndieAuth Server implemented as a notebook https://ift.tt/32IC633 April 27, 2021 at 04:37PM
No comments:
Post a Comment