{"id":25764405,"url":"https://github.com/oldentomato/log2db","last_synced_at":"2026-05-06T00:04:06.787Z","repository":{"id":149280579,"uuid":"583203527","full_name":"Oldentomato/Log2DB","owner":"Oldentomato","description":"DeepLearning Log Send to DB Module","archived":false,"fork":false,"pushed_at":"2023-01-04T10:51:21.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-21T02:38:46.165Z","etag":null,"topics":["database","logging","pymongo","pypi-package"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oldentomato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-29T04:22:56.000Z","updated_at":"2023-01-04T05:05:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8768e91-c66f-415b-839a-3543d8959ca1","html_url":"https://github.com/Oldentomato/Log2DB","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Oldentomato/Log2DB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2FLog2DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2FLog2DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2FLog2DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2FLog2DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oldentomato","download_url":"https://codeload.github.com/Oldentomato/Log2DB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oldentomato%2FLog2DB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","logging","pymongo","pypi-package"],"created_at":"2025-02-26T21:17:57.689Z","updated_at":"2026-05-06T00:04:06.781Z","avatar_url":"https://github.com/Oldentomato.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log2DB \n[![PyPI Latest Release](https://img.shields.io/pypi/v/log2db.svg)](https://pypi.org/project/log2db/)\n![Package Format](https://img.shields.io/pypi/format/log2db.svg)\n![Python Version](https://img.shields.io/pypi/pyversions/log2db.svg)\n[![Package Status](https://img.shields.io/pypi/status/log2db.svg)](https://pypi.org/project/log2db/)\n[![GitHub](https://img.shields.io/github/license/oldentomato/Log2DB)](https://github.com/Oldentomato/Log2DB/blob/main/LICENSE) \n[![Build Version](https://img.shields.io/github/v/release/oldentomato/Log2DB)](https://github.com/Oldentomato/Log2DB/releases)\n\n\u003e DeepLearning Log Send to DB Module  \n\n## Introdution\nLog2DB is a tool that uploads, manages, and visualizes simple deep learning logs to your own DB.  \n\n## How To Install \n- Download manually:  \nhttps://github.com/Oldentomato/Log2DB/releases  \n\nDownload PyPI:\n```sh\npip install log2db\n```\n\n## How To Use \n- Basic preparation\n```python\nimport log2db as lgdb\n\n#Set the DB Server \ndb = lgdb.SetMongoDB(db_url = 'db_url',\n                    db_document_name='doc',\n                    db_collection_name='coll',\n                    port=12345)\ncoll = db.Connect_DB()\nsendlog = lgdb.SendLog(coll)\n```\n- example\n```python\nsendlog.on_train_start(\n    model_name = 'pytorch_test',\n    experiment_count = 3,\n    datas_count = len(x_data),\n    epoch = 100,\n    batch_size = 8,\n    learning_rate = 0.01,\n    criterion = 'CrossEntropyLoss',\n    optimizer = 'SGD(momentum=0.5)',\n    model_shape = model,\n    LR_scheduler = 'None',\n    etc = 'None'\n)\n\n...\n\nsendlog.on_epoch_end(epoch=epoch, loss=loss, val_loss=val_loss, acc=acc, val_acc=val_acc)\n\n...\n\nsendmoel.on_train_end(save_graph_url=True)\n```\n\n## Dependency\n- **Pytorch** https://github.com/pytorch/pytorch\n- **Pandas** https://github.com/pandas-dev/pandas\n- **Matplotlib** https://github.com/matplotlib/matplotlib\n- **pymongo** https://github.com/mongodb/mongo-python-driver\n- **scikit-learn** https://github.com/scikit-learn/scikit-learn  \n\n\n## License\n[MIT](LICENSE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldentomato%2Flog2db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foldentomato%2Flog2db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foldentomato%2Flog2db/lists"}