Dataviewer for project files
Project description
# Dataviewer
This dataviewer will turn a folder of project files (images and csv files) into an interactive dataviewer with live-reload functionality. A tree structure of the data folder is renewed every 5 seconds, and each image and table is reloaded every 5 seconds as well.
This means you can launch the tool, run your processing scripts and watch your images appear and change over time.
## installation
To install the dataviewer from the Pypi registry, run the following command:
` pip install dataviewer `
## Folder setup
Create a folder structure in which you will dump project files. This will mostly match the way you are already working with project outputs. The folder structure should look like this:
` Project | - scenario1 | | - Location 1 | | | - Img1.png | | | - Img2.jpg | | | - table1.csv | | | - table2.csv | | - Location 2 | | | - Img1.png | | | - Img2.jpg | | | - table1.csv | | | - table2.csv | - scenario2 | | ... `
## Usage
Open a terminal window and navigate to the project folder as described above, and launch the dataviewer by running viewer.
` cd c:\Users\xxx\Project viewer `
The tool will by default run on following URL: [http://localhost:80/](http://localhost:80).
Port and Host can be changed by adding options to the viewer command. e.g.:
` viewer --host 127.0.0.1 --port 83 `
## Development
Modifying the layout of the web application can be done in the Vue project. Fork the project, navigate into the dataviewer directory and run yarn install.
For development, run yarn serve. For production builds, run yarn build.
Install the python module by running pip install . –upgrade.
## Deploy - Build dataviewer: yarn build - Bump version in setup.py. - Create python build: ` activate py3 python setup.py sdist bdist_wheel python -m twine upload dist/Dataviewer-version* `
## Changelog - Install changelog-manager: npm i -g changelog-manager - Add changelog entry: changelog-manager add - Create release: release.bat
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Dataviewer-0.4.8.tar.gz
.
File metadata
- Download URL: Dataviewer-0.4.8.tar.gz
- Upload date:
- Size: 134.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c86f56997306c109aa413a6be241e6672fa1d2d82d64ef14f1488a095b44ad |
|
MD5 | 746e7b3a79eb8f5f6503e30f9f7eef54 |
|
BLAKE2b-256 | 732e7810b6244c5660f9a5be7a0a5244dc04f3bd85cf62ed0ba643450107a7a5 |
File details
Details for the file Dataviewer-0.4.8-py3-none-any.whl
.
File metadata
- Download URL: Dataviewer-0.4.8-py3-none-any.whl
- Upload date:
- Size: 233.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ac09344cb8ffc539330e0e3c129ff2af2dba8c96bc72b476fe4dbde56b2375 |
|
MD5 | 782bf6e0dd30fb06d4fbf3b3f522c75c |
|
BLAKE2b-256 | c0ca235d7bc90ca2c11b032e33f512da0edf6861ebc21505221820d8d64c644e |