Core repository for datavisyn applications.
Project description
visyn_core
Features
- Telemetry: OpenTelemetry integration for the three pillar of observability: metrics, logs, and traces
Installation
git clone -b develop https://github.com/datavisyn/visyn_core.git # or any other branch you want to develop in
cd visyn_core
# Frontend
yarn install
# Backend
python3 -m venv .venv # create a new virtual environment
source .venv/bin/activate # active it
make develop # install all dependencies
Local development
# Frontend
yarn start
# Backend
python visyn_core
Testing
# Frontend
yarn run test
# Backend
make test
Playwright and Chromatic
To run all tests and create snapshots, execute Playwright first. With this command all snapshots are already taken and captured in an archive. Make sure to commit all your changes before taking any snapshots. Before executing this command, make sure backend and frontend are running smoothly.
yarn pw:run
To upload these snapshots to Chromatic’s cloud and review them, execute:
yarn chromatic --playwright -t=<TOKEN>
Chromatic creates for every test a story in storybook, although these are not responsive. When clicking on the link in the terminal, all changes can be reviewed and storybook can be opened.
Playwright documentation: https://playwright.dev/docs/intro
Chromatic with Playwright: https://www.chromatic.com/docs/playwright/
Building
yarn run build
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 Distributions
Built Distribution
File details
Details for the file visyn_core-14.0.1-py3-none-any.whl
.
File metadata
- Download URL: visyn_core-14.0.1-py3-none-any.whl
- Upload date:
- Size: 165.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc22fa59fd8a4b20ed2e3192a563cfd276c5df6b0d26a0ee0ca0e9806c506afc |
|
MD5 | af78c057a26cdf1a7d287dc334fdce57 |
|
BLAKE2b-256 | 55daa9a1d428d55ae4f11adc8ccb80c66bd52b2649cac978c09d80969bdd0289 |