Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python: ["3.7", "3.10"]
python: ["3.8", "3.10"]

steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and time-consuming. Labelformat aims to solve this pain.

- Support for common dataset label formats (more coming soon)
- Support for common tool formats (more coming soon)
- Minimal dependencies, targets python 3.7 or higher
- Minimal dependencies, targets python 3.8 or higher
- Memory concious - datasets are processed file-by-file instead of loading everything
in memory (when possible)
- Typed
Expand Down Expand Up @@ -421,13 +421,13 @@ We also welcome contributions, please submit a PR.

### Development

The library targets python 3.7 and higher. We use poetry to manage the development environment.
The library targets python 3.8 and higher. We use poetry to manage the development environment.

Here is an example development workflow:

```bash
# Create a virtual environment with development dependencies
poetry env use python3.7
poetry env use python3.8
poetry install

# Make changes
Expand Down
2 changes: 1 addition & 1 deletion docs/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Labelformat offers a robust set of features tailored to meet the diverse needs o

- **Performance Optimizations:**
- **Memory Conscious:** Processes datasets file-by-file to minimize memory usage.
- **Minimal Dependencies:** Targets Python 3.7 or higher, ensuring broad compatibility.
- **Minimal Dependencies:** Targets Python 3.8 or higher, ensuring broad compatibility.

- **Cross-Platform Support:**
- **Windows, Linux, and macOS:** Works seamlessly across all major operating systems.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Key Features
- **Wide Format Support**: COCO, YOLO (v5-v11), PascalVOC, KITTI, Labelbox, and more.
- **Cross-Platform**: Compatible with Python 3.7+ on Windows, macOS, and Linux.
- **Cross-Platform**: Compatible with Python 3.8+ on Windows, macOS, and Linux.
- **Flexible Usage**: Intuitive CLI and Python API.
- **Efficient**: Memory-conscious, optimized for large datasets.
- **Offline First**: Operates locally without data uploads.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Installing **Labelformat** is straightforward. Follow the steps below to set up

## Prerequisites

- **Python 3.7 or higher:** Ensure you have Python installed on Windows, Linux, or macOS.
- **Python 3.8 or higher:** Ensure you have Python installed on Windows, Linux, or macOS.
- **pip:** Python's package installer. It typically comes with Python installations.

## Installation using package managers
Expand Down
1,499 changes: 760 additions & 739 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
license = "MIT"

[tool.poetry.dependencies]
python = ">=3.7"
python = ">=3.8"
tqdm = "*"
pyyaml = "*"
pillow = "*"
Expand Down Expand Up @@ -41,7 +41,7 @@ profile = "black"

[tool.mypy]
ignore_missing_imports = true
python_version = 3.7
python_version = 3.8
warn_unused_configs = true
strict_equality = true
# Disallow dynamic typing
Expand Down
2 changes: 1 addition & 1 deletion src/labelformat/cli/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Task(Enum):


@dataclass
class Registry:
class Registry: # type: ignore[misc]
input: Dict[Task, Dict[str, Type]] # type: ignore[type-arg]
output: Dict[Task, Dict[str, Type]] # type: ignore[type-arg]

Expand Down