A Streamlit-based web application for reviewing and managing document batches stored in AWS S3. Track document versions, compare batches, and maintain audit trails of all review decisions.
- Batch Management: Organize documents into logical batches (CI, PL document types)
- Version Comparison: Side-by-side comparison of different document versions
- S3 Integration: Seamlessly upload and retrieve documents from AWS S3
- Review Status Tracking: Track portal status, decisions, and review reasons
- Audit Trail Export: Export complete review history with timestamps and decisions
- Responsive UI: Custom CSS styling optimized for document review workflows
- Frontend: Streamlit
- Data Processing: Pandas
- Cloud Storage: AWS S3 (boto3)
- Testing: pytest
- Python 3.8+
- Python 3.8 or higher
- AWS credentials configured (access key, secret key, region)
- Streamlit secrets file configured
- Clone the repository:
git clone https://github.com/yourusername/document-review-panel.git
cd document-review-panel- Create a virtual environment:
python3 -m venv venv
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Configure AWS credentials in
.streamlit/secrets.toml:
[aws]
access_key_id = "your-access-key"
secret_access_key = "your-secret-key"
region = "eu-central-1"
bucket_name = "your-bucket"
base_prefix = "Doc_Review/"- Run the application:
streamlit run src/app.py- Select a Batch: Choose from available batches in the sidebar
- Choose Document Type: Select between CI or PL document types
- Select Version: Pick the version you want to review
- Review Decision: Mark as Accept/Reject with optional notes
- Compare Versions: View side-by-side comparisons when multiple versions exist
- Export Results: Download audit trail of all review decisions
src/
├── app.py # Main Streamlit application
├── utils.py # Utility functions (data loading, formatting, audit trails)
├── s3_utils.py # AWS S3 integration
└── styles.py # CSS styling
scripts/
└── upload_to_s3.py # Document migration script
data/
└── Manual_Review.csv # Batch review metadata
tests/
└── test_utils.py # Unit tests
pytest tests/To run the migration script for uploading documents to S3:
python scripts/upload_to_s3.pyMIT