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 purple/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 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.0.tar.gz (110.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.0-py3-none-any.whl (122.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lightly_purple-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1d5d87dd5ad9a5d925630f3c33eee3446e1cd0d553934f6fc154397a88afe9fc
MD5 b7ff6dc8d73aae1ca4c9e8ae3ea22717
BLAKE2b-256 afbf613275f452424765026a6270d42eb3a268bc9cddccbbb6e1f5d2b9411555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lightly_purple-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20ff6a7bbf84c329bdeec1ff79c05d8723a11968cbf33cdbef00ab225b740451
MD5 b42e4e229dedbfe14e54432b061cad05
BLAKE2b-256 b22a24cd9cbca6766abb7a7702fb2f10e78d206ae2e1977d94e53e36d114aa13

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