Skip to content

Commit 3dfb8f1

Browse files
authored
rename idom to reactpy (#892)
* rename to reactpy * improve description * delete accidental files * improve description
1 parent 51d82df commit 3dfb8f1

File tree

264 files changed

+2882
-2440
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

+2882
-2440
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

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ repos:
99
- id: isort
1010
name: isort
1111
- repo: https://github.com/pre-commit/mirrors-prettier
12-
rev: v2.7.1
12+
rev: v3.0.0-alpha.4
1313
hooks:
1414
- id: prettier

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

+37-21
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,40 @@
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)
2-
3-
IDOM connects your Python web framework of choice to a ReactJS frontend, allowing you to create **interactive websites without needing JavaScript!**
4-
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.
6-
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).
8-
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) |
14-
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)
2+
3+
ReactPy is a library for building user interfaces in Python without Javascript. ReactPy
4+
interfaces are made from components which look and behave similarly to this found in
5+
[ReactJS](https://reactjs.org/). Designed with simplicity in mind, ReactPy can be used
6+
by those without web development experience while also being powerful enough to grow
7+
with your ambitions.
8+
9+
<table>
10+
<thead>
11+
<tr>
12+
<th>Supported Servers</th>
13+
<th>Supported Integrations</th>
14+
</tr>
15+
</thead>
16+
<tbody>
17+
<tr>
18+
<td>
19+
<a href="https://reactpy-docs.herokuapp.com/docs/guides/getting-started/installing-reactpy.html#officially-supported-servers">
20+
Flask, FastAPI, Sanic, Tornado
21+
</a>
22+
</td>
23+
<td>
24+
<a href="https://github.com/reactive-python/reactpy-django">Django</a>,
25+
<a href="https://github.com/reactive-python/reactpy-jupyter">Jupyter</a>,
26+
<a href="https://github.com/reactive-python/reactpy-dash">Plotly-Dash</a>
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table>
1531

1632
# At a Glance
1733

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

2036
```python
21-
from idom import component, html, run
37+
from reactpy import component, html, run
2238

2339
@component
2440
def HelloWorld():
@@ -31,8 +47,8 @@ run(HelloWorld)
3147

3248
Follow the links below to find out more about this project.
3349

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.
50+
- [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.
51+
- [Documentation](https://reactpy-docs.herokuapp.com/) - learn how to install, run, and use ReactPy.
52+
- [Community Forum](https://github.com/reactive-python/reactpy/discussions) - ask questions, share ideas, and show off projects.
53+
- [Contributor Guide](https://reactpy-docs.herokuapp.com/docs/developing-reactpy/contributor-guide.html) - see how you can help develop this project.
54+
- [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)