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.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 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