1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
# -*- coding: utf-8 -*-
Source: units-filter
Section: science
Priority: optional
Maintainer: Georges Khaznadar <georgesk@debian.org>
Build-Depends: debhelper-compat (=13),
flex, bison,
libgmp-dev, libfl-dev, librecode-dev,
dh-python, python3,
pyqt5-dev-tools,
qttools5-dev-tools,
qt5-qmake,
python3-docutils
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/georgesk/units-filter
Vcs-Git: https://salsa.debian.org/georgesk/units-filter.git
Package: units-filter
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
libjs-jquery, libjs-underscore
Recommends: python3-sphinx
Suggests: wims
Description: Parser for expressions concerning physical values
Units-filter is a basic standalone filter written in C language,
flex and bison. It inputs strings like "1.5e3 nN.m.s^-1" (it could
be the time growth ratio of a torque) and outputs the value in
standard SI unit, followed by the physical dimension of this value.
.
example :~/src$ echo 1.5e3 nN.m.s^-1 | units-filter
1.5e-06 2 1 -3 0 0 0 0 0 0
.
2 -3
which means : 1.5e-06 (SI unit) m .kg.s
.
This parser can be embedded in educational test systems, in order to
analyze a student's answer to a problem of physics or chemistry.
Package: units-master
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
python3,
python3-pyqt5,
units-filter,
texlive-latex-base,
pdf2svg,
librsvg2-bin
Suggests: wims
Description: Powerful units converter with a GUI
Units-master is a graphic application with three features:
- check the syntax of a physical quantity, like "25 m/s", or "1.2 µA"
- perform conversions, like "1.2 µA" to "1.2e-3 mA"
- render physical quantities to plain LaTeX, PNG, SVG.
|