autogen/python
Jack Gerrits 2596648fc9 move studio to a package 2024-09-30 10:20:38 -04:00
..
benchmarks Moved the benchmarks to another repo. (#349) 2024-08-08 11:43:55 -07:00
packages move studio to a package 2024-09-30 10:20:38 -04:00
templates/new-package fix config for pyright for most (#561) 2024-09-18 20:23:53 +00:00
.gitignore Add proto files (#378) 2024-08-19 20:32:34 +00:00
README.md Update README.md (#432) 2024-08-29 17:58:00 -04:00
pyproject.toml Check for prints (#616) 2024-09-23 20:10:57 +00:00
run_task_in_pkgs_if_exist.py Migrate to uv and poe for workspace management and task running (#424) 2024-08-29 09:46:06 -04:00
shared_tasks.toml Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
uv.lock Removes easyocr from mdconvert (#653) 2024-09-26 18:22:44 -04:00

README.md

AutoGen Python packages

See autogen-core package for main functionality.

Development

TL;DR, run all checks with:

uv sync
source .venv/bin/activate
poe check

Setup

Virtual environment

To get a shell with the package available (virtual environment), in the current directory, run:

uv sync
source .venv/bin/activate

Common tasks

  • Format: poe format
  • Lint: poe lint
  • Test: poe test
  • Mypy: poe mypy
  • Pyright: poe pyright
  • Build docs: poe --directory ./packages/autogen-core/ docs-build
  • Auto rebuild+serve docs: poe --directory ./packages/autogen-core/ docs-serve

[!NOTE] These need to be run in the virtual environment.

Create new package

To create a new package, run:

uv sync
source .venv/bin/activate
cookiecutter ./templates/new-package/