Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to PyPI

on:
push:
branches:
- master

permissions:
contents: read

jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up uv
uses: astral-sh/setup-uv@v7

- name: Set up Python
run: uv python install 3.12

- name: Build all packages
run: uv build --all-packages

- name: Publish to PyPI
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: uv publish
4 changes: 2 additions & 2 deletions packages/tiny_anthropic/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-anthropic"
version = "0.1.0"
name = "tinygent-anthropic"
version = "0.1.1"
dependencies = [
"anthropic>=0.75.0",
"tinygent",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_brave/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-brave"
version = "0.1.0"
name = "tinygent-brave"
version = "0.1.1"
dependencies = [
"httpx>=0.28.1",
"pydantic>=2.11.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_chat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-chat"
version = "0.1.0"
name = "tinygent-chat"
version = "0.1.1"
dependencies = [
"fastapi>=0.120.2",
"hatchling>=1.28.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_gemini/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-gemini"
version = "0.1.0"
name = "tinygent-gemini"
version = "0.1.1"
dependencies = [
"google-genai>=1.49.0",
"tinygent",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_graph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-graph"
version = "0.1.0"
name = "tinygent-graph"
version = "0.1.1"
dependencies = [
"neo4j>=6.0.3",
"tinygent",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_mistralai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-mistralai"
version = "0.1.0"
name = "tinygent-mistralai"
version = "0.1.1"
dependencies = [
"mistral-common>=1.8.5",
"mistralai>=1.9.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-openai"
version = "0.1.0"
name = "tinygent-openai"
version = "0.1.1"
dependencies = [
"langchain-core>=0.3.74",
"openai>=1.101.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/tiny_voyageai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "tiny-voyageai"
version = "0.1.0"
name = "tinygent-voyageai"
version = "0.1.1"
dependencies = [
"tinygent",
"voyageai>=0.3.7",
Expand Down
56 changes: 36 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
[project]
name = "tinygent"
version = "0.1.0"
version = "0.1.1"
description = "Tiny agentic framework for building AI agents which can do more than tiny just tasks."
authors = [{ name = "Filip Chytil" }]

license = "MIT"
readme = "README.md"
requires-python = "==3.12.*"

keywords = ["ai", "agents", "llm", "openai", "anthropic", "agentic", "framework"]

classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]

dependencies = [
"async-lru>=2.0.5",
"jinja2>=3.1.6",
Expand All @@ -19,9 +30,10 @@ dependencies = [
"typer>=0.19.2",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.urls]
Homepage = "https://github.com/filchy/tinygent"
Repository = "https://github.com/filchy/tinygent"
Issues = "https://github.com/filchy/tinygent/issues"

[project.optional-dependencies]
dev = [
Expand All @@ -33,14 +45,14 @@ docs = [
"mkdocs-material>=9.7.1",
"mkdocstrings[python]>=1.0.2",
]
brave = ["tiny-brave"]
anthropic = ["tiny-anthropic"]
openai = ["tiny-openai"]
mistralai = ["tiny-mistralai"]
gemini = ["tiny-gemini"]
chat = ["tiny-chat"]
graph = ["tiny-graph"]
voyageai = ["tiny-voyageai"]
brave = ["tinygent-brave"]
anthropic = ["tinygent-anthropic"]
openai = ["tinygent-openai"]
mistralai = ["tinygent-mistralai"]
gemini = ["tinygent-gemini"]
chat = ["tinygent-chat"]
graph = ["tinygent-graph"]
voyageai = ["tinygent-voyageai"]

[project.scripts]
tiny = "tinygent.cli.main:run_cli"
Expand All @@ -55,21 +67,25 @@ tiny_tools = "tinygent.tools.register"
tiny_memory = "tinygent.memory.register"
tiny_crossencoders = "tinygent.cross_encoders.register"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
package = true

[tool.uv.workspace]
members = ["packages/*", "."]

[tool.uv.sources]
tiny-brave = { workspace = true }
tiny-anthropic = { workspace = true }
tiny-openai = { workspace = true }
tiny-mistralai = { workspace = true }
tiny-gemini = { workspace = true }
tiny-chat = { workspace = true }
tiny-graph = { workspace = true }
tiny-voyageai = { workspace = true }
tinygent-brave = { workspace = true }
tinygent-anthropic = { workspace = true }
tinygent-openai = { workspace = true }
tinygent-mistralai = { workspace = true }
tinygent-gemini = { workspace = true }
tinygent-chat = { workspace = true }
tinygent-graph = { workspace = true }
tinygent-voyageai = { workspace = true }

[tool.hatch.build.targets.wheel]
packages = ["tinygent"]