semvec/pypi-packages huggingface dataset:
matrix-class 0.2.0
Matrix on class
License: MIT
Requires Python: >=3.8,<4.0


# Matrix Class Library

This Python library provides an implementation of a matrix using classes, offering a range of functionalities for matrix operations.

## Installation

Install the library using pip:

```bash
pip install matrix_class
```

## Features

- **Initialization**: Create matrices with specified rows and columns.
- **Item Assignment and Retrieval**: Set and get values of specific cells in the matrix.
- **Matrix Properties**: Access the number of rows and columns in the matrix.
- **String Representation**: Print the matrix in a readable format.
- **Determinant Calculation**: Compute the determinant of the matrix.
- **Matrix Arithmetic**: Perform addition, subtraction, and multiplication (with both scalars and other matrices).
- **Matrix Transposition**: Transpose the matrix, swapping rows with columns.
- **Matrix Inversion**: Invert a matrix, provided it is square and has a non-zero determinant.
- **Matrix Complementation**: Calculate the complement of a matrix.

## Usage

Below are some examples of how to use the Matrix class:

```python
from matrix import Matrix

# Create a new Matrix with specified dimensions
matrix = Matrix(3, 3)

# Set and get values
matrix[1, 1] = 5.0
value = matrix[1, 1]

# Access matrix properties
rows = matrix.rows
columns = matrix.columns

# Print the matrix
print(matrix)

# Perform arithmetic operations
sum_matrix = matrix1 + matrix2
difference = matrix1 - matrix2
product = matrix1 * matrix2
scaled_matrix = matrix * 2.0

# Transpose and invert matrices
transposed_matrix = matrix.get_transported()
inverse_matrix = matrix.get_inverse()
```

## Contributing

Contributions to enhance the Matrix Class Library are welcomed. Please open an issue first to discuss proposed changes. Ensure to update tests as appropriate.

## License

This library is released under the [MIT License](https://choosealicense.com/licenses/mit/).
ecs-rollback 1.0.0
A simple CLI tool for triggering AWS ECS rollbacks
License: MIT
Requires Python: >=3.10

# ecs-rollback
## _Single command rollback for AWS ECS_

AWS CLI does not provide a native rollback command for ECS deployments. Hence, automating a rollback workflow requires multiple interdependent commands. This is not user-friendly, especially during production outages.

ecs-rollback is tool that solves this problem by allowing users to trigger hassle-free single command rollbacks 

## Prerequisites

ecs-rollback changes the task definition of your service to the (n-1)th task definition. Hence, it is important to note that the tool is effective only when the following ECS best practices are being followed in your CI/CD system:
- Every new deployment should create a new task definition
- Every Docker image linked to task definitions should be tagged with a *unique tag (for e.g. git commit hash)* rather than the *latest* tag

Although AWS does not force users to follow the above two practices, both of them are highly recommended (https://aws.amazon.com/blogs/compute/automating-rollback-of-failed-amazon-ecs-deployments/).

## Installation

```sh
pip install ecs-rollback
```

## Usage

```sh
ecs-rollback -c sample-cluster-name -s sample-service-name -r us-east-1
```