Skip to content

Graph-Native Infrastructure for Context and Accountable AI Systems

feat: Update package metadata for PyPI publishing

KaifAhmad1a144c67177e5
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 00000000..b99350ff
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,42 @@
+name: Publish to PyPI
+
+on:
+ release:
+ types: [published]
+ workflow_dispatch: # Allows manual triggering
+
+jobs:
+ publish:
+ name: Publish to PyPI
+ runs-on: ubuntu-latest
+ environment:
+ name: pypi
+ url: https://pypi.org/project/semantica/${{ github.event.release.tag_name }}/
+
+ permissions:
+ id-token: write # Required for OIDC
+ contents: read # Required for checkout
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: "3.11"
+
+ - name: Install build tools
+ run: |
+ python -m pip install --upgrade pip
+ pip install build twine
+
+ - name: Build package
+ run: python -m build
+
+ - name: Publish to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
+ with:
+ packages-dir: dist/
+ print-hash: true
+
diff --git a/README.md b/README.md
index a02d00ca..6b557abc 100644
--- a/README.md
+++ b/README.md
@@ -118,45 +118,51 @@ Semantica fills this gap with a **complete semantic intelligence framework**:
- **Python**: 3.8 or higher (3.9+ recommended)
- **pip**: Latest version
-#### Basic Installation
+#### Install from Source (Current Method)
-```bash
-# Install Semantica with core dependencies
-pip install semantica
-```
-
-#### Complete Installation (Recommended)
+Since Semantica is currently in development, install from the local source:
```bash
-# Install with all optional dependencies
-pip install "semantica[all]"
-```
+# Navigate to the semantica directory
+cd path/to/semantica
-#### Custom Installation
+# Install in editable mode with core dependencies
+pip install -e .
-```bash
-# Install specific extras as needed
-pip install "semantica[llm-openai]" # LLM providers
-pip install "semantica[graph-neo4j]" # Graph databases
-pip install "semantica[vector-pinecone]" # Vector stores
-pip install "semantica[dev]" # Development tools
-pip install "semantica[gpu]" # GPU support
+# Or install with all optional dependencies
+pip install -e ".[all]"
```
#### Development Installation
```bash
+# Clone the repository (if not already cloned)
git clone https://github.com/semantica-dev/semantica.git
cd semantica
+
+# Install in editable mode with dev dependencies
pip install -e ".[dev]"
```
+#### Custom Installation
+
+```bash
+# Install specific extras as needed
+pip install -e ".[llm-openai]" # LLM providers
+pip install -e ".[graph-neo4j]" # Graph databases
+pip install -e ".[vector-pinecone]" # Vector stores
+pip install -e ".[dev]" # Development tools
+pip install -e ".[gpu]" # GPU support
+```
+
#### Verify Installation
```bash
python -c "import semantica; print(semantica.__version__)"
```
+> **Note:** Once published to PyPI, you'll be able to install with `pip install semantica`
+
---
## ✨ Core Capabilities
diff --git a/pyproject.toml b/pyproject.toml
index 93715a5c..44c24b5e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,10 +9,10 @@ description = "🧠 Semantica - An Open Source Framework for building Semantic L
readme = "README.md"
license = {text = "MIT"}
authors = [
- {name = "Semantica Contributors", email = "[email protected]"}
+ {name = "Hawksight AI", email = "[email protected]"}
]
maintainers = [
- {name = "Semantica Contributors", email = "[email protected]"}
+ {name = "Hawksight AI", email = "[email protected]"}
]
keywords = [
"semantic-layer", "knowledge-engineering", "nlp", "knowledge-graph",