Skip to content

Commit 800e2fc

Browse files
committed
rename to reactpy
1 parent cfdd83a commit 800e2fc

File tree

264 files changed

+2859
-2363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+2859
-2363
lines changed

.github/ISSUE_TEMPLATE/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Start a Discussion
4-
url: https://github.com/idom-team/idom/discussions
4+
url: https://github.com/reactive-python/reactpy/discussions
55
about: Report issues, request features, ask questions, and share ideas

.github/workflows/.nox-session.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Nox Session
33
on:
44
workflow_call:
55
inputs:
6-
session-name:
6+
nox-args:
77
required: true
88
type: string
9-
session-arguments:
9+
session-args:
1010
required: false
1111
type: string
1212
runs-on-array:
@@ -45,4 +45,4 @@ jobs:
4545
run: pip install -r requirements/nox-deps.txt
4646
- name: Run Tests
4747
env: { "CI": "true" }
48-
run: nox -s ${{ inputs.session-name }} --stop-on-first-error -- ${{ inputs.session-arguments }}
48+
run: nox ${{ inputs.nox-args }} --stop-on-first-error -- ${{ inputs.session-args }}

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
uses: ./.github/workflows/.nox-session.yml
1616
with:
1717
job-name: "python-{0}"
18-
session-name: test_python
19-
session-arguments: --maxfail=3
18+
nox-args: "-t check-python"
19+
session-args: "--pytest --maxfail=3 --reruns 3"
2020
python-environments:
2121
uses: ./.github/workflows/.nox-session.yml
2222
with:
23-
session-name: test_python_suite
24-
session-arguments: --maxfail=3 --no-cov
23+
nox-args: "-s check-python-tests"
24+
session-args: "--no-cov --pytest --maxfail=3 --reruns 3"
2525
runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]'
2626
python-version-array: '["3.7", "3.8", "3.9", "3.10", "3.11"]'
2727
docs:
2828
uses: ./.github/workflows/.nox-session.yml
2929
with:
3030
job-name: "python-{0}"
31-
session-name: test_docs
31+
nox-args: "-s check-docs"
3232
javascript:
3333
uses: ./.github/workflows/.nox-session.yml
3434
with:
3535
job-name: "{1}"
36-
session-name: test_javascript
36+
nox-args: "-t check-javascript"

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# --- Build Artifacts ---
2-
src/idom/_client
2+
src/reactpy/_client
33

44
# --- Jupyter ---
55
*.ipynb_checkpoints

MANIFEST.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
recursive-include src/idom/_client *
2-
recursive-include src/idom/web/templates *
3-
include src/idom/py.typed
1+
recursive-include src/reactpy/_client *
2+
recursive-include src/reactpy/web/templates *
3+
include src/reactpy/py.typed

README.md

+15-16
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
# IDOM · [![Tests](https://github.com/idom-team/idom/workflows/test/badge.svg)](https://github.com/idom-team/idom/actions?query=workflow%3ATest) [![PyPI Version](https://img.shields.io/pypi/v/idom.svg)](https://pypi.python.org/pypi/idom) [![License](https://img.shields.io/badge/License-MIT-purple.svg)](https://github.com/idom-team/idom/blob/main/LICENSE)
1+
# ReactPy · [![Tests](https://github.com/reactive-python/reactpy/workflows/test/badge.svg)](https://github.com/reactive-python/reactpy/actions?query=workflow%3ATest) [![PyPI Version](https://img.shields.io/pypi/v/reactpy.svg)](https://pypi.python.org/pypi/reactpy) [![License](https://img.shields.io/badge/License-MIT-purple.svg)](https://github.com/reactive-python/reactpy/blob/main/LICENSE)
22

3-
IDOM connects your Python web framework of choice to a ReactJS frontend, allowing you to create **interactive websites without needing JavaScript!**
3+
ReactPy connects your Python web framework of choice to a ReactJS frontend, allowing you to create **interactive websites without needing JavaScript!**
44

