Skip to content

Latest commit

 

History

History
 
 

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ProFiles Documentation

🏠 Documentation Home | 📦 Installation | ⚙️ Configuration | 🔧 Hooks | 📊 Dynamic Columns | ⚡ Performance Metrics | 🚀 Advanced Guide


Welcome to the ProFiles documentation. This documentation is available in English and French.

📚 Documentation Index

Configuration

Installation

Complete installation procedures:

  • Interactive wizard installation
  • Manual installation steps
  • Development environment setup
  • Post-installation configuration
  • Troubleshooting guide

Advanced

Covers headless automation, programmatic API usage, custom front-ends (CLI/Web), performance tuning, and integration patterns.

Dynamic Columns

  • Column Library (English): Ready-to-use configurations

    • 50+ pre-configured columns for common use cases
    • Production, Development, Multi-site combinations
    • Selection guide and examples
  • Technical Guide (English): Dynamic Column Configuration

    • Architecture and data flow
    • Column construction logic
    • Runtime extraction process
    • GUI integration details
  • Usage Guide (French): Guide d'utilisation des colonnes dynamiques

    • Extract device names, project codes, versions, etc.
    • Configure extraction rules without coding
    • Customize column widths and default values
    • Regex patterns and examples
    • Troubleshooting guide

Performance Monitoring

  • Metrics Guide (English): Performance Metrics Reference
    • Enable scan performance monitoring
    • Understand metrics output (duration, throughput)
    • Optimize scan configuration
    • Benchmark and troubleshoot performance

Network Server

  • English: Network Server Guide

  • Français: Guide du serveur réseau

    • Start ProFiles with the built-in FastAPI server (--server-only, port 8088)
    • Access the web UI from any browser on the network
    • Firewall, static IP and troubleshooting guidance

Log Format

  • English: Log File Format

    • Structure of profiles.log event lines (source, timestamps)
    • Telemetry events and the built-in log viewer modal

Barcode Scanner

  • English: Barcode Scanner Mode
    • Enable/disable barcode mode (UI button or Ctrl+B)
    • Barcode payload format (key=value;key=value pairs)
    • Auto-apply values and trigger scan
    • UI indicators and toast notifications
    • Technical architecture and troubleshooting

🚀 Quick Start

First Launch

# Run the installer
python install.py

# Or install manually
pip install -e .

# Launch the app (web backend by default: FastAPI server + PyWebView shell)
python -m profiles

Generate Configuration

# Create starter configuration file
python -m profiles --init

📖 Documentation Overview

For Users

  1. Installation — Follow the installation guide for your language
  2. Configuration — Learn how to customize .profiles
  3. Usage — Launch ProFiles in web mode (default), browser mode, or headless mode

For Developers

  1. Installation — Use development mode: pip install -e ".[dev]"
  2. Code Quality — Run ruff format . and ruff check .
  3. Testing — Execute pytest for unit tests
  4. Architecture — See AGENTS.md for layered architecture details
  5. Advanced Guide — See advanced-guide.en.md for CLI automation and custom front-ends

🔧 Available Commands

Command Description
python -m profiles Launch the web UI in a PyWebView desktop shell (default)
python -m profiles --server-only Run the FastAPI server only (browser/PWA use)
python -m profiles --headless Run in CLI mode
python -m profiles --headless FILE Launch specific file (no GUI)
python -m profiles --init Generate configuration file
python -m profiles --config PATH Use specific configuration file
ProFiles Console script (same as above)
python install.py Run installation wizard

📁 Project Structure

ProFiles/
├── src/profiles/
│   ├── core/               # Domain logic: config, environment/hooks, processing, telemetry
│   ├── server/             # FastAPI backend — REST API, workflow & scan sessions
│   ├── web/                # React + TypeScript + Vite PWA frontend (src/, dist/, build.py)
│   ├── desktop/            # PyWebView desktop shell & background server lifecycle
│   ├── launch/             # Launch-time resolution: *.profiles handoff & config selection
│   ├── utils/              # Stateless utility functions
│   ├── app.py              # Application lifecycle (web desktop, server-only, headless)
│   └── config.py           # Convenience re-exports for config API
├── tests/                  # Unit tests
├── docs/                   # This documentation
├── img/                    # Logos and assets
├── install.py              # Installation wizard
├── create_shortcut.py      # Desktop shortcut generator
├── pyproject.toml          # Package configuration
└── .profiles               # User configuration (created on demand)

🌐 Language Selection

Choose your preferred language for documentation:

Topic English Français
Configuration configuration-profile.en.md configuration-profile.fr.md
Installation installation-guide.en.md installation-guide.fr.md
Advanced advanced-guide.en.md guide-avance.fr.md
Hooks hooks-guide.en.md hooks-guide.fr.md
Network network-server-guide.en.md network-server-guide.fr.md
Barcode barcode-scanner.en.md barcode-scanner.fr.md

📞 Support

For additional support:

  • Review the README.md at project root
  • Check source code documentation in src/profiles/
  • Run tests with pytest to verify installation
  • Use --help flag: python -m profiles --help

🔄 Version Information

  • Python: 3.11+
  • Interface: Web UI (React + TypeScript + Vite PWA) served by FastAPI, desktop shell via PyWebView
  • License: See LICENCE file

Last updated: 2026-11-04