Skip to main content

VeighNa框架的LevelDB数据库接口

说明

基于plyvel开发的LevelDB数据库接口。

对于不同操作系统需要安装不通版本的plyvel。对于linux与windows会自动安装适配的plyvel与plyvel-win32。

对于macox操作系统,需要手动下载源码进行安装,并在安装前将源码setup.py中

if platform.system() == 'Darwin':
    extra_compile_args += ['-stdlib=libc++']

修改为

if platform.system() == 'Darwin':
    extra_compile_args = ['-Wall', '-g', '-x', 'c++', '-std=c++11', '-fno-rtti']

再运行

python -m pip install .

进行手动安装。方法参考自[https://github.com/wbolster/plyvel/issues/114]。

使用

在VeighNa中使用LevelDB时,需要在全局配置中填写以下字段信息:

名称 含义 必填 举例
database.name 名称 是 leveldb
database.database 实例 是 vnpy_data

Metadata

Release files for vnpy-leveldb 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vnpy-leveldb 1.0.3
File Size Uploaded Provenance Actions
vnpy_leveldb-1.0.3.tar.gz 4.9 kB Without provenance Details for vnpy_leveldb-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vnpy-leveldb 1.0.3
File Interpreter ABI Platform Actions
vnpy_leveldb-1.0.3-py3-none-any.whl Python 3 none any Details for vnpy_leveldb-1.0.3-py3-none-any.whl

Total release size: 10.6 kB

Release files / vnpy_leveldb-1.0.3.tar.gz

Download URL vnpy_leveldb-1.0.3.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
476ac1a42b336cc72def06e3f8d052de73bd9af970f7e0840c9a3ccfa2026310
BLAKE2b-256 checksum
How to use checksums
2b7fa89c0988cf775e26c1399ec4bcb748413c4c7dedcf8ef4bd4785373e9ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / vnpy_leveldb-1.0.3-py3-none-any.whl

Download URL vnpy_leveldb-1.0.3-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a185d1728abcc6f6bd77fd34effde59a5d0cf02c64452cbe6db2e76cbd5b37c4
BLAKE2b-256 checksum
How to use checksums
18d930f8e8e84297969771e32813a114ecb01c9f25d0855e7343d26a37f82fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Security for vnpy-leveldb 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page