5-
Following ReactJS styling, web elements are combined into [reusable "components"](https://idom-docs.herokuapp.com/docs/guides/creating-interfaces/your-first-components/index.html#parametrizing-components). These components can utilize [hooks](https://idom-docs.herokuapp.com/docs/reference/hooks-api.html) and [events](https://idom-docs.herokuapp.com/docs/guides/adding-interactivity/responding-to-events/index.html#async-event-handlers) to create infinitely complex web pages.
5+
Following ReactJS styling, web elements are combined into [reusable "components"](https://reactpy-docs.herokuapp.com/docs/guides/creating-interfaces/your-first-components/index.html#parametrizing-components). These components can utilize [hooks](https://reactpy-docs.herokuapp.com/docs/reference/hooks-api.html) and [events](https://reactpy-docs.herokuapp.com/docs/guides/adding-interactivity/responding-to-events/index.html#async-event-handlers) to create infinitely complex web pages.
66

7-
When needed, IDOM can [use components directly from NPM](https://idom-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#dynamically-loaded-components). For additional flexibility, components can also be [fully developed in JavaScript](https://idom-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#custom-javascript-components).
7+
When needed, ReactPy can [use components directly from NPM](https://reactpy-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#dynamically-loaded-components). For additional flexibility, components can also be [fully developed in JavaScript](https://reactpy-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#custom-javascript-components).
88

9-
Any Python web framework with Websockets can support IDOM. See below for what frameworks are supported out of the box.
10-
11-
| Supported Frameworks | Supported Frameworks (External) |
12-
| --- | --- |
13-
| [`Flask`, `FastAPI`, `Sanic`, `Tornado`](https://idom-docs.herokuapp.com/docs/guides/getting-started/installing-idom.html#officially-supported-servers) | [`Django`](https://github.com/idom-team/django-idom), [`Plotly-Dash`](https://github.com/idom-team/idom-dash), [`Jupyter`](https://github.com/idom-team/idom-jupyter) |
9+
Any Python web framework with Websockets can support ReactPy. See below for what frameworks are supported out of the box.
1410

11+
| Supported Frameworks | Supported Frameworks (External) |
12+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
13+
| [`Flask`, `FastAPI`, `Sanic`, `Tornado`](https://reactpy-docs.herokuapp.com/docs/guides/getting-started/installing-reactpy.html#officially-supported-servers) | [`Django`](https://github.com/reactive-python/django-reactpy), [`Plotly-Dash`](https://github.com/reactive-python/reactpy-dash), [`Jupyter`](https://github.com/reactive-python/reactpy-jupyter) |
1514

1615
# At a Glance
1716

18-
To get a rough idea of how to write apps in IDOM, take a look at this tiny _Hello World_ application.
17+
To get a rough idea of how to write apps in ReactPy, take a look at this tiny _Hello World_ application.
1918

2019
```python
21-
from idom import component, html, run
20+
from reactpy import component, html, run
2221

2322
@component
2423
def HelloWorld():
@@ -31,8 +30,8 @@ run(HelloWorld)
3130

3231
Follow the links below to find out more about this project.
3332

34-
- [Try it Now](https://mybinder.org/v2/gh/idom-team/idom-jupyter/main?urlpath=lab/tree/notebooks/introduction.ipynb) - check out IDOM in a Jupyter Notebook.
35-
- [Documentation](https://idom-docs.herokuapp.com/) - learn how to install, run, and use IDOM.
36-
- [Community Forum](https://github.com/idom-team/idom/discussions) - ask questions, share ideas, and show off projects.
37-
- [Contributor Guide](https://idom-docs.herokuapp.com/docs/developing-idom/contributor-guide.html) - see how you can help develop this project.
38-
- [Code of Conduct](https://github.com/idom-team/idom/blob/main/CODE_OF_CONDUCT.md) - standards for interacting with this community.
33+
- [Try it Now](https://mybinder.org/v2/gh/reactive-python/reactpy-jupyter/main?urlpath=lab/tree/notebooks/introduction.ipynb) - check out ReactPy in a Jupyter Notebook.
34+
- [Documentation](https://reactpy-docs.herokuapp.com/) - learn how to install, run, and use ReactPy.
35+
- [Community Forum](https://github.com/reactive-python/reactpy/discussions) - ask questions, share ideas, and show off projects.
36+
- [Contributor Guide](https://reactpy-docs.herokuapp.com/docs/developing-reactpy/contributor-guide.html) - see how you can help develop this project.
37+
- [Code of Conduct](https://github.com/reactive-python/reactpy/blob/main/CODE_OF_CONDUCT.md) - standards for interacting with this community.
-4.19 KB
Binary file not shown.
-4.19 KB
Binary file not shown.
-136 Bytes
Binary file not shown.
-9.87 KB
Binary file not shown.

branding/png/idom-logo-black.png

-12.5 KB
Binary file not shown.
-140 Bytes
Binary file not shown.
-9.82 KB
Binary file not shown.

branding/png/idom-logo-white.png

-12.4 KB
Binary file not shown.

branding/reactpy-logo-padded.png

29.4 KB
Loading

0 commit comments

Comments
 (0)