semvec/pypi-packages huggingface dataset:
houdini-logging-tools 0.2.0
Logging related tools for Python logging in Houdini
License: MIT
Requires Python: >=3.11.0

houdini-logging-tools
=====================

[![PyPI version](https://img.shields.io/pypi/v/houdini-logging-tools)](https://pypi.org/pypi/houdini-logging-tools)
[![Tests](https://github.com/captainhammy/houdini-logging-tools/actions/workflows/tests.yml/badge.svg)](https://github.com/captainhammy/houdini-logging-tools/actions/workflows/tests.yml)
[![Documentation Status](https://readthedocs.org/projects/houdini-logging-tools/badge/?version=latest)](https://houdini-logging-tools.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/captainhammy/houdini-logging-tools/graph/badge.svg?token=P25YCTBI8B)](https://codecov.io/gh/captainhammy/houdini-logging-tools)

This project contains utilities related to Python logging in [Houdini](http://sidefx.com).
keboola-python 0.1.3
Common base classes for Keboola Python components
License: MIT
Requires Python: >=3.10

# keboola-python

Shared utility code for Keboola Python components.

---

## 🛠️ Setup for Developers

Follow these steps to get up and running:

### 1. Clone the repo

```bash
git clone https://github.com/emfoundation/keboola-python.git
cd keboola-python
```

### 2. Create and activate a virtual environment

```bash
python3 -m venv .venv
source .venv/bin/activate
```

### 3. Install dev dependencies

```bash
pip install -r requirements-dev.txt
```

This will install tools like:
- `black` (auto-formatting)
- `flake8` (linting)
- `pre-commit` (to run checks before each commit)
- `pytest` (for tests)

---

## 🧪 Pre-Commit Hook Setup

We use [`pre-commit`](https://pre-commit.com) to run formatting and linting checks automatically on every commit.

### Install the hook, from within your virtual environment (one-time setup)

```bash
pre-commit install
```

### Try it out

Make a code change and run:

```bash
git add .
git commit -m "Trigger pre-commit"
```

You'll see `black` and `flake8` run before the commit is saved.

### 🏷️ Publishing a new version to PyPI

To publish a new version of the package to PyPI:

1. **Bump the version** in `pyproject.toml`, for example:
   ```toml
   version = "0.1.2"
   ```

2. **Commit the version bump**:
   ```bash
   git commit -am "Bump version to 0.1.2"
   ```

3. **Create and push a git tag**:
   ```bash
   git tag v0.1.2
   git push origin v0.1.2
   ```

This will trigger the GitHub Actions workflow to build and publish the package to [PyPI](https://pypi.org/project/keboola-python/).

> ⚠️ You cannot reuse a version once it's published — always increment the version number.