coesi


Namecoesi JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryCOESI Platform CLI - Command line interface for managing COESI Docker deployments
upload_time2025-08-01 17:36:51
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords coesi docker deployment cli devops
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # COESI CLI

A command-line interface for managing COESI Platform Docker deployments.

## Installation

### From PyPI (Recommended)

```bash
pip install coesi
```

### From Source

```bash
git clone https://github.com/coesi/coesi-cli.git
cd coesi-cli
pip install -e .
```

## Usage

After installation, you can use the `coesi` command globally:

```bash
# Deploy development environment
coesi dev

# Deploy production with default IP
coesi prod

# Deploy production with custom IP
coesi prod 10.0.0.100

# Restart services
coesi restart dev
coesi restart prod

# Stop services
coesi stop dev
coesi stop prod
coesi stop all

# Check status
coesi status
coesi status dev
coesi status prod

# View logs
coesi logs
coesi logs core-api

# Clean environments
coesi clean dev
coesi clean prod
coesi clean all

# Update production IP
coesi ip 192.168.1.100

# Show help
coesi --help
```

## Commands

### `coesi dev`

Deploy development environment with localhost (no IP parameter allowed).

### `coesi prod [IP]`

Deploy production environment with optional IP address. Uses default IP if not specified.

### `coesi restart [PROFILE]`

Restart services without rebuilding (dev or prod).

### `coesi stop [PROFILE]`

Stop services (dev, prod, or all).

### `coesi status [PROFILE]`

Show service status (dev, prod, or all).

### `coesi logs [SERVICE]`

View logs for specific service or all services.

### `coesi clean [PROFILE]`

Remove containers and volumes (dev, prod, or all).

### `coesi ip [IP]`

Change production IP in .env.prod file.

## Requirements

- Docker
- Docker Compose
- Python 3.8+

## Development

### Setup Development Environment

```bash
# Clone the repository
git clone https://github.com/rezathriii/coesi-cli.git
cd coesi-cli

# Install in development mode
pip install -e .[dev]
```

### Running Tests

```bash
pytest
```

### Code Formatting

```bash
black src/
flake8 src/
mypy src/
```

### Publishing to PyPI

```bash
# Build the package
python -m build

# Upload to PyPI
twine upload dist/*
```

## License

MIT License - see LICENSE file for details.

## Contributing

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Add tests
5. Run the test suite
6. Submit a pull request

## Support

For issues and questions, please visit: https://github.com/rezathriii/coesi-cli/issues

## Author

**Reza Taheri**

