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.3.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.3-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lightly_purple-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4cae08596c72e61459cb6ef860cb53ad222b8ec21d37db31dfea123619da7737
MD5 6de9f54c2f88987be49a28a17bdcf91e
BLAKE2b-256 a6f916f6fc0625db9d1e559700d7c27963af9ce09b6178ebf8f1817d74bb657f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lightly_purple-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 62c5ae0892d3cabdab20b3fd5355bcaffe3ff231af7c0973aea9471a7bda0b32
MD5 20a1f1c4ff2e7c0f0aed14deef57997e
BLAKE2b-256 6edcb20cafa0ba665012a69f8b0e499dd960d608b39c6b64efad5235f7297556

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