python抽取数据库元数据_cdb-容器数据库(cdb)元数据生成工具。-Vanessa Sochat Getting Started Usage Name Command State Ports ...

cdb 是一个用 Python 编写的工具,用于生成无操作系统的数据容器,该容器优化了数据提供,适用于查询和分析。通过 Docker 容器,可以方便地生成、交互和管理数据容器,而无需操作系统。使用 cdb,可以通过简单的 Dockerfile 实现多阶段构建,包括生成 Go 语言模板、编译二进制文件和将数据与入口点添加到空白容器中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

作者:Vanessa Sochat

### 作者邮箱:vsochat@stanford.edu

### 首页:https://github.com/vsoch/cdb

### 文档:None

### 下载链接

# Container Database (cdb)

This is the Python support tool for containerdb to support generation of data containers. Python is more friendly to generating arbitrary data structures, and is popular among the data science community, so I chose it for metadata generation instead of using GoLang.

Have your data and use it too!

For documentation and full examples see vsoch.github.io/cdb. These examples are also available in the examples folder.

Getting Started

What is a Data Container?

A data container is generally an operating-system-less container that is optimized to provide data, either for query/search, or binding for analysis. The qualities of the data container should be:

It can be mounted to containers with operating systems to run analysis

It can be interacted with on it's own to search metadata about the data

It should not have an operating system.

How do we generate one?

The generation is fairly simple! It comes down to a three step multistage build:

Step 1 We install cdb to generate a GoLang template for an in-memory database for our data)

Step 2 We compile the binary into an entrypoint

Step 3 We add the data and the binary entrypoint to a scratch container (no operating system).

And then we interact with it! This tutorial will show you the basic steps to perform the multistage-build using a simple Dockerfile along with the data fol

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值