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.0-py3-none-any.whl
.
File metadata
- Download URL: visyn_core-14.0.0-py3-none-any.whl
- Upload date:
- Size: 198.4 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 | 0133bb77fe630a652d96034c59c0ab60f2a565eddbcdeedb38851701ce223336 |
|
MD5 | 15eb525d0363242745ea4cb2e1e4448f |
|
BLAKE2b-256 | ace30900ff01876fc321499dabbdbad7c54dfd4edde4f05c2c5b42af3e306a73 |