semvec/pypi-packages huggingface dataset:
CCFToolkit 1.0.0
A toolkit for reading and generating Paintman CCF files for color chart management.
Requires Python: >=3.6

# CCFToolkit

CCFToolkit is a Python module designed for reading and generating Paintman CCF (Color Chart File) files, commonly used in color chart management for animation production. It supports both 8-bit and 16-bit(read-only) RGB color depths.

## Installation

To install CCFToolkit, use `pip`:

```bash
pip install CCFToolkit
```

## Usage

### Importing the Module
```python
from CCFToolkit import CCFGenerator, CCFReader, RGB8, RGB16
```

### Creating a CCF File
You can generate a CCF file using `CCFGenerator`:

```python
color_data = [
    ((255, 0, 0), "Red"),
    ((0, 255, 0), "Green"),
    ((0, 0, 255), "Blue峠"),
    ((0, 0, 0), "黑色辻"),  # Example with Chinese characters
    ((255, 255, 255), "White白色"),  # Example with Japanese characters
    ((128, 128, 128), "Gray灰色"),
    ((255, 255, 0), "Yellow"),
    ((0, 255, 255), "Cyanシアン"),  # Japanese characters
    ((255, 0, 255), "Magenta")
]

generator = CCFGenerator(color_data)
generator.create_ccf_file("output_file.ccf")
print("CCF file created successfully at 'output_file.ccf'")
```

### Reading a CCF File
You can read a CCF file using `CCFReader`:

```python
reader = CCFReader("output_file.ccf")

# Reading with 8-bit RGB
color_data_8bit = reader.read_ccf_file(RGB8)
print("8-bit RGB Color Data:")
for label, rgb in color_data_8bit:
    print(f"Label: {label}, RGB: {rgb}")

# Reading with 16-bit RGB
color_data_16bit = reader.read_ccf_file(RGB16)
print("\n16-bit RGB Color Data:")
for label, rgb in color_data_16bit:
    print(f"Label: {label}, RGB: {rgb}")
```

## Constants

- `RGB8`: Integer constant representing 8-bit RGB color depth.
- `RGB16`: Integer constant representing 16-bit RGB color depth.

## Exception Handling
- `CCFGenerator` raises a `ValueError` if any RGB value exceeds 255, ensuring the values are valid 8-bit RGB before encoding.

## Important Notes
- Current version of `CCFGenerator` does not support 16-bit RGB or RGBA encoding.

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing
Contributions are welcome! Please submit a pull request or open an issue to suggest improvements or report bugs.

## Contact
For questions or support, feel free to pull a request or issue.

---

Enjoy using `CCFToolkit` for your color chart management in animation projects!
rekor-monitor-jacksonqu 4.0.1
Verify your software using trusted supply chains.
Requires Python: <4.0,>=3.10

# Python Rekor Monitor

Verify your software using trusted supply chains.

## Description

This repository uses `Rekor API`, a tool that helps improve security in software supply chains by providing immutable records of software build metadata. This repository includes code that interacts with Rekor's API and verifies the consistency using transparency logs.

## Installation

1. Clone the repository:

```bash
git clone https://github.com/JacksonQu/Software-Supply-Chain-Security-Assignment1.git
cd Software-Supply-Chain-Security-Assignment1/
```

2. (Optional) Create a virtual environment:

```bash
python -m venv venv
source venv/bin/activate
```

3. Install dependencies:

```bash
pip install cryptography requests
```

## Usage

- Fetch a checkpoint of Rekor transparency log.

```bash
python main.py -c
```

- Verify the artifact signature.

```bash
python main.py --inclusion {logIndex} --artifact {filepath}
```

- Verify merkle tree consistency.

```bash
python main.py --consistency --tree-id {treeID} --tree-size {treeSize} --root-hash {hash}
```

## Reference

- Fork from [mayank-ramnani/python-rekor-monitor-template](https://github.com/mayank-ramnani/python-rekor-monitor-template)

- [Rekor API Sepc](https://www.sigstore.dev/swagger/#/)
testforge 1.0.6
A CLI tool to generate pyton tests using AI.
Requires Python: >=3.6

# TestForge

**TestForge** A CLI tool to generate pytest test cases using AI.

## Features

- **Generate Tests**: Automatically generates pytest test cases for a specified file or function.
- **Output Directory**: Specify a custom output directory for the generated test files (default is the same as the file you're making tests for).
- **Configurable Endpoint**: Set an environment variable `TESTFORGE_INVITE` for the endpoint URL.

## Installation

Install TestForge via pip:

```bash
pip install testforge
```

## Usage

### Setting Up the Invite Code

TestForge requires an environment variable `TESTFORGE_INVITE` to get access to the beta. To set it up, use the following command:

```bash
export TESTFORGE_INVITE="YOURCODE"
```

Replace `YOURCODE` with the actual code you've received. This variable needs to be set in every session where you use TestForge or added to your shell configuration file (e.g., `.bashrc` or `.zshrc`) for persistence.

### Command Options

TestForge provides several options that can be used in the command line:

- **Show Version**: Check the version of TestForge.

  ```bash
  testforge -v
  ```

- **Generate Tests**: Generate pytest cases for a specified file.

  ```bash
  testforge -f path/to/your/file.py
  ```

- **Generate Tests for a function only**: Generate pytest cases for the specified function.

  ```bash
  testforge -f path/to/your/file.py -t function_name
  ```

- **Specify Output Directory**: Define a custom directory for the generated test files.
  ```bash
  testforge -f path/to/your/file.py -o path/to/your/custom_output_directory
  ```

## Example

```bash
export TESTFORGE_INVITE="INVITECODE"
testforge -f src/main.py -o tests
```