[project] name = "amazon-bedrock-workshop" version = "0.1.0" description = "Dependency specification for introductory hands-on workshop on Amazon Bedrock" readme = "README.md" requires-python = ">=3.12" dependencies = [ "anthropic>=0.111.0", "aws-bedrock-token-generator>=1.1", "boto3>=1.43.24", "fsspec[s3]>=2026.4.0", "ipython>=9.14.1", "langchain>=1.3.15", "langchain-aws>=1.6.2", "langchain-openai>=1.5.0", "openai>=2.41.0", "requests>=2.34.2", "universal-pathlib>=0.3.10", ] [dependency-groups] dev = [ # Try to keep ruff version synced with .pre-commit-config.yaml and .github/workflows/lint.yml "ruff>=0.15.16,<0.16", ] [project.optional-dependencies] lab2 = [ "opensearch-py>=3.2.0", "requests-aws4auth>=1.3.2", ] lab3 = [ "bert-score>=0.3.13", "datasets>=5.0.0", "fmeval>=1.2.3", "ipywidgets>=8.1.8", "jsonlines>=4.0.0", "matplotlib>=3.10.9", "numpy>=1.26.4", "pandas>=2.2.3", "pillow>=12.2.0", "py7zr>=1.1.0", "pypdf>=6.13.0", "seaborn>=0.13.2", "tokenizers>=0.22.2", "tqdm>=4.68.1", "urllib3>=2.7.0", ] lab4 = [ "bedrock-agentcore>=1.13.0", "bedrock-agentcore-starter-toolkit>=0.3.9", "opensearch-py>=3.2.0", "retrying>=1.4.2", "strands-agents>=1.42.0", "strands-agents-tools>=0.8.0", ] all = [ "amazon-bedrock-workshop[lab2,lab3,lab4]", ] [build-system] requires = ["setuptools>=75.0"] build-backend = "setuptools.build_meta" [tool.ruff] exclude = [ ".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".ipynb_checkpoints", ".mypy_cache", ".nox", ".pants.d", ".pyenv", ".pytest_cache", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv", ".vscode", "__pypackages__", "_build", "03_Model_customization", # (Currently imported from another sample repo without our linting) "buck-out", "build", "dist", "env", "node_modules", "site-packages", "venv", ] target-version = "py312" [tool.ruff.lint] select = ["E", "F", "I"] ignore = [ "E501", # Line length — not enforced for workshop code ] [tool.setuptools.packages.find] include = ["workshop_utils*"]