A URL router for ReactPy
Project description
reactpy-router
A URL router for ReactPy
Installation
Use pip to install this package:
pip install reactpy-router
For a developer installation from source be sure to install NPM before running:
git clone https://github.com/reactive-python/reactpy-router
cd reactpy-router
pip install -e . -r requirements.txt
Running the Tests
To run the tests you'll need to install Chrome. Then you
can download the ChromeDriver and add it to
your PATH. Once that's done, simply pip install the requirements:
pip install -r requirements.txt
And run the tests with pytest:
pytest tests
You can run the tests in headless mode (i.e. without opening the browser):
pytest tests
You'll need to run in headless mode to execute the suite in continuous integration systems like GitHub Actions.
Releasing This Package
To release a new version of reactpy-router on PyPI:
- Install
twinewithpip install twine - Update the
version = "x.y.z"variable inreactpy-router/__init__.py gitadd the changes to__init__.pyand create agit tag -a x.y.z -m 'comment'- Build the Python package with
python setup.py sdist bdist_wheel - Check the build artifacts
twine check --strict dist/* - Upload the build artifacts to PyPI
twine upload dist/*
To release a new version of reactpy-router on NPM:
- Update
js/package.jsonwith new npm package version - Clean out prior builds
git clean -fdx - Install and publish
npm install && npm publish
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reactpy_router-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: reactpy_router-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 52.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9056036a597f072371a8861c88ef192ab629f4e685d1617debdaca60f1133447
|
|
| MD5 |
1244d01a6e1381a5b5983d2da6457e41
|
|
| BLAKE2b-256 |
d20f207ab91dda8cffb63cca29c293fb3213096969a0428200e561311f7960a3
|