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.7.tar.gz (97.2 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.7-py3-none-any.whl (123.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lightly_purple-0.2.7.tar.gz
Algorithm Hash digest
SHA256 55eea193879531861974b63b9cf8ba4c3c8ed0e04292c1694e46a9c1bb7a52ef
MD5 038f2bce496c7da6fe3d2f83229377f3
BLAKE2b-256 5cf35734e2045f55a4fc08ec8c41ad44a03af35a688660c03197b1654e4052c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lightly_purple-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0537353a4ed7460263c5e0fa489629d6f74a55d85941620b8a981c8e540e0ab5
MD5 3091c334f91331b32ca9f66f0c08c0a4
BLAKE2b-256 f0773797c3d1e338367b357f9e56febc208db6721e4c531575a5529487d85162

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