Skip to main content

PDF text extraction and spatial grouping tool - Vultus Serpentis demo application

Project description

PDF Text Organizer

A demonstration application showcasing the Vultus Serpentis framework for building robust Tkinter applications.

Features

  • PDF Text Extraction - Extract text with bounding box coordinates
  • Spatial Grouping - Automatically group text by proximity
  • Visual Preview - See text layout on canvas
  • Undo/Redo - Full undo/redo support for all operations
  • Export - Save grouped text to JSON or CSV
  • Modern UI - TTKBootstrap themes for a modern look

Installation

# Install dependencies
pip install -r requirements.txt

# Install Vultus Serpentis (from parent directory)
cd ../Main
pip install -e .
cd ../pdf_text_organizer

# Install PDF Text Organizer
pip install -e .

Usage

# Run the application
pdf-organizer

# Or run directly
python -m pdf_text_organizer.app

Framework Integration

This application demonstrates all modules of the Vultus Serpentis framework:

  • Observable - Reactive data model with property notifications
  • Event Bus - Decoupled component communication
  • Actions - Centralized UI command logic with state management
  • Validation - Input validation with visual feedback
  • Commands - Undo/redo functionality for all operations

Development

# Run tests
pytest tests/

# Run with coverage
pytest tests/ --cov=pdf_text_organizer --cov-report=html

# Type checking
mypy pdf_text_organizer/

# Linting
pylint pdf_text_organizer/

License

MIT License - See LICENSE file for details

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

pdf-text-organizer-1.0.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_text_organizer-1.0.0-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file pdf-text-organizer-1.0.0.tar.gz.

File metadata

  • Download URL: pdf-text-organizer-1.0.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for pdf-text-organizer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b1665d10e1d2d4adc52b25871afe5649dc77c18c37aac8707240cbf24b18c890
MD5 e30cca505eb0c3368355c7cb1e973566
BLAKE2b-256 5513237a0c176d2df61d98077d0e2184d6f7312f92b67d759866e395edf58848

See more details on using hashes here.

File details

Details for the file pdf_text_organizer-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf_text_organizer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7005e4934a0e631618aa1501f7953dcbb81714296d40e35c30944990b634f7d
MD5 d230e4346aa57035a3e49ec02c6197fe
BLAKE2b-256 13160f33588405b5aa89933903b3a7140d002bcf5c23c2d8eeb2fd9db61d3ac5

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