Skip to main content

Add your description here

Project description

Project Purple (Python library)

Structure

Structure of the project is inspired by Kenneth Reitz

README.md
LICENSE
setup.py
requirements.txt
sample/__init__.py
sample/core.py
sample/helpers.py
docs/conf.py
docs/index.rst
tests/test_basic.py
tests/test_advanced.py

We would like to keed modular structure and separate the concerns.

Quickstart

  1. Prepare your dataset in YOLO format and ensure you have a dataset.yaml file. For a quick start, you can use the example dataset provided in lightly_purple/lightly_purple/example.py.

  2. Launch the application:

make start

This command will:

  • Build both the backend and frontend components
  • Start the application
  • Automatically open your default browser to http://localhost:8001 (tested on MacOS)

After starting, you'll have access to:

Web application: http://localhost:8001/

Documentation about exposed routes: http://localhost:8001/docs

API endpoints: http://localhost:8001/api

Development

If you are using VS Code I would highly recommend to install the following extensions:

vscode-black

ruff-vscode

Build

make build

Usage example

You can find in the example.py file an example of how to use the library.

from lightly_purple.dataset.loader import DatasetLoader

DatasetLoader.launch("some directory from script")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lightly_purple-0.2.4.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightly_purple-0.2.4-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file lightly_purple-0.2.4.tar.gz.

File metadata

  • Download URL: lightly_purple-0.2.4.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for lightly_purple-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cdd9f7a7978cb9d467451708bf35964366c1cd57e83dddd3bb941374b7ed5148
MD5 b2bc48b496ebfd10b602dbe15999e255
BLAKE2b-256 ca96328637bfc73873471652821fd2702dc310d87e8c2f95e990d6d40adfd312

See more details on using hashes here.

File details

Details for the file lightly_purple-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for lightly_purple-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 018cd2c3837ea8f91cc4af1040078c2aff3f7b45ebb1567cef14c203adb0b999
MD5 c7bae014cde49d38a4dd4a8b9e75a483
BLAKE2b-256 e29c91733fd30f4163b741fb52e5fd8face10db46ca83dd3067c9fd7df288810

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page