diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9806458b..bcc17aca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: "actions/checkout@v2" - name: "Set up Python ${{ matrix.python-version }}" @@ -35,7 +35,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: "actions/checkout@v2" - name: "Set up Python ${{ matrix.python-version }}" @@ -51,7 +51,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: "actions/checkout@v2" - name: "Set up Python ${{ matrix.python-version }}" @@ -97,7 +97,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: "actions/checkout@v2" - name: "Set up Python ${{ matrix.python-version }}" @@ -113,7 +113,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: "actions/checkout@v2" - name: "Set up Python ${{ matrix.python-version }}" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 593d97d4..08316ea3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ make install ## Start example servers ```sh -# Fast API +# FastAPI (cd examples/fast_api && make dev) # Flask diff --git a/README.md b/README.md index 34486a95..a05b3d5b 100644 --- a/README.md +++ b/README.md @@ -34,16 +34,28 @@ Our Python SDK is nearing feature parity with our [TypeScript SDK](https://githu We currently support the following frameworks (but adding a new framework is easy!): -- Fast API +- FastAPI - Flask - Tornado -## Installation +## Getting started -``` +Install `inngest` in your project: + +```sh pip install inngest ``` +Write a basic function and serve it (see the [basic](#basic-no-steps) example for guidance). + +Start the Dev Server (the local version of our cloud platform): + +```sh +npx inngest-cli@latest dev +``` + +Browse to http://127.0.0.1:8288 and you should see your app! Visit our docs to read more about the https://www.inngest.com/docs/local-development. + ## Examples > 💡 You can mix `async` and non-`async` functions in the same app! diff --git a/pyproject.toml b/pyproject.toml index 10d26f2b..32c03ac9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,11 +4,13 @@ version = "0.1.2" description = "Python SDK for Inngest" readme = "README.md" classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", + "Framework :: FastAPI", "Framework :: Flask", "Intended Audience :: Developers", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] requires-python = ">=3.10"