Manipulation of algebraic numbers
Project description
A library to manipulate algebraic numbers
Documentation
Pour générer la documentation du code, lancer:
python setup.py doc
Tests
Pour lancer les tests, choisissez une des options ci-dessous:
* tox -e py * python -m pytest --cov-report xml:test-results/coverage.xml --cov-config=coverage.cfg --cov AlgebraicNumber tests --junitxml=test-results/junit.xml --doctest-modules AlgebraicNumber
Si tout va bien, vous devriez avoir la sortie suivante:
============================= test session starts ============================== platform linux -- Python 3.5.2, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py35/.pytest_cache rootdir: /builds/ydethe/algebraicnumber, configfile: setup.cfg plugins: cov-2.10.0 collected 31 items tests/test_ops.py ........... [ 35%] AlgebraicNumber/AlgebraicNumber.py ...... [ 54%] AlgebraicNumber/inria_utils.py .... [ 67%] AlgebraicNumber/utils.py .......... [100%] -- generated xml file: /builds/ydethe/algebraicnumber/test-results/junit.xml --- ----------- coverage: platform linux, python 3.5.2-final-0 ----------- Name Stmts Miss Cover -------------------------------------------------------- AlgebraicNumber/AlgebraicNumber.py 97 6 94% AlgebraicNumber/__init__.py 13 0 100% AlgebraicNumber/inria_utils.py 91 3 97% AlgebraicNumber/utils.py 176 10 94% -------------------------------------------------------- TOTAL 377 19 95% ============================== 31 passed in 0.87s ==============================
Rapport de couverture des tests
Une fois les tests lancés, le rapport de couverture des tests est disponible ici:
Installation
Pour installer la librairie et les outils associés, lancer:
python setup.py install --user
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
AlgebraicNumber-2.0.0.tar.gz
(21.4 kB
view hashes)
Built Distribution
Close
Hashes for AlgebraicNumber-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c850c6f8fccf02c7b17d14cba5c27e35f7b3f66f42f2c7d1dc01bdef8140a40 |
|
MD5 | f428e8bc4ac8d45266c65371406955d5 |
|
BLAKE2b-256 | 38b4c8a9fe7c20da06eb57adc3304cd51bea6d980b8f1e8598298ab2be120f35 |