Create ReactPy App
Copyright © 2024 Minura Punchihewa
This is create-react-app for your ReactPy projects!
Quick Overview
create-reactpy-app my-app
cd my-app
make install
make run
Now, open http://localhost:8000 to see your app.
Creating an App
You'll need to have Python 3.8 or later installed on your machine. You can use python --version to check your current version.
- First, install the package using pip:
pip install create-reactpy-app
Note: You can either install this globally or in a virtual environment.
- Create a new project:
create-reactpy-app my-app
Note: You can specify the backend framework you want to use by passing the
--backendflag. The available options arefastapi,starletteandflask. If you don't specify a backend, FastAPI will be used by default.
- Change directory to your new project:
cd my-app
- Install the dependencies:
make install
Or
pip install -r requirements.txt
Note: If create-reactpy-app was installed in a virtual environment, this does not need to be done on the same environment. You can switch to a different environment and install the dependencies there.
- Start the server:
make run
Or, depending on the backend framework you chose, you can run the following commands:
- FastAPI or Starlette:
uvicorn main:app
- Flask:
gunicorn main:app
Your app will now be running on http://localhost:8000.
License
This code is licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.txt for details.
Metadata
Release files for create-reactpy-app 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| create_reactpy_app-1.0.0.tar.gz | 14.3 kB | Without provenance | Details for create_reactpy_app-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| create_reactpy_app-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for create_reactpy_app-1.0.0-py3-none-any.whl |
Total release size: 29.9 kB
Release files / create_reactpy_app-1.0.0.tar.gz
| Download URL | create_reactpy_app-1.0.0.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
451e335ed5bd5f342304dc663ef86af499fcdcb70c45f30612be81b87cbc9cfe
|
|
BLAKE2b-256 checksum How to use checksums |
4dc5a701ee471af9c4bf1f7270f49a34d3d7c878b496469b2916fbfacb51bfdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/6.5.0-35-generic
|
Release files / create_reactpy_app-1.0.0-py3-none-any.whl
| Download URL | create_reactpy_app-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c8cfccb5738953bc6ff4149f956da947a97767e2ca07c1b53a7ac79ace6dc9e
|
|
BLAKE2b-256 checksum How to use checksums |
29d9d901921b591206276204d6e5ffdd840ee03384a0098b761818134dddc01e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.4 Linux/6.5.0-35-generic
|
Security for create-reactpy-app 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.