Skip to content

Latest commit

 

History

History
64 lines (54 loc) · 1.6 KB

File metadata and controls

64 lines (54 loc) · 1.6 KB

Publish bub-semantic-memory to PyPI

📍 Location

~/Documents/playground/bub/packages/semantic-memory/

📦 What's Included

  • bub_semantic_memory/ - 7 modules (652 lines)
  • tests/ - 43 tests
  • README.md - Documentation
  • pyproject.toml - PyPI metadata

🚀 Quick Publish

Step 1: Create GitHub Repo

cd ~/Documents/playground/bub
git add packages/semantic-memory
git commit -m "feat: add semantic-memory plugin for distribution"
git push

# Or use standalone repo at https://github.com/yibie/bub-semantic-memory

Step 2: Build & Publish to PyPI

cd ~/Documents/playground/bub/packages/semantic-memory
uv build
uv publish

Step 3: Submit to hub.bub.build

Fork https://github.com/bubbuild/buildscape Add plugins/semantic-memory.json:

{
  "name": "semantic-memory",
  "title": "Semantic Memory",
  "description": "Extract and retain semantic entities and relations from conversations",
  "author": "Bub Community",
  "license": "Apache-2.0",
  "repository": "https://github.com/yibie/bub-semantic-memory",
  "pypi": "bub-semantic-memory",
  "documentation": "https://github.com/yibie/bub-semantic-memory#readme",
  "categories": ["memory", "context"]
}

📊 Package Info

  • PyPI Name: bub-semantic-memory
  • Entry Point: bub_semantic_memory.hook_impl:SemanticMemoryPlugin
  • Version: 0.1.0
  • Python: 3.12+
  • License: Apache 2.0

✅ Verification

  • Code: 652 lines, 7 modules
  • Tests: 43 passing
  • Documentation: README.md
  • pyproject.toml: Configured for PyPI
  • Entry point: bub_semantic_memory

Ready to publish! 🎉