Spaces:
Running
Running
| # Overview | |
| This is a Persian-language Customer Management System built with Streamlit. The application provides an interactive dashboard for analyzing customer data through visualizations and data management tools. It features RTL (right-to-left) support with Vazir font for proper Persian text rendering and includes data upload capabilities for CSV files with integrated plotting functionality using Plotly. | |
| # User Preferences | |
| Preferred communication style: Simple, everyday language. | |
| # System Architecture | |
| ## Frontend Architecture | |
| - **Framework**: Streamlit-based web application with Python backend | |
| - **UI Design**: Single-page application with wide layout configuration | |
| - **Styling**: Custom CSS with RTL support and Persian Vazir font integration | |
| - **Theme**: Professional blue gradient header with responsive design elements | |
| ## Component Structure | |
| - **Page Configuration**: Centralized page settings with custom title and icon | |
| - **Layout System**: Wide layout with structured sections including main header and upload areas | |
| - **Styling System**: Inline CSS with Google Fonts CDN integration for Vazir font | |
| - **Visual Effects**: Gradient backgrounds, hover effects, and shadow styling | |
| ## Data Processing | |
| - **Data Handling**: Pandas integration for CSV data manipulation | |
| - **Visualization Engine**: Plotly Express and Plotly Graph Objects for interactive charts | |
| - **File Processing**: BytesIO for in-memory file operations | |
| - **Numerical Computing**: NumPy for advanced data calculations | |
| ## UI Components | |
| - **Upload Interface**: Styled file upload section with hover effects | |
| - **Dashboard Elements**: Professional styling with consistent color scheme | |
| - **Interactive Elements**: Hover transitions and visual feedback | |
| - **Responsive Design**: Adaptive layout with proper spacing and margins | |
| # External Dependencies | |
| ## Core Libraries | |
| - **streamlit**: Web application framework and UI components | |
| - **pandas**: Data manipulation and CSV file processing | |
| - **plotly**: Interactive visualization library (both express and graph_objects modules) | |
| - **numpy**: Numerical computing and data analysis | |
| ## External Resources | |
| - **Vazir Font CDN**: Persian font from cdn.jsdelivr.net for proper RTL text rendering | |
| - **Google Fonts API**: Font loading infrastructure for consistent typography | |
| ## File System Integration | |
| - **CSV Processing**: Built-in file upload and parsing capabilities | |
| - **In-Memory Operations**: BytesIO for efficient file handling without disk storage |