# ContextChain



 <!-- Update with CI badge if applicable -->
**ContextChain** is an open-source, pipeline-based execution framework designed to orchestrate AI and full-stack workflows. It enables developers to define, manage, and execute complex task chains with support for various task types (e.g., API calls, local processing, LLM tasks) in a structured and versioned manner. Built with Python, it leverages MongoDB for persistence and provides a command-line interface (CLI) for easy interaction.
## Features
- **Pipeline Management**: Define and execute workflows as pipelines with multiple tasks.
- **Task Types**: Supports GET, POST, PUT, LLM, and LOCAL task types with configurable inputs and outputs.
- **Versioning**: Track and rollback schema versions using MongoDB.
- **Extensibility**: Easily extend with custom task endpoints and configurations.
- **CLI Interface**: Manage pipelines interactively or via scripts.
- **Validation**: Ensures schema integrity with built-in validators.
## Installation
### Via PyPI
ContextChain is available on PyPI. Install it with pip:
```bash
pip install contextchain
Raw data
{
"_id": null,
"home_page": null,
"name": "contextchain",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Nihal Nazeer <Nhaal160@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ef/9a/14edb6a4fdc4c56ac4a8e4e6b4bd2bca6e50bafd0b2931cc3c4def4f7df8/contextchain-0.5.5.tar.gz",
"platform": null,
"description": "# ContextChain\n\n\n\n\n <!-- Update with CI badge if applicable -->\n\n**ContextChain** is an open-source, pipeline-based execution framework designed to orchestrate AI and full-stack workflows. It enables developers to define, manage, and execute complex task chains with support for various task types (e.g., API calls, local processing, LLM tasks) in a structured and versioned manner. Built with Python, it leverages MongoDB for persistence and provides a command-line interface (CLI) for easy interaction.\n\n## Features\n- **Pipeline Management**: Define and execute workflows as pipelines with multiple tasks.\n- **Task Types**: Supports GET, POST, PUT, LLM, and LOCAL task types with configurable inputs and outputs.\n- **Versioning**: Track and rollback schema versions using MongoDB.\n- **Extensibility**: Easily extend with custom task endpoints and configurations.\n- **CLI Interface**: Manage pipelines interactively or via scripts.\n- **Validation**: Ensures schema integrity with built-in validators.\n\n## Installation\n\n### Via PyPI\nContextChain is available on PyPI. Install it with pip:\n\n```bash\npip install contextchain\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A pipeline execution framework with MongoDB integration",
"version": "0.5.5",
"project_urls": {
"Bug Tracker": "https://github.com/nihalnazeer/contextchain/issues",
"Homepage": "https://github.com/nihalnazeer/contextchain"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1f3c111bca4e36c609e27693e526e160f7e8c902c52e7ec28bb9fd2f8dfbeab2",
"md5": "d51e10d985959484eda1e0b4df375785",
"sha256": "de0bee6c6e68d80dcdd5c93a28f96f08bdbd5d92078d547e6f703ce0f7211ac3"
},
"downloads": -1,
"filename": "contextchain-0.5.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d51e10d985959484eda1e0b4df375785",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 47753,
"upload_time": "2025-07-16T01:02:55",
"upload_time_iso_8601": "2025-07-16T01:02:55.441087Z",
"url": "https://files.pythonhosted.org/packages/1f/3c/111bca4e36c609e27693e526e160f7e8c902c52e7ec28bb9fd2f8dfbeab2/contextchain-0.5.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ef9a14edb6a4fdc4c56ac4a8e4e6b4bd2bca6e50bafd0b2931cc3c4def4f7df8",
"md5": "b4e01dc073900afe772fde33b88da4c2",
"sha256": "5497b6fa31cd7d403111cb7456bbf3e2ef468d3474b184f6e27ce28a599d978f"
},
"downloads": -1,
"filename": "contextchain-0.5.5.tar.gz",
"has_sig": false,
"md5_digest": "b4e01dc073900afe772fde33b88da4c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 37840,
"upload_time": "2025-07-16T01:02:56",
"upload_time_iso_8601": "2025-07-16T01:02:56.490786Z",
"url": "https://files.pythonhosted.org/packages/ef/9a/14edb6a4fdc4c56ac4a8e4e6b4bd2bca6e50bafd0b2931cc3c4def4f7df8/contextchain-0.5.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-16 01:02:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nihalnazeer",
"github_project": "contextchain",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "annotated-types",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "anyio",
"specs": [
[
"==",
"4.9.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2025.6.15"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.4.2"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.8"
]
]
},
{
"name": "dnspython",
"specs": [
[
"==",
"2.7.0"
]
]
},
{
"name": "exceptiongroup",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "fastapi",
"specs": [
[
"==",
"0.116.0"
]
]
},
{
"name": "h11",
"specs": [
[
"==",
"0.16.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.10"
]
]
},
{
"name": "psycopg2-binary",
"specs": [
[
"==",
"2.9.10"
]
]
},
{
"name": "pydantic",
"specs": [
[
"==",
"2.11.7"
]
]
},
{
"name": "pydantic_core",
"specs": [
[
"==",
"2.33.2"
]
]
},
{
"name": "pymongo",
"specs": [
[
"==",
"4.13.2"
]
]
},
{
"name": "PyMySQL",
"specs": [
[
"==",
"1.1.1"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0.2"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.4"
]
]
},
{
"name": "sniffio",
"specs": [
[
"==",
"1.3.1"
]
]
},
{
"name": "starlette",
"specs": [
[
"==",
"0.46.2"
]
]
},
{
"name": "typing-inspection",
"specs": [
[
"==",
"0.4.1"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.14.1"
]
]
},
{
"name": "urllib3",
"specs": [
[
"<",
"2"
]
]
},
{
"name": "uvicorn",
"specs": [
[
"==",
"0.35.0"
]
]
},
{
"name": "python-dotenv",
"specs": []
}
],
"lcname": "contextchain"
}