Skip to content

Add llmstxt #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
33 changes: 33 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Docs

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Tests
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10

- name: Install the package and dependencies
run: |
pip install -r docs/requirements.txt

- name: Build, make LLM friendly and deploy docs
run: |
mkdocs build
llms-txt
mkdocs gh-deploy --dirty
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ clean:

build:
poetry build

build-docs:
mkdocs build

install-dev:
poetry install --all-groups
27 changes: 27 additions & 0 deletions docs/llms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Labelformat

> Labelformat is an open-source Python framework designed to streamline the conversion between various computer vision annotation formats, including COCO, YOLO, PascalVOC, and KITTI. It offers both a command-line interface and a Python API, ensuring flexibility and efficiency in managing large datasets.

Labelformat supports the following features:

- **Wide Format Support**: Handles multiple formats such as COCO, YOLO (v5-v11), PascalVOC, KITTI, Labelbox, and more.
- **Cross-Platform Compatibility**: Works seamlessly with Python 3.7+ on Windows, macOS, and Linux.
- **Flexible Usage**: Provides both CLI and Python API for diverse use cases.
- **Efficiency**: Optimized for memory usage, suitable for large datasets.
- **Offline Operation**: Functions without the need for internet connectivity.
- **Accuracy**: Undergoes rigorous round-trip tests to ensure consistent results.

## Documentation

- [Quick Start Guide](https://labelformat.com/quick-start/): Step-by-step instructions to begin using Labelformat. :contentReference[oaicite:1]{index=1}
- [Installation Instructions](https://labelformat.com/installation/): Detailed guide on setting up Labelformat in your environment. :contentReference[oaicite:2]{index=2}
- [Supported Formats](https://labelformat.com/): Comprehensive list of annotation formats supported by Labelformat.

## Examples

- [Converting COCO to YOLOv8](https://labelformat.com/quick-start/): Practical example demonstrating the conversion process using the command-line interface. :contentReference[oaicite:3]{index=3}

## Optional

- [GitHub Repository](https://github.com/lightly-ai/labelformat): Access the source code, report issues, and contribute to the project.
- [PyPI Package](https://pypi.org/project/labelformat/): Official Python Package Index page for Labelformat, including installation instructions and release history.
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs
mkdocs-material
mkdocs-git-revision-date-localized-plugin>=1.2.4
llms-txt-action
Loading
Loading