- GitHub: [@rezathriii](https://github.com/rezathriii)
- Email: taheri.reza94@gmail.com

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "coesi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "coesi, docker, deployment, cli, devops",
    "author": null,
    "author_email": "Reza Taheri <taheri.reza94@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/17/b8/5779d076fe1ec2c85831ec6221be1a25a0429bd2c5d57f3bbf5c3f5180c1/coesi-0.1.0.tar.gz",
    "platform": null,
    "description": "# COESI CLI\n\nA command-line interface for managing COESI Platform Docker deployments.\n\n## Installation\n\n### From PyPI (Recommended)\n\n```bash\npip install coesi\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/coesi/coesi-cli.git\ncd coesi-cli\npip install -e .\n```\n\n## Usage\n\nAfter installation, you can use the `coesi` command globally:\n\n```bash\n# Deploy development environment\ncoesi dev\n\n# Deploy production with default IP\ncoesi prod\n\n# Deploy production with custom IP\ncoesi prod 10.0.0.100\n\n# Restart services\ncoesi restart dev\ncoesi restart prod\n\n# Stop services\ncoesi stop dev\ncoesi stop prod\ncoesi stop all\n\n# Check status\ncoesi status\ncoesi status dev\ncoesi status prod\n\n# View logs\ncoesi logs\ncoesi logs core-api\n\n# Clean environments\ncoesi clean dev\ncoesi clean prod\ncoesi clean all\n\n# Update production IP\ncoesi ip 192.168.1.100\n\n# Show help\ncoesi --help\n```\n\n## Commands\n\n### `coesi dev`\n\nDeploy development environment with localhost (no IP parameter allowed).\n\n### `coesi prod [IP]`\n\nDeploy production environment with optional IP address. Uses default IP if not specified.\n\n### `coesi restart [PROFILE]`\n\nRestart services without rebuilding (dev or prod).\n\n### `coesi stop [PROFILE]`\n\nStop services (dev, prod, or all).\n\n### `coesi status [PROFILE]`\n\nShow service status (dev, prod, or all).\n\n### `coesi logs [SERVICE]`\n\nView logs for specific service or all services.\n\n### `coesi clean [PROFILE]`\n\nRemove containers and volumes (dev, prod, or all).\n\n### `coesi ip [IP]`\n\nChange production IP in .env.prod file.\n\n## Requirements\n\n- Docker\n- Docker Compose\n- Python 3.8+\n\n## Development\n\n### Setup Development Environment\n\n```bash\n# Clone the repository\ngit clone https://github.com/rezathriii/coesi-cli.git\ncd coesi-cli\n\n# Install in development mode\npip install -e .[dev]\n```\n\n### Running Tests\n\n```bash\npytest\n```\n\n### Code Formatting\n\n```bash\nblack src/\nflake8 src/\nmypy src/\n```\n\n### Publishing to PyPI\n\n```bash\n# Build the package\npython -m build\n\n# Upload to PyPI\ntwine upload dist/*\n```\n\n## License\n\nMIT License - see LICENSE file for details.\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Add tests\n5. Run the test suite\n6. Submit a pull request\n\n## Support\n\nFor issues and questions, please visit: https://github.com/rezathriii/coesi-cli/issues\n\n## Author\n\n**Reza Taheri**\n\n- GitHub: [@rezathriii](https://github.com/rezathriii)\n- Email: taheri.reza94@gmail.com\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "COESI Platform CLI - Command line interface for managing COESI Docker deployments",
    "version": "0.1.0",
    "project_urls": {
        "Bug Reports": "https://github.com/rezathriii/coesi-cli/issues",
        "Documentation": "https://github.com/rezathriii/coesi-cli#readme",
        "Homepage": "https://github.com/rezathriii/coesi-cli",
        "Repository": "https://github.com/rezathriii/coesi-cli.git"
    },
    "split_keywords": [
        "coesi",
        " docker",
        " deployment",
        " cli",
        " devops"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ab99c9064acf84f9a24df6f4f79c6dd18f061a4a0cefdad427ec80ef760b6f2f",
                "md5": "c99d8391f13aa67ea44b64f5b6a6cb68",
                "sha256": "dd79ce126b90664a19beaacf04eaf8d4013aeb62fe23c5395556b5fdecf562c2"
            },
            "downloads": -1,
            "filename": "coesi-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c99d8391f13aa67ea44b64f5b6a6cb68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9856,
            "upload_time": "2025-08-01T17:36:50",
            "upload_time_iso_8601": "2025-08-01T17:36:50.694242Z",
            "url": "https://files.pythonhosted.org/packages/ab/99/c9064acf84f9a24df6f4f79c6dd18f061a4a0cefdad427ec80ef760b6f2f/coesi-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "17b85779d076fe1ec2c85831ec6221be1a25a0429bd2c5d57f3bbf5c3f5180c1",
                "md5": "19ca6b8016b4bff1bd5ae4ebc79cb369",
                "sha256": "0979dd4ad65c8871231b6d25a6aa6d96e7008b22454965f2030c068770c6ab0b"
            },
            "downloads": -1,
            "filename": "coesi-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "19ca6b8016b4bff1bd5ae4ebc79cb369",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10331,
            "upload_time": "2025-08-01T17:36:51",
            "upload_time_iso_8601": "2025-08-01T17:36:51.885259Z",
            "url": "https://files.pythonhosted.org/packages/17/b8/5779d076fe1ec2c85831ec6221be1a25a0429bd2c5d57f3bbf5c3f5180c1/coesi-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 17:36:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rezathriii",
    "github_project": "coesi-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "coesi"
}
        
Elapsed time: 1.96999s