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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lightly_purple-0.2.1.tar.gz
Algorithm Hash digest
SHA256 82e4d8f797eb02a7bf5be95d65a268a81355bd846ecf059bee1aa392e296cd77
MD5 0d0b850e2a5c3831b5af66c13f38902a
BLAKE2b-256 13cd45c1499e8120c95f4a3df6fe1368371eeab590324d308a64ee9f6771b703

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lightly_purple-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9854f03cba13961ed9484168dbaa278299eb495f794a90a0f6be1269f5cea8d6
MD5 859e758f6b859048ab00efabea60a9ca
BLAKE2b-256 85355f197b1650e93fec4f0ebd4f72b2623aef1962c578096d05306cf70568a1

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