Codex DB Python SDK
Project description
CodexDB Python SDK
Python SDK for CodexDB. Simple wrapper for codex-cli as an external process.
Installation
Install via pip (from local directory):
pip install .
Or, for development:
pip install -e .
Usage Example
from codex_sdk import CodexClient
client = CodexClient(file='test.db')
client.set('user:1', {'name': 'Alice', 'age': 30})
print(client.get('user:1'))
print(client.keys())
client.delete('user:1')
Requirements
- Python 3.7+
codex-clibinary available in your PATH
Publishing to PyPI
To publish this package to PyPI:
- Install build and twine:
pip install build twine
- Build the package:
python -m build
- Upload to PyPI:
twine upload dist/*
For test uploads, use https://test.pypi.org/legacy/ with twine's --repository testpypi option.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codex_db_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: codex_db_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96c554b01915cde38b6a3ac2dc51e7abdeb4e3ccc4946f27d1a06051d6fe02c4
|
|
| MD5 |
0b53b1b2ad91fc425a9a60b195ca6b41
|
|
| BLAKE2b-256 |
cbbcce3ad0726a9ad9529c9a660203b9a1ba6c47fb869e8cbef2f1e727a5a793
|