{"id":16939211,"url":"https://github.com/vnpy/vnpy_leveldb","last_synced_at":"2025-08-19T08:32:54.039Z","repository":{"id":43014670,"uuid":"381876614","full_name":"vnpy/vnpy_leveldb","owner":"vnpy","description":"VeighNa框架的LevelDB数据库接口","archived":false,"fork":false,"pushed_at":"2023-04-23T00:31:50.000Z","size":36,"stargazers_count":12,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-31T06:34:44.676Z","etag":null,"topics":["database","leveldb","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}},"created_at":"2021-07-01T01:34:38.000Z","updated_at":"2024-10-09T15:22:55.000Z","dependencies_parsed_at":"2022-08-27T11:22:17.462Z","dependency_job_id":null,"html_url":"https://github.com/vnpy/vnpy_leveldb","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_leveldb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_leveldb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_leveldb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnpy%2Fvnpy_leveldb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnpy","download_url":"https://codeload.github.com/vnpy/vnpy_leveldb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230340682,"owners_count":18211246,"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","leveldb","veighna","vnpy"],"created_at":"2024-10-13T21:04:00.846Z","updated_at":"2024-12-18T21:20:23.933Z","avatar_url":"https://github.com/vnpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeighNa框架的LevelDB数据库接口\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.2-blueviolet.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/platform-windows|linux|macox-yellow.svg\"/\u003e\n    \u003cimg src =\"https://img.shields.io/badge/python-3.7|3.8|3.9|3.10-blue.svg\" /\u003e\n\u003c/p\u003e\n\n## 说明\n\n基于plyvel开发的LevelDB数据库接口。\n\n对于不同操作系统需要安装不通版本的plyvel。对于linux与windows会自动安装适配的plyvel与plyvel-win32。\n\n对于macox操作系统，需要手动下载源码进行安装，并在安装前将源码setup.py中\n\n```python\nif platform.system() == 'Darwin':\n    extra_compile_args += ['-stdlib=libc++']\n```\n\n修改为\n\n```python\nif platform.system() == 'Darwin':\n    extra_compile_args = ['-Wall', '-g', '-x', 'c++', '-std=c++11', '-fno-rtti']\n```\n\n再运行\n\n```bash\npython -m pip install .\n```\n\n进行手动安装。方法参考自[https://github.com/wbolster/plyvel/issues/114]。\n\n## 使用\n\n在VeighNa中使用LevelDB时，需要在全局配置中填写以下字段信息：\n\n|名称|含义|必填|举例|\n|---------|----|---|---|\n|database.name|名称|是|leveldb|\n|database.database|实例|是|vnpy_data|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_leveldb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnpy%2Fvnpy_leveldb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnpy%2Fvnpy_leveldb/lists"}