Skip to main content

NPF Web extension designed to export results to a single html web app

Project description

Network Performance Framework Web Extension

This repository is an extension to NPF (https://github.com/tbarbette/npf). The architecture has been built based on npf's internal architecture. It should be used along as part of npf's workflow.

It can also be used as a standalone tool. It is recommended to install the python package via pip install npf-web-extension.

For more advanced usage, the app can be built using the commands available below and then opening the template.html file inside a browser. After opening the file, the following command can be run inside the browser to display a configuration.

window.updateConfiguration(configurationData);

the signature of the updateConfiguration method is available inside the App.tsx file.

Available Scripts

npm start

Runs the app in development mode available at address http://localhost:3000

npm run test

Runs the test suite covering all methods used by the app

npm run coverage

Runs the test suite covering all methods used by the app

npm run build

Builds the app for production and optimizes it.

npm run deploy

Builds the app for production, optimizes it then prepares it for deployment.

Releases

  • V0.6.4
    • Complete rewriting of the internal architecture
    • Added download button to download chart as pdf
    • Added infobox when toggling fullscreen
    • Fixed pie charts not resizing properly
    • Fixed graphs not being splitted properly
    • Improved rendering performance. Settings are now saved per configuration.
  • V0.6.3
    • Added settings override. It is now possible to override the default settings when exporting a configurationData.
    • Added POS data to demo sets
    • Updated readme
    • Updated docs
    • Fixed build errors
    • Fixed graph axis scaling error due to wrong behaviour of chartjs
    • Refactoring
  • V0.6.2
    • Added background stripes to charts
    • Added graph axis scaling
  • V0.6.1
    • Fixed app crash when no split parameter available
    • Fixed too many labels being created when too much variance in the data
  • V0.6.0
    • Added boxplot charts
    • Added piechart
    • Added error bars for line and bar plots
    • Added test suite
    • Added more documentation
    • Added D-E-M-O keys interaction handler
    • Added responsive design
    • Added more settings conditionals
    • Added more settings for split parameters
    • Added parameter injection aliases for split parameter format
    • Improved code comments
    • Improved graph type recommendation
    • Redesigned settings modal
    • Settings are now saved locally per configuration
  • V0.5.0
    • Added documentations feature
    • Added advanced settings
    • Added more demo data
    • Added full screen feature
    • Added graph splitting feature
    • Fixed loading system
    • Fixed output path in python interface
  • V0.4.0
    • Switched data insertion system from json to csv
    • Added default demo data
    • Added bar charts and recommendation system
    • Added settings
    • Redesigned app event handler system
    • Redesigned charts rendering
  • V0.3.0
    • Added navigation through configurations
    • Added website loader
    • Improved labels
  • V0.2.3
    • Added automatic build and commit to repo of template to fix it not being included properly.
    • Renamed template.py to template.html
  • V0.2.2
    • Fixed checkout reset when building with github actions
  • V0.2.1
    • Fixed html file not being included properly. Added prebuild script.
  • V0.2
    • Inlining all app source codes into a single html file instead of external scripts
  • V0.1.1
    • PyPi package creation and publishing
  • V0.1
    • Github actions automatic releases

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npf-web-extension-0.6.4.tar.gz (722.6 kB view details)

Uploaded Source

Built Distribution

npf_web_extension-0.6.4-py3-none-any.whl (313.3 kB view details)

Uploaded Python 3

File details

Details for the file npf-web-extension-0.6.4.tar.gz.

File metadata

  • Download URL: npf-web-extension-0.6.4.tar.gz
  • Upload date:
  • Size: 722.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for npf-web-extension-0.6.4.tar.gz
Algorithm Hash digest
SHA256 6044f559289071b45e60cf3b54d786a7aa3c9c31b28fc3fefda9f46c394f3c8f
MD5 201388453e762c40cd896e2b13194c5c
BLAKE2b-256 2988c6da877f3639e91a3afbca21ce7e7d5681de7d9431c79dce14d5e53f19f8

See more details on using hashes here.

File details

Details for the file npf_web_extension-0.6.4-py3-none-any.whl.

File metadata

File hashes

Hashes for npf_web_extension-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 849502f36b3e8130f3e2b9765b2bf10311ca05bd98729e74b388580f75b04610
MD5 40730bd07ea56532b11b4bc53bb12c74
BLAKE2b-256 653c8e1441698c63857ee403ad78ddd597d1cb2c1b2a9c705fe5c5ca643bed08

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page