{"id":25862802,"url":"https://github.com/datachefhq/damavand","last_synced_at":"2025-03-01T23:56:49.177Z","repository":{"id":250281772,"uuid":"833996888","full_name":"DataChefHQ/damavand","owner":"DataChefHQ","description":"Damavand is an opinionated cloud-agnostic pythonic implementation of ARC (Application Resource Controller) pattern for developing cloud-native applications with best practices.","archived":false,"fork":false,"pushed_at":"2024-10-24T11:58:08.000Z","size":594,"stargazers_count":3,"open_issues_count":20,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-25T11:39:57.705Z","etag":null,"topics":["aws","azure","cloud-native","cloud-native-development","iac","ifc","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataChefHQ.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-26T07:52:21.000Z","updated_at":"2024-10-14T14:35:59.000Z","dependencies_parsed_at":"2024-12-05T21:46:24.654Z","dependency_job_id":null,"html_url":"https://github.com/DataChefHQ/damavand","commit_stats":null,"previous_names":["datachefhq/damavand"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataChefHQ%2Fdamavand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataChefHQ%2Fdamavand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataChefHQ%2Fdamavand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataChefHQ%2Fdamavand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataChefHQ","download_url":"https://codeload.github.com/DataChefHQ/damavand/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439766,"owners_count":19963100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","azure","cloud-native","cloud-native-development","iac","ifc","python"],"created_at":"2025-03-01T23:56:48.363Z","updated_at":"2025-03-01T23:56:49.149Z","avatar_url":"https://github.com/DataChefHQ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Damavand\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/damavand-logo-inverted.png\" width=\"100\" height=\"100\"\"/\u003e\n\u003c/p\u003e\n\n## What is Damavand?\nDamavand is a comprehensive cloud-native application development framework designed to go beyond traditional Infrastructure as Code (IaC). It simplifies both application logic and cloud infrastructure management, providing developers with a unified, Pythonic approach to building, deploying, and scaling cloud-native applications. Damavand implements the ARC (Application, Resource, Controller) design pattern, ensuring that your cloud resources and application logic work seamlessly together without the complexity of deeply understanding cloud provider-specific details.\n\nWith Damavand, your focus remains on writing business logic while the framework handles cloud architecture, leveraging Pulumi to generate cloud infrastructure code for multi-cloud environments.\n\n## Why Damavand?\nDamavand is built for developers who want to focus on writing applications, not spending countless hours configuring and managing infrastructure. Here’s why Damavand stands out:\n\n- **Unified Application and Infrastructure:** Develop both cloud resources and business applications in a unified codebase with a clean, logical structure.\n- **ARC Design Pattern:** Follow the proven Application, Resource, and Controller pattern to keep code organized, scalable, and maintainable.\n- **Best Practices and Flexibility:** Offers optimized architecture designs while allowing developers to customize each part of the framework when needed.\n- **Vendor Independence:** Support for multiple cloud providers, avoiding vendor lock-in and giving you the freedom to deploy anywhere.\n- **Rapid Time-to-Market:** Dramatically shortens the time it takes to build and deploy cloud-native applications through pre-architected, cloud-agnostic templates and patterns.\n\n## How Damavand Works\n\nDamavand empowers developers to handle both the application layer and resource layer within one framework. By following the ARC design pattern, it decouples business logic from cloud complexities, enabling easy customization and scalability across different cloud providers.\n\n### Example\n\n\u003e [!TIP]\n\u003e Checkout the [examples](examples) directory for more examples.\n\nHere's an example using Damavand to create an Spark application on AWS (used AWS Glue for compute infrastructure):\n\n```python\nimport os\nfrom damavand.cloud.provider import AwsProvider\nfrom damavand.factories import SparkControllerFactory\n\nfrom applications.orders import CustomerOrders\nfrom applications.products import Products\n\n\ndef main() -\u003e None:\n    spark_factory = SparkControllerFactory(\n        provider=AwsProvider(\n            app_name=\"my-app\",\n            region=\"us-west-2\",\n        ),\n        tags={\"env\": \"dev\"},\n    )\n\n    spark_controller = spark_factory.new(\n        name=\"my-spark\",\n        applications=[\n            Products(),\n            CustomerOrders(),\n        ],\n    )\n\n    app_name = os.getenv(\"APP_NAME\", \"default_app\")  # Get app name on runtime\n\n    spark_controller.provision()\n    spark_controller.run_application(app_name)\n\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## Key Features\n- **ARC Design Pattern:** Implements the Application, Resource, and Controller layers to streamline the development process.\n- **Pulumi-Powered IaC:** Uses Pulumi to manage cloud infrastructure resources in a cloud-agnostic way, reducing complexity.\n- **Multi-Cloud Support:** Enables you to build applications that can run on AWS, Azure, and more, avoiding vendor lock-in.\n- **Pythonic Flexibility:** Written natively in Python, Damavand allows you to easily modify and extend the framework to meet your application's needs.\n- **No Extra Dependencies:** Requires only the Pulumi CLI for cloud infrastructure management—no unnecessary dependencies.\n\n## What is Damavand Useful For?\n\nDamavand is perfect for:\n\n- **Startups:** Accelerate the development and deployment of cloud-native applications.\n- **Enterprises:** Ensure scalability, maintainability, and flexibility in cloud applications.\n- **Developers:** Damavand allows you to focus on your expertise—whether it's backend development, data engineering, or another area—without worrying about the complexities of cloud architecture. For advanced users, it provides rich layers of customization to push the boundaries of optimizing solutions for specific cloud providers.\n\n## What Damavand is Not\n\nDamavand is not just an Infrastructure as Code (IaC) tool. It is not meant to be a full-fledged cloud platform, but rather a framework that integrates both application development and cloud infrastructure in a seamless, unified approach.\n\n## Supported Languages\n\nDamavand is developed in Python, with a focus on Python developers looking for a flexible, yet powerful framework for building cloud-native applications.\n\n## Getting Help\n\nFor support, issues, or feature requests, please open an issue on the Damavand GitHub repository or contact us at support@datachef.co. We're here to help you build your next cloud-native application efficiently and effectively!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatachefhq%2Fdamavand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatachefhq%2Fdamavand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatachefhq%2Fdamavand/lists"}