semvec/pypi-packages huggingface dataset:
test-common-utils 0.1.2
Common utilities using FastAPI and Pydantic
License: MIT
Requires Python: >=3.8
Keywords: fastapi, logging, pydantic, utilities

# Test Common Utils

A collection of common utilities including a configurable logger with type hints and Pydantic integration.

## Installation

You can install this package directly from GitHub using pip:

```bash
pip install git+https://github.com/YOUR_USERNAME/test-common-utils.git
```

Or add it to your project's requirements.txt:

```
git+https://github.com/YOUR_USERNAME/test-common-utils.git
```

To install a specific version:

```bash
pip install git+https://github.com/YOUR_USERNAME/test-common-utils.git@v0.1.2
```

## Usage

### Logger

```python
from test_common_utils.utils import create_logger

# Basic usage
logger = create_logger(name="my_app")
logger.info("Hello, world!")

# Custom configuration
logger = create_logger(
    name="my_app",
    level="DEBUG",
    format="%(asctime)s - %(levelname)s - %(message)s"
)
```

## Development

To set up the development environment:

```bash
# Clone the repository
git clone https://github.com/YOUR_USERNAME/test-common-utils.git
cd test-common-utils

# Install with development dependencies
pip install -e ".[dev]"
```

### Running Tests

```bash
pytest
```

### Code Quality

```bash
# Format code
black .

# Lint code
ruff check .

# Type check
mypy src tests
```

### Version Management

To bump the version:

```bash
# Bump patch version (0.1.0 -> 0.1.1)
./scripts/bump_version.py patch

# Bump minor version (0.1.0 -> 0.2.0)
./scripts/bump_version.py minor

# Bump major version (0.1.0 -> 1.0.0)
./scripts/bump_version.py major
```

### CI/CD

The project uses GitHub Actions for:
- Running tests on Python 3.8, 3.9, 3.10, and 3.11
- Code quality checks (black, ruff, mypy)
- Automatic publishing to PyPI when a version tag is pushed

To release a new version:
1. Bump the version using the script
2. Push the changes and tags
3. The CI/CD pipeline will automatically publish to PyPI
mainframer 0.2.0
GnuCOBOL environment and package manager.
License: MIT
Requires Python: >=3.8
Keywords: cobol, gnucobol

# metametameta

Package manager for gnuCOBOL. Very alpha right now. Not all commands work.

## Installation

```bash
pipx install mainframer
```

## Usage

Installs various versions of gnuCOBOL to `~/.cobol/`
```bash
mainframer cobol 3.2
mainframer cobol 3.2.2
mainframer cobol 3.2-b
```

Now create a `mainframer.toml` in your project root. This is a monorepo, so you can have multiple `mainframer.toml` 
files with at minimum the gnucobol version.

```toml
[project]
gnucobol = "3.2"

[compiler]
# modify compiler options here.

[packages]
"name" = { version="1.2.3", url="github.com/matthewdeanmartin/mainframer" }
```

Activate a cobol. This adds the necessary environment variables.
```bash
mainframer shell
```

Build a cobol project, assuming a particular layout.
```bash
mainframer build compile_objects
mainframer build build_binary
mainframer build test
mainframer build run
```

Help for CLI
```text
usage: mainframer [-h] [-V] {cobol,shell,install,build,clean,test,run} ...
Manage GnuCobol.
positional arguments:
options:
  -h, --help            show this help message and exit
  -V, --version         Show program's version number and exit.
```

## Motivation and Goals

Trying to make a package manager for COBOL.

## Prior Art
- Build script inspired by [CobolCraft](https://github.com/meyfa/CobolCraft)