idom-router
A URL router for IDOM
Installation
Use pip to install this package:
pip install idom-router
For a developer installation from source be sure to install NPM before running:
git clone https://github.com/idom-team/idom-router
cd idom-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 idom-router on PyPI:
- Install
twinewithpip install twine - Update the
version = "x.y.z"variable inidom-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 idom-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
Metadata
Release files for idom-router 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idom_router-0.0.1.tar.gz | 48.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idom_router-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 98.8 kB
Release files / idom_router-0.0.1.tar.gz
| Download URL | idom_router-0.0.1.tar.gz |
|---|---|
| Size | 48.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
726ef6844180f5b7a848cd98d154d729c4dc07223e81b38f2aa8c87a4dfbc948
|
|
BLAKE2b-256 checksum How to use checksums |
bc173d1276bf0dc8f3d1195ef2f813fb2eec4c40bab9e7339b6975811c1353bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
|
Release files / idom_router-0.0.1-py2.py3-none-any.whl
| Download URL | idom_router-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 49.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0eabfd44804d967b02ef12180727ddeab388f46f9727f063d298010af369044d
|
|
BLAKE2b-256 checksum How to use checksums |
b83155e429742027f3c5f5e68d64fd3f1585c3ef2a45387c92f2e8f51e6acded
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
|