Open Net Worth
Open Net Worth is an open-source personal AI wealth assistant you run yourself: one ledger for your whole financial life, worked by an AI agent you control.
Upload a PDF to automatically fill a dental clinic's daily cash ledger
Translation pending
AI summary · website content
FinancePython · HTMLGitHub @h4mmerjpOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗日計表PDFから個別患者データと集計データを抽出し、Notionに保存するシステム
# Python環境を確認
scripts\check_python.bat
# 自動インストール(推奨)
scripts\install_dependencies.bat
または手動で:
python -m pip install -r requirements.txt
# デフォルトPDF(total_d.pdf)でテスト
scripts\run_test.bat
# 別のPDFファイルでテスト
scripts\run_test.bat my_report.pdf
または:
python scripts\inspect_pdf.py
python scripts\inspect_pdf.py my_report.pdf
詳細は INSTALL_GUIDE.md を参照してください。
# 依存関係をインストール
python -m pip install -r requirements.txt
# 環境変数を設定(.envファイルを作成)
NOTION_TOKEN=your_notion_integration_token
NOTION_DATABASE_ID=your_notion_database_id
python -m pip を使用install_dependencies.bat を実行詳細なトラブルシューティングは INSTALL_GUIDE.md へ
# Windows
python scripts\inspect_pdf.py [PDF_FILE]
# Mac/Linux
python scripts/inspect_pdf.py [PDF_FILE]
# すべての患者データを表示
python scripts\inspect_pdf.py --all my_report.pdf
# テキスト抽出を非表示
python scripts\inspect_pdf.py --no-text my_report.pdf
# ヘルプ表示
python scripts\inspect_pdf.py --help
# pytestをインストール
pip install pytest
# テスト実行
pytest tests/test_real_pdf.py -v
詳細は TESTING.md を参照してください。
# サーバー起動
vercel dev
# テスト
curl -X POST http://localhost:3000/api/parse_daily_report \
-F "file=@total_d.pdf"
{
"success": true,
"summary": {
"date": "2025-05-31",
"total_count": 55,
"total_amount": 150000,
"zenkai_sagaku": -700,
...
},
"patients": [
{
"number": 1,
"patient_id": "No.11378",
"name": "松本 正和",
"points": 2174,
"burden_amount": 6520,
"zenkai_sagaku": 0,
...
}
],
"notion_page_id": "xxxx-xxxx-xxxx-xxxx"
}
詳細は API.md を参照してください。
# Vercelにデプロイ
vercel --prod
# 環境変数を設定
vercel env add NOTION_TOKEN
vercel env add NOTION_DATABASE_ID
nikkeihyou-python/
├── api/
│ ├── parse_daily_report.py # メインAPIハンドラ
│ ├── update_verification.py # 照合結果更新API
│ └── utils/
│ └── notion_uploader.py # Notion API連携
├── public/
│ └── index.html # フロントエンド
├── scripts/
│ ├── inspect_pdf.py # テスト・デバッグ用
│ ├── run_test.bat # テスト実行(Windows)
│ ├── run_test.sh # テスト実行(Mac/Linux)
│ ├── install_dependencies.bat # 依存関係インストール(Windows)
│ ├── install_dependencies.sh # 依存関係インストール(Mac/Linux)
│ └── check_python.bat # 環境確認(Windows)
├── tests/
│ ├── test_parse_pdf.py # ユニットテスト
│ ├── test_real_pdf.py # 統合テスト
│ ├── test_table_extraction.py # テーブル抽出テスト
│ └── debug/ # デバッグ用スクリプト
│ ├── test_notion_connection.py
│ ├── test_notion_save.py
│ └── ... (その他デバッグスクリプト)
├── docs/
│ ├── INSTALL_GUIDE.md # インストールガイド
│ ├── TESTING.md # テスト詳細
│ ├── API.md # API仕様
│ ├── CHANGELOG.md # 変更履歴
│ └── analysis_report.md # 解析レポート
├── test_server.py # ローカル開発サーバー
├── requirements.txt # Python依存関係
└── README.md # このファイル
# デフォルトPDFでテスト
python scripts\inspect_pdf.py
# 指定したPDFでテスト
python scripts\inspect_pdf.py path/to/report.pdf
# すべての患者データを表示
python scripts\inspect_pdf.py --all report.pdf
# Windows
scripts\run_test.bat [PDF_FILE]
# Mac/Linux
scripts/run_test.sh [PDF_FILE]
const formData = new FormData();
formData.append('file', pdfFile);
const response = await fetch('/api/parse_daily_report', {
method: 'POST',
body: formData
});
const data = await response.json();
console.log(data.summary); // 集計データ
console.log(data.patients); // 個別患者データ
extract_table()使用)詳細は CHANGELOG.md を参照してください。
# check_python.bat で環境を確認
scripts\check_python.bat
# install_dependencies.bat で自動インストール
scripts\install_dependencies.bat
# 最も簡単な方法
run_test.bat
詳細は TESTING.md を参照
pip の代わりに python -m pip を使用してください。
詳細は INSTALL_GUIDE.md を参照
Private
h4mmerjp