infra-sdk


Nameinfra-sdk JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryInfrastructure management CLI using OpenTofu
upload_time2024-12-03 07:21:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords cli infrastructure opentofu terraform
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Infra SDK

A powerful CLI tool that simplifies infrastructure management using OpenTofu (a Terraform fork).

## Features

- Environment-based infrastructure management
- Interactive module selection
- State management with SQLite
- Project configuration with `infra.yaml`
- Support for multiple infrastructure modules

## Installation

```bash
pip install infra-sdk
```

## Quick Start

1. Initialize a new project:
```bash
infra init
```

2. Create an environment:
```bash
infra env create dev
```

3. Create infrastructure from a module:
```bash
infra create path/to/module
```

## Project Structure

After initialization, your project will have this structure:
```
your-project/
├── infra.yaml          # Project configuration
└── .infra/            # State directory (configurable)
    ├── state.db       # SQLite database
    ├── states/        # OpenTofu state files
    └── temp/          # Temporary module copies
```

## Commands

- `infra init` - Initialize a new project
- `infra env create <name>` - Create a new environment
- `infra env list` - List all environments
- `infra create <module>` - Create infrastructure from a module
- `infra destroy [module]` - Destroy infrastructure

## Requirements

- Python >= 3.8
- OpenTofu binary (default path: `~/.launchflow/bin/tofu`)

## License

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "infra-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "cli, infrastructure, opentofu, terraform",
    "author": null,
    "author_email": "Your Name <your.email@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/ca/e4/6acae1bdfeb0afaf866b84ae90acae43fc87afcb94d4164d404ba54e24d1/infra_sdk-0.1.0.tar.gz",
    "platform": null,
    "description": "# Infra SDK\n\nA powerful CLI tool that simplifies infrastructure management using OpenTofu (a Terraform fork).\n\n## Features\n\n- Environment-based infrastructure management\n- Interactive module selection\n- State management with SQLite\n- Project configuration with `infra.yaml`\n- Support for multiple infrastructure modules\n\n## Installation\n\n```bash\npip install infra-sdk\n```\n\n## Quick Start\n\n1. Initialize a new project:\n```bash\ninfra init\n```\n\n2. Create an environment:\n```bash\ninfra env create dev\n```\n\n3. Create infrastructure from a module:\n```bash\ninfra create path/to/module\n```\n\n## Project Structure\n\nAfter initialization, your project will have this structure:\n```\nyour-project/\n\u251c\u2500\u2500 infra.yaml          # Project configuration\n\u2514\u2500\u2500 .infra/            # State directory (configurable)\n    \u251c\u2500\u2500 state.db       # SQLite database\n    \u251c\u2500\u2500 states/        # OpenTofu state files\n    \u2514\u2500\u2500 temp/          # Temporary module copies\n```\n\n## Commands\n\n- `infra init` - Initialize a new project\n- `infra env create <name>` - Create a new environment\n- `infra env list` - List all environments\n- `infra create <module>` - Create infrastructure from a module\n- `infra destroy [module]` - Destroy infrastructure\n\n## Requirements\n\n- Python >= 3.8\n- OpenTofu binary (default path: `~/.launchflow/bin/tofu`)\n\n## License\n\nMIT License\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Infrastructure management CLI using OpenTofu",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/yourusername/infra-sdk",
        "Issues": "https://github.com/yourusername/infra-sdk/issues",
        "Repository": "https://github.com/yourusername/infra-sdk.git"
    },
    "split_keywords": [
        "cli",
        " infrastructure",
        " opentofu",
        " terraform"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf545f2bb52d1f67aeb35778f7373e3dc13021c9e9a6903ee40e102c52308968",
                "md5": "2767a405f3fb560f166233f45291089e",
                "sha256": "88ee044d6f6fe9bbd3a2f806e066a2a8fc7e3a91a5995cd15ad94a3a51d989ed"
            },
            "downloads": -1,
            "filename": "infra_sdk-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2767a405f3fb560f166233f45291089e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9346,
            "upload_time": "2024-12-03T07:21:40",
            "upload_time_iso_8601": "2024-12-03T07:21:40.661256Z",
            "url": "https://files.pythonhosted.org/packages/bf/54/5f2bb52d1f67aeb35778f7373e3dc13021c9e9a6903ee40e102c52308968/infra_sdk-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cae46acae1bdfeb0afaf866b84ae90acae43fc87afcb94d4164d404ba54e24d1",
                "md5": "427aecb8f318216cb9b2410974fd3691",
                "sha256": "2c4dcab0b35ac85a3a7b69c6785eb387a097e10198517c74541b0df4eaff8814"
            },
            "downloads": -1,
            "filename": "infra_sdk-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "427aecb8f318216cb9b2410974fd3691",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9105,
            "upload_time": "2024-12-03T07:21:42",
            "upload_time_iso_8601": "2024-12-03T07:21:42.425929Z",
            "url": "https://files.pythonhosted.org/packages/ca/e4/6acae1bdfeb0afaf866b84ae90acae43fc87afcb94d4164d404ba54e24d1/infra_sdk-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-03 07:21:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "infra-sdk",
    "github_not_found": true,
    "lcname": "infra-sdk"
}
        
Elapsed time: 4.48511s