# ============================================================================== # ADTLAS TV ADVERTISING PLATFORM - PYTHON DEPENDENCIES # ============================================================================== # # This file contains all Python package dependencies for the Adtlas TV # advertising platform. Dependencies are organized by category for better # maintainability and understanding. # # Installation: # pip install -r requirements.txt # # For development: # pip install -r requirements/development.txt # # For production: # pip install -r requirements/production.txt # # Author: Adtlas Development Team # Version: 2.0.0 # Last Updated: 2025-01-01 # ============================================================================== # ============================================================================== # CORE DJANGO FRAMEWORK # ============================================================================== # Main Django framework and essential extensions Django==5.2.3 # Main Django web framework djangorestframework==3.16.0 # REST API framework django-cors-headers==4.7.0 # Cross-Origin Resource Sharing django-extensions==4.1 # Useful Django extensions django-session-timeout==0.1.0 # Session timeout management django-filter==25.1 # Dynamic QuerySet filtering # ============================================================================== # DATABASE DRIVERS AND ORM # ============================================================================== # Database connectivity and ORM enhancements psycopg2-binary==2.9.7 # PostgreSQL adapter for Python # mysqlclient==2.2.0 # MySQL database connector # PyMySQL==1.1.0 # Pure Python MySQL client dj-database-url==2.1.0 # Database URL parsing # django-model-utils==4.3.0 # Model utilities and mixins # ============================================================================== # AUTHENTICATION AND SECURITY # ============================================================================== # User authentication, authorization, and security django-allauth==0.54.0 # Comprehensive authentication user-agents==2.2.0 # User agent parsing cryptography==41.0.7 # Cryptographic functions PyJWT==2.8.0 # JSON Web Tokens bcrypt==4.1.2 # Password hashing django-guardian==2.4.0 # Per-object permissions django-ratelimit==4.1.0 # Rate limiting geoip2==5.1.0 # IP geolocation maxminddb>=2.7.0 # MaxMind database reader # ============================================================================== # ENVIRONMENT AND CONFIGURATION # ============================================================================== # Configuration management and environment variables python-decouple==3.8 # Configuration management python-dotenv==1.0.0 # Environment variables from .env django-environ==0.10.0 # Environment-based configuration django-constance==3.1.0 # Dynamic settings # ============================================================================== # ASYNC TASK PROCESSING # ============================================================================== # Background task processing and message queuing celery==5.3.4 # Distributed task queue redis==5.0.1 # Redis client django-celery-beat==2.8.1 # Periodic task scheduler django-celery-results==2.6.0 # Task result backend # ============================================================================== # FILE HANDLING AND MEDIA PROCESSING # ============================================================================== # Image, video, and file processing capabilities Pillow==11.2.1 # Python Imaging Library ffmpeg-python==0.2.0 # FFmpeg wrapper for video processing python-magic==0.4.27 # File type detection django-storages==1.13.0 # Custom storage backends # boto3==1.26.0 # AWS SDK for S3 storage # ============================================================================== # DATA PROCESSING AND ANALYTICS # ============================================================================== # Data analysis, machine learning, and content recognition numpy==1.24.4 # Numerical computing pandas==2.0.3 # Data analysis and manipulation scipy==1.11.4 # Scientific computing scikit-learn==1.3.2 # Machine learning library tensorflow==2.15.0 # Deep learning framework opencv-python==4.8.1.78 # Computer vision library # ============================================================================== # HTTP REQUESTS AND API INTEGRATION # ============================================================================== # HTTP client libraries and API integrations requests==2.31.0 # HTTP library urllib3==2.0.7 # HTTP client httpx==0.25.2 # Async HTTP client # ============================================================================== # DATA SERIALIZATION AND VALIDATION # ============================================================================== # Data validation, serialization, and parsing marshmallow==3.20.1 # Object serialization/deserialization lxml==4.9.3 # XML and HTML processing beautifulsoup4==4.12.2 # HTML/XML parsing openpyxl==3.1.2 # Excel file processing xlrd==2.0.1 # Excel file reading xlsxwriter==3.1.9 # Excel file writing # ============================================================================== # DATE, TIME, AND LOCALIZATION # ============================================================================== # Date/time handling and internationalization python-dateutil==2.8.2 # Date/time parsing pytz==2023.3 # Timezone definitions # django-timezone-field==5.1.0 # Timezone field for models # ============================================================================== # TEXT PROCESSING AND CONTENT # ============================================================================== # Text processing, markdown, and content management python-slugify==8.0.1 # URL slug generation markdown==3.5.1 # Markdown processing django-ckeditor==6.6.0 # Rich text editor django-taggit==4.0.0 # Tagging system # ============================================================================== # USER INTERFACE AND FORMS # ============================================================================== # Frontend components and form handling # django-crispy-forms==2.0 # Form rendering # crispy-bootstrap5==0.7 # Bootstrap 5 templates # django-widget-tweaks==1.4.12 # Form widget customization # django-bootstrap5==23.0 # Bootstrap 5 integration # django-select2==8.1.0 # Select2 widget integration django-colorfield==0.9.0 # Color picker field django-phonenumber-field==7.1.0 # Phone number field phonenumbers==8.13.0 # Phone number parsing django-countries==7.5.0 # Country field # ============================================================================== # ADMIN INTERFACE ENHANCEMENTS # ============================================================================== # Django admin customizations and improvements django-admin-interface==0.26.0 # Modern admin interface django-admin-sortable2==2.1.0 # Sortable admin django-nested-admin==4.0.0 # Nested inline admin django-import-export==3.2.0 # Data import/export django-tables2==2.5.0 # HTML tables django-mptt==0.14.0 # Modified Preorder Tree Traversal # ============================================================================== # MONITORING AND LOGGING # ============================================================================== # Application monitoring, logging, and performance tracking sentry-sdk==1.38.0 # Error tracking and monitoring django-silk==5.0.0 # Profiling and monitoring django-health-check==3.17.0 # Health check endpoints django-prometheus==2.3.0 # Prometheus metrics # ============================================================================== # CACHING AND PERFORMANCE # ============================================================================== # Caching systems and performance optimization django-cache-machine==1.2.0 # Automatic caching django-compressor==4.4.0 # CSS/JS compression django-htmlmin==0.11.0 # HTML minification # ============================================================================== # VERSIONING AND AUDIT # ============================================================================== # Model versioning and audit trails django-reversion==5.0.0 # Model versioning django-simple-history==3.4.0 # Model history tracking django-audit-log==0.7.0 # Audit logging django-activity-stream==2.0.0 # Activity streams # ============================================================================== # NOTIFICATIONS AND COMMUNICATION # ============================================================================== # Notification systems and external communication django-notifications-hq==1.8.0 # Notification framework python-telegram-bot==20.7 # Telegram bot integration # ============================================================================== # PRODUCTION SERVER AND DEPLOYMENT # ============================================================================== # WSGI server and production utilities gunicorn==21.2.0 # WSGI HTTP Server whitenoise==6.6.0 # Static file serving gevent==23.7.0 # Async networking library django-maintenance-mode==0.16.0 # Maintenance mode # ============================================================================== # API DOCUMENTATION # ============================================================================== # API documentation and schema generation drf-spectacular==0.26.5 # OpenAPI 3 schema generation # ============================================================================== # DEVELOPMENT AND TESTING # ============================================================================== # Development tools and testing frameworks django-debug-toolbar==5.2.0 # Debug toolbar factory-boy==3.3.3 # Test data generation pytest==8.4.1 # Testing framework pytest-django==4.11.1 # Django testing integration pytest-asyncio==0.21.1 # Async testing support coverage==7.9.1 # Code coverage faker==20.1.0 # Fake data generation pdoc3==0.10.0 # Documentation generation # ============================================================================== # UTILITIES AND HELPERS # ============================================================================== # General utility libraries slugify==0.0.1 # String slugification # ============================================================================== # TV ADVERTISING SPECIFIC DEPENDENCIES # ============================================================================== # Specialized libraries for TV advertising and content recognition # Note: These may require additional system dependencies # opencv-contrib-python==4.8.1.78 # Extended OpenCV modules # librosa==0.10.1 # Audio analysis # moviepy==1.0.3 # Video editing # pytesseract==0.3.10 # OCR capabilities # ============================================================================== # OPTIONAL DEPENDENCIES # ============================================================================== # Uncomment as needed for specific features # AI/ML Extensions # torch==2.1.0 # PyTorch deep learning # torchvision==0.16.0 # Computer vision for PyTorch # transformers==4.35.0 # NLP transformers # Advanced Analytics # plotly==5.17.0 # Interactive plotting # dash==2.14.0 # Web apps for analytics # jupyter==1.0.0 # Jupyter notebooks # Cloud Services # google-cloud-storage==2.10.0 # Google Cloud Storage # azure-storage-blob==12.19.0 # Azure Blob Storage # Message Queues (Alternative to Redis) # kombu==5.3.4 # Messaging library # pika==1.3.2 # RabbitMQ client # Search Engines # elasticsearch==8.11.0 # Elasticsearch client # django-elasticsearch-dsl==7.3.0 # Elasticsearch integration # ============================================================================== # DEVELOPMENT NOTES # ============================================================================== # 1. Pin all versions for reproducible builds # 2. Regularly update dependencies for security patches # 3. Test thoroughly after dependency updates # 4. Use virtual environments for isolation # 5. Consider using pip-tools for dependency management # 6. Monitor for security vulnerabilities with safety # ==============================================================================