Skip to main content

Session-based conversation log CLI (JSONL).

Project description

ALIGNMENT MEMORY (CLI)

가벼운 세션 기반 대화 로그 저장/검색 툴입니다. 각 세션은 12자리 hex ID로 생성되며(JSONL 라인 저장), 검색/요약/내보내기 등을 지원합니다.

ALIGNBEING — alignment_memory (A.B 모듈 / Class1)

세션 기반 정렬 기억(Alignment Memory) 컴포넌트. Windows/PowerShell 1st 설계, 선택적 모듈 임포트 패턴, pre-commit/ruff/format/mypy/pytest 완비.

Quickstart

0) 요구사항

  • Python 3.10–3.12
  • Windows(권장) 또는 Ubuntu
  • PowerShell(로컬 작업 시)

1) 설치 (로컬 개발)

py -3.11 -m pip install -U pip
py -3.11 -m pip install -e .
## Install

```bash
pip install -U alignment_memory
# 실행 명령: alm
alm --help

Class1.filter_events(..., tz='local'|'utc'|'+09:00') 지원

AB_TZ_OFFSET="+09:00" 환경변수로 기본 로컬 오프셋 오버라이드 가능

<!-- BEGIN: 2025-08-17 Sales-Ready v0.1.53 -->

## 2025-08-17 — Sales-Ready 준비 (v0.1.53)

**프로젝트:** ALIGNBEING / `alignment_memory` (A.B 모듈)
**상태:** pre-commit(ruff/format/mypy) + pytest 통과, CLI 안정화, 선택적 모듈 임포트 적용
**플랫폼:** Windows/PowerShell 우선

### Quickstart (PowerShell)

```powershell
# 개발 설치
python -m pip install -U pip
python -m pip install -e .

# (선택) 라이선스 키: 풀 모드
setx AB_LICENSE_KEY "YOUR-LICENSE-KEY"   # 새 PowerShell에서 반영

# 동작 확인
python -m alignment_memory.cli smoke

# 세션 예시
python -m alignment_memory.cli init
python -m alignment_memory.cli add  --sid YYYYMMDD-001 --role user --text "hello"
python -m alignment_memory.cli list --sid YYYYMMDD-001 --tail 10
python -m alignment_memory.cli export --sid YYYYMMDD-001 --out YYYYMMDD-001.csv

<!-- BEGIN: 2025-08-17 Sales-Ready v0.1.53 -->

## 2025-08-17 — Sales-Ready 준비 (v0.1.53)

**프로젝트:** ALIGNBEING / `alignment_memory` (A.B 모듈)
**상태:** pre-commit(ruff/format/mypy) + pytest 통과, CLI 안정화, 선택적 모듈 임포트 적용
**플랫폼:** Windows/PowerShell 우선

### Quickstart (PowerShell)

```powershell
python -m pip install -U pip
python -m pip install -e .

# (선택) 라이선스 키: 풀 모드
setx AB_LICENSE_KEY "YOUR-LICENSE-KEY"   # 새 PowerShell에서 반영

# 동작 확인
python -m alignment_memory.cli smoke

# 세션 예시
python -m alignment_memory.cli init
python -m alignment_memory.cli add  --sid YYYYMMDD-001 --role user --text "hello"
python -m alignment_memory.cli list --sid YYYYMMDD-001 --tail 10
python -m alignment_memory.cli export --sid YYYYMMDD-001 --out YYYYMMDD-001.csv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alignment_memory-0.1.53.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alignment_memory-0.1.53-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file alignment_memory-0.1.53.tar.gz.

File metadata

  • Download URL: alignment_memory-0.1.53.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for alignment_memory-0.1.53.tar.gz
Algorithm Hash digest
SHA256 a858d9380562cc211a6c5536a75f46404255f1f9372992f51b30e26f61c70174
MD5 e3d4fe8486a10fc99e4950f74f09d163
BLAKE2b-256 fc73cc91f9e099738f0fc1b7cf04f55fe0b008b81a231af5c735c16f8ecc3066

See more details on using hashes here.

Provenance

The following attestation bundles were made for alignment_memory-0.1.53.tar.gz:

Publisher: publish.yml on umumhahaha-sketch/ALIGNBEING

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file alignment_memory-0.1.53-py3-none-any.whl.

File metadata

File hashes

Hashes for alignment_memory-0.1.53-py3-none-any.whl
Algorithm Hash digest
SHA256 e7381c8f06c1fa1502e9d614e3586477c76d185ed912ad9f06919765d4d9a0c0
MD5 68981713e408d9557321e977d61a0482
BLAKE2b-256 f7118202fc915061825ec1753ab23f66e36029fb4ddff6d962ba2089bbdf0732

See more details on using hashes here.

Provenance

The following attestation bundles were made for alignment_memory-0.1.53-py3-none-any.whl:

Publisher: publish.yml on umumhahaha-sketch/ALIGNBEING

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page