{"id":16939092,"url":"https://github.com/vnpy/vnpy_postgresql","last_synced_at":"2025-04-11T19:20:55.139Z","repository":{"id":43016353,"uuid":"403225700","full_name":"vnpy/vnpy_postgresql","owner":"vnpy","description":"VeighNa框架的PostgreSQL数据库接口","archived":false,"fork":false,"pushed_at":"2024-03-22T06:42:17.000Z","size":23,"stargazers_count":10,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T15:13:32.257Z","etag":null,"topics":["database","postgresql","veighna","vnpy"],"latest_commit_sha":null,"homepage":"https://www.vnpy.com","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/vnpy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-09-05T05:42:24.000Z","updated_at":"2025-01-02T06:37:31.000Z","dependencies_parsed_at":"2025-02-20T00:32:45.881Z","dependency_job_id":"6e44166a-9b39-45dc-b470-f39486aff148","html_url":"https://github.com/vnpy/vnpy_postgresql","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnpy","download_url":"https://codeload.github.com/vnpy/vnpy_postgresql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465348,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","postgresql","veighna","vnpy"],"created_at":"2024-10-13T21:03:38.443Z","updated_at":"2025-04-11T19:20:55.115Z","avatar_url":"https://github.com/vnpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeighNa框架的PostgreSQL数据库接口\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src =\"https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"https://img.shields.io/badge/version-1.0.3-blueviolet.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/platform-windows|linux|macos-yellow.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/python-3.10|3.11|3.12-blue.svg\" /\u003e\n\u003c/p\u003e\n\n## 说明\n\n基于peewee开发的PostgreSQL数据库接口。\n\n## 使用\n\n### 全局配置\n\n在VeighNa中使用PostgreSQL时，需要在全局配置中填写以下字段信息：\n\n|名称|含义|必填|举例|\n|---------|----|---|---|\n|database.name|名称|是|postgresql|\n|database.host|地址|是|localhost|\n|database.port|端口|是|5432|\n|database.database|实例|是|vnpy|\n|database.user|用户名|是|postgres|\n|database.password|密码|是|123456|\n\n请注意，VeighNa不会主动为关系型数据库创建数据库，所以请确保你所填的database.database字段对应的数据库已经创建好了。若未创建数据库，请手动连上数据库并创建。\n\n### 创建实例\n\nVeighNa不会主动为PostgreSQL数据库创建实例，所以使用前请确保database.database字段中填写的的数据库实例已经创建了。\n\n若实例尚未创建，可以使用【pgAdmin 4】客户端的【Create Database】进行操作。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnpy%2Fvnpy_postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_postgresql/lists"}