Skip to content

Commit 6d9bc43

Browse files
committed
Updated
1 parent feca99b commit 6d9bc43

17 files changed

+1990
-0
lines changed

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Google Cloud Platform
2+
GCP_PROJECT_ID=tidal-osprey-463403-r3
3+
GCP_LOCATION=us
4+
GCP_PROCESSOR_ID=cc2b2b72d00219a1
5+
GOOGLE_APPLICATION_CREDENTIALS=path/to/service-account.json
6+
7+
# Database
8+
DATABASE_URL=sqlite:///./invoice_processing.db
9+
10+
# API Configuration
11+
API_HOST=0.0.0.0
12+
API_PORT=8000
13+
DEBUG=True
14+
15+
# ML Configuration
16+
MODEL_PATH=data/models/document_classifier.pkl
17+
MIN_CONFIDENCE_THRESHOLD=0.7
18+
19+
# File Upload
20+
MAX_FILE_SIZE=10485760
21+
UPLOAD_DIR=uploads

.gitignore

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
23+
# Environment
24+
.env
25+
.venv
26+
env/
27+
venv/
28+
ENV/
29+
env.bak/
30+
venv.bak/
31+
32+
# IDEs
33+
.vscode/
34+
.idea/
35+
*.swp
36+
*.swo
37+
*~
38+
39+
# Database
40+
*.db
41+
*.sqlite
42+
*.sqlite3
43+
44+
# Logs
45+
*.log
46+
logs/
47+
48+
# OS
49+
.DS_Store
50+
Thumbs.db
51+
52+
# Project specific
53+
uploads/
54+
data/models/*.pkl
55+
*.json
56+
!data/sample_documents/
57+
node_modules/
58+
59+
# Google Cloud
60+
service-account*.json
61+
gcp-key*.json
62+
invoice-processor-key.json

0 commit comments

Comments
 (0)