Skip to main content

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-cli binary available in your PATH

Publishing to PyPI

To publish this package to PyPI:

  1. Install build and twine:
    pip install build twine
    
  2. Build the package:
    python -m build
    
  3. Upload to PyPI:
    twine upload dist/*
    

For test uploads, use https://test.pypi.org/legacy/ with twine's --repository testpypi option.

Metadata

Release files for codex-db-sdk 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for codex-db-sdk 0.1.0
File Interpreter ABI Platform Actions
codex_db_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for codex_db_sdk-0.1.0-py3-none-any.whl

Release files / codex_db_sdk-0.1.0-py3-none-any.whl

Download URL codex_db_sdk-0.1.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96c554b01915cde38b6a3ac2dc51e7abdeb4e3ccc4946f27d1a06051d6fe02c4
BLAKE2b-256 checksum
How to use checksums
cbbcce3ad0726a9ad9529c9a660203b9a1ba6c47fb869e8cbef2f1e727a5a793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for codex-db-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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